「MediaWiki:Common.css」の版間の差分

tag pill: vertical padding/row gap を広げる
add owarai-fa-icon styling for emoji-to-svg replacements
921行目: 921行目:
font-size: 0.92em;
font-size: 0.92em;
line-height: 1.4;
line-height: 1.4;
}
/* FA SVG icon (emoji 置換) — img データURI として埋め込んだ SVG のサイズ調整 */
.owarai-fa-icon {
display: inline-block;
vertical-align: -0.125em;
width: 1em;
height: 1em;
}
/* portal カードのアイコン枠 (旧 emoji 1.7em) と同サイズに */
.owarai-portal-icon .owarai-fa-icon {
width: 1.7em;
height: 1.7em;
vertical-align: middle;
}
/* セクション見出し h2 の左に並ぶ icon は WP ドットと両立しない */
/* — wikitext 側で h2 の先頭に icon を置いている。WP ドットを抑える */
.owarai-mp-section > h2 .owarai-fa-icon {
width: 0.85em;
height: 0.85em;
margin-right: 0.1em;
}
.owarai-mp-section > h2:has(.owarai-fa-icon)::before {
display: none;
}
.owarai-mp-section > h2:has(img.owarai-fa-icon)::before {
display: none;
}
.mw-parser-output h2:has(.owarai-fa-icon)::before {
display: none;
}
}