MediaWiki:Common.css: Difference between revisions
mNo edit summary |
m fix for infobox headers on dark mode |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 265: | Line 265: | ||
border-spacing: 3px; | border-spacing: 3px; | ||
margin: 0.5em 0; | margin: 0.5em 0; | ||
} | |||
/* dark mode color */ | |||
html.skin-theme-clientpref-night .infobox { | |||
color: white !important; | |||
} | |||
html.skin-theme-clientpref-night .infobox-header { | |||
background-color: #35393d !important; | |||
} | } | ||
| Line 430: | Line 439: | ||
border-radius:10px; | border-radius:10px; | ||
flex-grow:1; | flex-grow:1; | ||
} | |||
html.skin-theme-clientpref-night .color1 { | |||
background-color: #003b69; | |||
border-color: #8bccff; | |||
} | |||
.featured-articles-container { | |||
width: inherit; | |||
display: flex; | |||
flex-direction:row; | |||
justify-content:center; | |||
align-items:stretch; | |||
gap:4px; | |||
} | |||
@media screen and (max-width: 480px) { | |||
.featured-articles-container { | |||
flex-direction:column; | |||
} | |||
} | } | ||