MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
Custom changes (OWOTWiki) | Custom changes (OWOTWiki) | ||
*/ | */ | ||
.mwImageSizeContainer img { | |||
width: 100% !important; | |||
height: auto !important; | |||
} | |||
.mw-ui-button.mw-ui-constructive { | .mw-ui-button.mw-ui-constructive { | ||
| Line 124: | Line 129: | ||
margin-right: 0.5em; | margin-right: 0.5em; | ||
width: 6em | width: 6em | ||
} | |||
/* Imported from an archive of wikipedia */ | |||
.navbox-title { | |||
background-color: #ccf | |||
} | |||
.navbox-abovebelow,.navbox-group,.navbox-subgroup .navbox-title { | |||
background-color: #ddf | |||
} | |||
.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow { | |||
background-color: #e6e6ff | |||
} | |||
.navbox-even { | |||
background-color: #f7f7f7 | |||
} | |||
.navbox-odd { | |||
background-color: transparent | |||
} | |||
/* | |||
Main page boxes | |||
*/ | |||
.mwBoxRow { | |||
display: flex; | |||
} | |||
.mwBoxPanel { | |||
border-spacing: 8px; | |||
border: 1px solid; | |||
background: #F5F4FF; | |||
vertical-align: top; | |||
color: #000000; | |||
margin: 5px; | |||
padding: 8px; | |||
} | |||
.mwBoxHeader { | |||
font-family: Verdana; | |||
margin: 0; | |||
background: #E0DCFF; | |||
font-size: 120%; | |||
font-weight: bold; | |||
border: 1px solid #B8B5CF; | |||
text-align: left; | |||
color: #000000; | |||
padding: 0.2em 0.4em; | |||
} | |||
@media all and (max-width: 850px) { | |||
.mwBoxRow { | |||
flex-direction: column; | |||
} | |||
.mwBoxPanel { | |||
width: auto !important; | |||
} | |||
} | } | ||