「MediaWiki:Common.css」の版間の差分
fully disable card hover (transform + shadow + transition) |
.owarai-cta-buttons の <p> も flex 化し Pill 間に gap を確保 |
||
| (同じ利用者による、間の1版が非表示) | |||
| 446行目: | 446行目: | ||
margin-top: 0.9em; | margin-top: 0.9em; | ||
} | } | ||
/* MW では <p> でリンクが包まれて出力されるため、その中でも横並び gap を効かせる */ | |||
.owarai-cta-buttons p { | |||
display: flex; flex-wrap: wrap; gap: 0.6em; justify-content: center; | |||
margin: 0; width: 100%; | |||
} | |||
.owarai-cta-buttons p > span { display: inline-flex; } | |||
.owarai-cta-buttons a { | .owarai-cta-buttons a { | ||
display: inline-block; padding: 0.55em 1.4em; | display: inline-block; padding: 0.55em 1.4em; | ||
| 1,002行目: | 1,008行目: | ||
transform: none !important; | transform: none !important; | ||
box-shadow: 0 1px 4px rgba(20,16,0,0.05) !important; | box-shadow: 0 1px 4px rgba(20,16,0,0.05) !important; | ||
} | |||
/* Minerva (モバイル) では h2 のブランドドット ::before を出さない */ | |||
.skin-minerva .mw-parser-output h2::before, | |||
.skin-minerva .owarai-mp-section > h2::before { | |||
display: none !important; | |||
} | } | ||