MediaWiki:Common.css: Difference between revisions
From GDPRhub
m (remove maintenance warning banner) |
m (Load Lato font files) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Load the Lato font files (only defines the @font-face; the ‘Timeless’ skin applies it to the document) */ | |||
@import '/resources/assets/fonts/lato/stylesheet.css'; | |||
/* noyb colors */ | /* noyb colors */ |
Revision as of 12:32, 28 June 2021
/* CSS placed here will be applied to all skins */
/* Load the Lato font files (only defines the @font-face; the ‘Timeless’ skin applies it to the document) */
@import '/resources/assets/fonts/lato/stylesheet.css';
/* noyb colors */
.color-middle {
background: #9c0a7d;
}
.color-left {
background: #9c0a7d;
}
.color-right {
background: #9c0a7d;
}
.mw-body h1.firstHeading {
border-bottom: solid 4px #9c0a7d;
}
.tools-inline li.selected {
border-bottom: solid 4px #9c0a7d;
}
a.new, .new a {
color: #9c0a7d;
}
/* Text/Headline font sizes */
body {
font-size: 0.875em;
}
.mw-body h1 {
font-size: 1.8em;
}
.mw-body h2 {
font-size: 1.6em;
}
.mw-body h3 {
font-size: 1.4em;
}
.mw-body h4 {
font-size: 1.2em;
}
p {
text-align: justify;
text-justify: auto;
}
/* mobile/desktop specific media queries */
/* make content tables at beginning of articles prettier */
@media screen and (max-width: 850px) {
.wikitable {
width: 100% !important;
float: left;
/* display: none; */
}
}
/* display element desktop/mobile only */
@media screen and (max-width: 850px) {
.desktop-only {
display: none;
}
}
@media screen and (min-width: 850px) {
.mobile-only {
display: none;
}
}