MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 2,220: | Line 2,220: | ||
.wizlords-mobile-spell-category-description { | .wizlords-mobile-spell-category-description { | ||
margin: 0 | margin: 0; | ||
color: var(--wiz-text, #d2d2d2); | color: var(--wiz-text, #d2d2d2); | ||
font-size: 14px; | font-size: 14px; | ||
| Line 2,381: | Line 2,381: | ||
background: #1f1e1e; | background: #1f1e1e; | ||
color: var(--wiz-text, #d2d2d2); | color: var(--wiz-text, #d2d2d2); | ||
cursor: pointer; | |||
} | |||
.wizlords-mobile-servant-rules-card:focus { | |||
outline: 2px solid var(--wiz-content-border, #ff942d); | |||
outline-offset: 2px; | |||
} | } | ||
.wizlords-mobile-servant-rules-title { | .wizlords-mobile-servant-rules-title { | ||
position: relative; | |||
margin: 0 0 10px; | margin: 0 0 10px; | ||
padding | padding: 0 18px 6px; | ||
border-bottom: 1px solid var(--wiz-mobile-spellbook-accent, #d66be3); | border-bottom: 1px solid var(--wiz-mobile-spellbook-accent, #d66be3); | ||
color: var(--wiz-heading, #e7e1d4); | color: var(--wiz-heading, #e7e1d4); | ||
| Line 2,393: | Line 2,400: | ||
line-height: 1.25; | line-height: 1.25; | ||
text-align: center; | text-align: center; | ||
} | |||
.wizlords-mobile-servant-rules-title::before { | |||
content: ""; | |||
position: absolute; | |||
top: 50%; | |||
left: 2px; | |||
width: 7px; | |||
height: 7px; | |||
border-right: 2px solid var(--wiz-heading, #e7e1d4); | |||
border-bottom: 2px solid var(--wiz-heading, #e7e1d4); | |||
transform: translateY(-65%) rotate(45deg); | |||
transform-origin: 50% 50%; | |||
} | |||
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title::before { | |||
transform: translateY(-35%) rotate(225deg); | |||
} | |||
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title { | |||
margin-bottom: 10px; | |||
} | |||
.wizlords-mobile-servant-rules-content { | |||
display: none; | |||
} | |||
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-content { | |||
display: block; | |||
} | } | ||