Difference between revisions of "MediaWiki:Common.css"
From Hinaharap ng sangkatauhan
Line 1: | Line 1: | ||
− | /* Changes the default font used for MediaWiki to | + | @import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif '); |
+ | |||
+ | /* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ | ||
body { | body { | ||
− | font-family: | + | font-family: "Noto Sans", sans-serif; |
} | } | ||
/* Changes the default font used for MediaWiki headings to Noto Serif: */ | /* Changes the default font used for MediaWiki headings to Noto Serif: */ | ||
− | #content h1 {font-family: "Noto Serif", serif | + | #content h1, |
− | + | #content h2 { | |
− | + | font-family: "Noto Serif", serif; | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { | body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { | ||
display: none; | display: none; | ||
} | } | ||
− | |||
− | |||
.FOMclock { | .FOMclock { | ||
Line 54: | Line 43: | ||
td, th { | td, th { | ||
− | + | padding-right: 1cm; | |
} | } | ||
Line 62: | Line 51: | ||
} | } | ||
*/ | */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 17:26, 26 May 2021
@import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif '); /* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ body { font-family: "Noto Sans", sans-serif; } /* Changes the default font used for MediaWiki headings to Noto Serif: */ #content h1, #content h2 { font-family: "Noto Serif", serif; } body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } .FOMclock { margin: 0 auto; } .FOMclock ul { margin: 0 auto; padding: 0; text-align: inline } .FOMclock ul li { display: inline; } .FOMdate { display: inline; } .DateRange, .DateDiv { display: none; } h4{ display: inline-block; } td, th { padding-right: 1cm; } /* #btnHideEnglish, #btnHideGerman { cursor: pointer; } */