MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 2,391: | Line 2,391: | ||
.wizlords-mobile-servant-rules-title { | .wizlords-mobile-servant-rules-title { | ||
position: relative; | position: relative; | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 8px; | |||
margin: 0 0 10px; | margin: 0 0 10px; | ||
padding: 0 18px 6px; | padding: 0 18px 6px; | ||
| Line 2,399: | Line 2,403: | ||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.25; | line-height: 1.25; | ||
text-align: | text-align: center; | ||
} | } | ||
.wizlords-mobile-servant-rules-title::before { | .wizlords-mobile-servant-rules-title::before { | ||
content: ""; | content: ""; | ||
flex: 0 0 auto; | |||
width: 7px; | width: 7px; | ||
height: 7px; | height: 7px; | ||
border-right: 2px solid var(--wiz-heading, #e7e1d4); | border-right: 2px solid var(--wiz-heading, #e7e1d4); | ||
border-bottom: 2px solid var(--wiz-heading, #e7e1d4); | border-bottom: 2px solid var(--wiz-heading, #e7e1d4); | ||
transform: translateY(- | transform: translateY(-2px) rotate(45deg); | ||
transform-origin: 50% 50%; | transform-origin: 50% 50%; | ||
} | } | ||
.wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title::before { | .wizlords-mobile-servant-rules-card.is-open .wizlords-mobile-servant-rules-title::before { | ||
transform: translateY( | transform: translateY(2px) rotate(225deg); | ||
} | } | ||