Difference between revisions of "MediaWiki:Common.css"
From Wiki
(igus branding) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | /* CSS placed here will be applied to all skins | + | /* CSS placed here will be applied to all skins */ |
@import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif '); | @import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif '); | ||
+ | @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); | ||
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ | /* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ | ||
+ | /*body {*/ | ||
+ | /* font-family: "Apex New Book", sans-serif;*/ | ||
+ | /*}*/ | ||
+ | |||
body { | body { | ||
− | font-family: " | + | font-family: "Roboto", sans-serif; |
} | } | ||
/* Changes the default font used for MediaWiki headings to Apex New Book Serif: */ | /* Changes the default font used for MediaWiki headings to Apex New Book Serif: */ | ||
− | #content h1, | + | #content h1, |
#content h2, | #content h2, | ||
#content h3, | #content h3, | ||
Line 15: | Line 20: | ||
font-family: "Apex New Book", serif; | font-family: "Apex New Book", serif; | ||
} | } | ||
− | */ | + | |
+ | /* CPR/igus theme */ | ||
+ | /* bar under the first heading */ | ||
+ | .mw-body h1.firstHeading { | ||
+ | border-bottom: solid 4px #f07d00; | ||
+ | } | ||
+ | |||
+ | /* bar under the header (above the content, under the search bar) */ | ||
+ | .color-middle { | ||
+ | background: #f07d00; | ||
+ | } | ||
+ | |||
+ | /* bar under the header (above the left side bar) */ | ||
+ | .color-left { | ||
+ | background: #f07d00; | ||
+ | } | ||
+ | |||
+ | /* bar under the header (above the right side bar) */ | ||
+ | .color-right { | ||
+ | background: #f07d00; | ||
+ | } | ||
+ | |||
+ | /* bar under above the footer */ | ||
+ | #mw-content-container { | ||
+ | border-bottom: solid 4px #f07d00; | ||
+ | } | ||
+ | |||
+ | /* background of side bars */ | ||
+ | #mw-content-container { | ||
+ | background-image: unset; | ||
+ | background: #ececec; | ||
+ | } | ||
+ | |||
+ | /* line under selected tab (e.g. "Main page") */ | ||
+ | .tools-inline li.selected { | ||
+ | border-bottom-color: #f07d00; | ||
+ | } |
Latest revision as of 14:18, 14 August 2023
/* CSS placed here will be applied to all skins */
@import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif ');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
/*body {*/
/* font-family: "Apex New Book", sans-serif;*/
/*}*/
body {
font-family: "Roboto", sans-serif;
}
/* Changes the default font used for MediaWiki headings to Apex New Book Serif: */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5 {
font-family: "Apex New Book", serif;
}
/* CPR/igus theme */
/* bar under the first heading */
.mw-body h1.firstHeading {
border-bottom: solid 4px #f07d00;
}
/* bar under the header (above the content, under the search bar) */
.color-middle {
background: #f07d00;
}
/* bar under the header (above the left side bar) */
.color-left {
background: #f07d00;
}
/* bar under the header (above the right side bar) */
.color-right {
background: #f07d00;
}
/* bar under above the footer */
#mw-content-container {
border-bottom: solid 4px #f07d00;
}
/* background of side bars */
#mw-content-container {
background-image: unset;
background: #ececec;
}
/* line under selected tab (e.g. "Main page") */
.tools-inline li.selected {
border-bottom-color: #f07d00;
}