MediaWiki:Common.css: Difference between revisions
From GDPRhub
No edit summary |
No edit summary |
||
Line 53: | Line 53: | ||
/* mobile/desktop specific media queries */ | /* mobile/desktop specific media queries */ | ||
/* make content tables at beginning of articles prettier */ | |||
@media screen and (max-width: 850px) { | @media screen and (max-width: 850px) { | ||
.wikitable { | .wikitable { | ||
Line 58: | Line 60: | ||
float: left; | float: left; | ||
/* display: none; */ | /* 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; | |||
} | } | ||
} | } |
Revision as of 15:49, 21 January 2020
/* CSS placed here will be applied to all skins */
/* 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;
}
}