MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (17 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
:root { | |||
color-scheme: dark; | |||
} | |||
.navbar-container .nav-link.active { | |||
color: #fff; | |||
border-radius: 0 !important; | |||
margin: 0 !important; | |||
background-color: #478a2b; | |||
} | |||
.navbar-container .nav-link { | |||
padding-right: 2rem; | |||
padding-left: 2rem; | |||
} | |||
.wikibannercontainer { | |||
width: 100%; | |||
display: flex; | |||
flex-direction: column; | |||
} | |||
.wiki-banner-img p { | |||
padding: 0; margin: 0; | |||
} | |||
.navbar-container { | |||
width: 100%; | |||
background-color: #5aa938; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
border-bottom: 0.25rem solid #376921; | |||
border-top: 0.25rem solid #86c553; | |||
} | |||
.wiki-banner-img img { | |||
width: 100%; | |||
aspect-ratio: 3 / 1; | |||
object-fit: cover; | |||
} | |||
/* Hides the entire sidebar navigation panel */ | |||
/* hide theme toggle */ | |||
#vector-theme-toggler { | |||
display: none !important; | |||
} | |||
:root { | :root { | ||
--color-surface-0: rgb(28, 28, 37); | --color-surface-0: rgb(28, 28, 37); | ||
| Line 17: | Line 56: | ||
border-left: 4px solid #5aa2ff; | border-left: 4px solid #5aa2ff; | ||
background: #5aa2ff44; | background: #5aa2ff44; | ||
padding: 20px; | |||
margin: 20px 0; | |||
} | |||
.note-box { | |||
border: 0; | |||
border-left: 4px solid #278f54; | |||
background: #278f5444; | |||
padding: 20px; | |||
margin: 20px 0; | |||
} | } | ||
@media screen { | @media screen { | ||
| Line 443: | Line 493: | ||
} | } | ||
} | } | ||
.fullwidth, .fullwidth * { | |||
width: 100%; | |||
height: auto; | |||
} | |||
@media screen { | @media screen { | ||
.nochecker .gallerybox .thumb img { | .nochecker .gallerybox .thumb img { | ||