WikipediNyah:Main Page/styles.css: Difference between revisions
NeonWabbit (talk | contribs) No edit summary |
NeonWabbit (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 45: | Line 45: | ||
#articlecount { | #articlecount { | ||
font-size: 85%; | font-size: 85%; | ||
} | |||
#articlecount > ul { | |||
margin: 0; | |||
padding: 0; | |||
} | |||
#articlecount > ul > li { | |||
margin: 0; | |||
display: inline; | |||
} | |||
#articlecount > ul > li::after { | |||
content: " · "; | |||
font-weight: bold; | |||
} | |||
#articlecount > ul > li:last-child::after { | |||
content: ""; | |||
} | |||
#mp-banner { | |||
text-align: center; | |||
padding-top: 0.5em; | |||
} | } | ||
| Line 52: | Line 76: | ||
display: block; | display: block; | ||
clear: both; | clear: both; | ||
} | |||
/* Avoid floating at lower resolutions when there is just 2-3 words to the right of the image especially at 400px. Please test at 400px before removing/revising these rules. */ | |||
@media (max-width: 500px) { | |||
.mp-contains-float > * { | |||
float: none !important; | |||
margin: auto !important; | |||
} | |||
.mp-contains-float .mp-thumb { | |||
margin: auto; | |||
} | |||
} | } | ||
| Line 70: | Line 105: | ||
display: table; | display: table; | ||
margin: 0 auto; | margin: 0 auto; | ||
} | |||
#articlecount > ul > li::after { | |||
content: ""; | |||
font-weight: normal; | |||
} | |||
#articlecount > ul > li { | |||
display: block; | |||
} | } | ||
} | } | ||
| Line 157: | Line 201: | ||
html.skin-theme-clientpref-night #mp-banner { | html.skin-theme-clientpref-night #mp-banner { | ||
background-color: # | background-color: #331a00; | ||
border-color: #663428; | border-color: #663428; | ||
} | } | ||
| Line 220: | Line 264: | ||
html.skin-theme-clientpref-os #mp-banner { | html.skin-theme-clientpref-os #mp-banner { | ||
background-color: # | background-color: #331a00; | ||
border-color: #663428; | border-color: #663428; | ||
} | } | ||