MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 13: | Line 13: | ||
.infobox.infobox-character th{ text-align:left; width:38%; padding:.35em .5em; } | .infobox.infobox-character th{ text-align:left; width:38%; padding:.35em .5em; } | ||
.infobox.infobox-character td{ padding:.35em .5em; } | .infobox.infobox-character td{ padding:.35em .5em; } | ||
/* Infobox images: remove padding and make images fill the infobox width */ | |||
.infobox td.infobox-image { padding: 0; } | |||
.infobox td.infobox-image .thumb, | |||
.infobox td.infobox-image .thumbinner { | |||
margin: 0 !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
padding: 0 !important; | |||
} | |||
.infobox td.infobox-image img { | |||
width: 100% !important; | |||
height: auto !important; | |||
display: block; | |||
} | |||
.hatnote { | |||
font-style: italic; | |||
padding-bottom: 0.4em; | |||
margin-bottom: 0.4em; | |||
border-bottom: 1px solid var(--border-color-subtle, #c8ccd1); | |||
} | |||
.hatnote.no-border { | |||
border-bottom: none; | |||
} | |||
/* === Dark mode overrides === | /* === Dark mode overrides === | ||