MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
width: auto !important; /* override any 100% width */ | width: auto !important; /* override any 100% width */ | ||
margin: 0 0 1em 1em; /* match your infobox spacing */ | margin: 0 0 1em 1em; /* match your infobox spacing */ | ||
} | |||
.px-section { margin: 1.25em 0; } | |||
.px-section-heading { | |||
margin: 0; | |||
padding-bottom: .25em; | |||
border-bottom: 1px solid #a2a9b1; /* same grey as Wikipedia */ | |||
font-weight: bold; | |||
cursor: pointer; /* makes it obvious you can tap */ | |||
} | } | ||
Revision as of 20:10, 24 May 2025
.hidden-small{
font-size:85%;
font-weight:400;
margin-top:2px; /* small gap under ability name */
}
.pixelated {
image-rendering: crisp-edges; /* Firefox, older browsers */
image-rendering: pixelated; /* Chrome, modern browsers */
}
.tabs-container{
width: fit-content;
}
.tabs{
width: fit-content;
}
/* ─── Pokémon infobox tabs float ───────────────────────── */
.tabs-pkmn {
float: right;
clear: both;
display: inline-block !important; /* shrink-wrap to content */
width: auto !important; /* override any 100% width */
margin: 0 0 1em 1em; /* match your infobox spacing */
}
.px-section { margin: 1.25em 0; }
.px-section-heading {
margin: 0;
padding-bottom: .25em;
border-bottom: 1px solid #a2a9b1; /* same grey as Wikipedia */
font-weight: bold;
cursor: pointer; /* makes it obvious you can tap */
}