MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 73: | Line 73: | ||
:root.skin-citizen-dark a:hover {color: #E69710} | :root.skin-citizen-dark a:hover {color: #E69710} | ||
:root.skin-citizen-dark a:active {color: #E69710} | :root.skin-citizen-dark a:active {color: #E69710} | ||
/* infobox */ | |||
.infobox { | |||
background-color: #00000000; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
table-layout: fixed !important; | |||
box-sizing: border-box; | |||
} | |||
.infobox table { | |||
width: 100% !important; | |||
border-collapse: collapse; | |||
} | |||
.infobox td, | |||
.infobox th { | |||
text-align: center !important; | |||
padding: 0.5em !important; | |||
word-break: break-word; | |||
white-space: normal; | |||
} | |||
.infobox img { | |||
display: block; | |||
width: 250px !important; | |||
max-width: 250px important; | |||
height: auto !important; | |||
margin: auto; | |||
} | |||
.infobox details, | |||
.infobox summary { | |||
display: block; | |||
clear: both; | |||
font-weight: bold; | |||
cursor: pointer; | |||
z-index: auto; | |||
} | |||
.infobox .infobox-list, | |||
.infobox > ul { | |||
margin: 0 auto; | |||
display: inline-block; | |||
text-align: left; | |||
} | |||
.infobox .infobox-list li, | |||
.infobox > ul > li { | |||
text-align: center; | |||
} | |||