MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (2 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 146: | Line 151: | ||
.navbox-odd { | .navbox-odd { | ||
background-color: transparent | 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; | |||
} | |||
} | } | ||