MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 18: | Line 18: | ||
/* Infobox images: remove padding and make images fill the infobox width */ | /* Infobox images: remove padding and make images fill the infobox width */ | ||
.infobox td.infobox-image { | .infobox td.infobox-image { padding: 0; } | ||
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 | .infobox td.infobox-image img { | ||
width: 100%; | width: 100% !important; | ||
height: auto; | height: auto !important; | ||
display: block; | 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; | |||
} | |||