MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 136: | Line 136: | ||
margin-right: calc(-1 * var(--content-padding, 16px)) !important; | margin-right: calc(-1 * var(--content-padding, 16px)) !important; | ||
float: none !important; | float: none !important; | ||
} | |||
} | |||
/* Wikipedia infobox core */ | |||
.infobox { | |||
float: right; | |||
clear: right; | |||
margin: 0 0 1em 1em; | |||
width: 22em; | |||
background: #f8f9fa; | |||
border: 1px solid #a2a9b1; | |||
border-spacing: 0; | |||
color: #202122; | |||
} | |||
.infobox-above { | |||
background: #eaecf0; | |||
text-align: center; | |||
font-size: 125%; | |||
font-weight: bold; | |||
} | |||
.infobox-image, | |||
.infobox-caption { | |||
text-align: center; | |||
} | |||
.infobox th, | |||
.infobox td { | |||
padding: 6px 8px; | |||
vertical-align: top; | |||
} | |||
.infobox th { | |||
background: #eaecf0; | |||
text-align: left; | |||
} | |||
/* Mobile (Minerva) full width */ | |||
@media screen and (max-width: 720px) { | |||
.infobox { | |||
float: none; | |||
width: 100%; | |||
margin: 0 0 1em 0; | |||
} | } | ||
} | } | ||