「MediaWiki:Common.css」の版間の差分
add owarai-fa-icon styling for emoji-to-svg replacements |
fix portal-icon SVG sizing (1.7em*1.7em で詰まる問題) |
||
| 951行目: | 951行目: | ||
.mw-parser-output h2:has(.owarai-fa-icon)::before { | .mw-parser-output h2:has(.owarai-fa-icon)::before { | ||
display: none; | display: none; | ||
} | |||
/* fix: portal-icon の SVG が親の font-size 1.7em と乗算され大きすぎ&余白潰しになる */ | |||
.owarai-portal-icon .owarai-fa-icon { | |||
width: 1em !important; | |||
height: 1em !important; | |||
display: block; | |||
vertical-align: top; | |||
margin-bottom: 0.05em; | |||
} | } | ||