MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 43: | Line 43: | ||
} | } | ||
/* Wikipedia | /* ============================= */ | ||
/* Wikipedia Infobox Styling */ | |||
/* ============================= */ | |||
.infobox { | .infobox { | ||
background: #f8f9fa; | background-color: #f8f9fa; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
color: #202122; | color: #202122; | ||
border-spacing: 0; | |||
border-collapse: collapse; | |||
} | |||
.infobox th, | |||
.infobox td { | |||
padding: 6px 8px; | |||
vertical-align: top; | |||
font-size: 90%; | |||
} | } | ||
.infobox th { | .infobox th { | ||
background: #eaecf0; | background-color: #eaecf0; | ||
font-weight: bold; | |||
text-align: left; | text-align: left; | ||
} | } | ||
.infobox | .infobox-above { | ||
padding: | background-color: #eaecf0; | ||
font-size: 125%; | |||
font-weight: bold; | |||
text-align: center; | |||
padding: 8px; | |||
} | |||
.infobox caption { | |||
font-size: 90%; | |||
text-align: center; | |||
color: #54595d; | |||
} | |||
.infobox img { | |||
max-width: 100%; | |||
height: auto; | |||
} | } | ||
.infobox | /* Remove ugly gaps */ | ||
.infobox tr + tr th, | |||
.infobox tr + tr td { | |||
border-top: 1px solid #a2a9b1; | |||
} | } | ||