Template:Tag/styles.css: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 21: | Line 21: | ||
.tag-pill-linked:hover { | .tag-pill-linked:hover { | ||
box-shadow: var( --box-shadow-card ); | box-shadow: var( --box-shadow-card ); | ||
opacity: 1; | |||
} | |||
.tag-secondary .tag-pill { | |||
opacity: 0.8; | |||
} | } | ||
| Line 26: | Line 31: | ||
box-shadow: none; | box-shadow: none; | ||
background-color: var( --color-surface-2 ); | background-color: var( --color-surface-2 ); | ||
opacity: 1; | |||
} | } | ||
Revision as of 23:53, 5 January 2025
.tag-container {
border-radius: var( --border-radius--small );
/*margin-left: 0.125em;*/
/*margin-right: 0.125em;*/
transition: 100ms;
}
.tag-container + .tag-container {
margin-left: 0.25em;
}
.tag-container * {
user-select: none;
text-decoration: none;
}
.tag-pill-linked {
transition: 100ms;
}
.tag-pill-linked:hover {
box-shadow: var( --box-shadow-card );
opacity: 1;
}
.tag-secondary .tag-pill {
opacity: 0.8;
}
.tag-pill-linked:active {
box-shadow: none;
background-color: var( --color-surface-2 );
opacity: 1;
}
.tag-container-linked:active {
background-color: var( --color-surface-1 );
color: var( --color-emphasized );
}
.tag-pill {
background-color: var( --color-surface-1 );
border: 1px solid var( --border-color-base );
border-radius: var( --border-radius--small );
padding-left: 0.25em;
padding-right: 0.25em;
}
.ability-sub-container .tag-pill {
background-color: var( --color-surface-2 )
}
.ability-sub-container .ability-sub-container .tag-pill {
background-color: var( --color-surface-3 )
}
.ability-sub-container .ability-sub-container .ability-sub-container .tag-pill {
background-color: var( --color-surface-4 )
}
.tag-symbol {
padding-right: 0.25em;
margin-right: 0.25em;
border-right: 1px solid var( --border-color-base );
border-radius: 0;
}