Difference between revisions of "MediaWiki:Common.css"
From Billy Meier
Line 8: | Line 8: | ||
/* Changes the default font used for MediaWiki headings to Noto Serif: */ | /* Changes the default font used for MediaWiki headings to Noto Serif: */ | ||
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {font-size:1.4em} | #mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {font-size:1.4em} | ||
− | .toctitle {text-align:center; font-size:1.3em} | + | .toctitle {text-align:center; font-family:Arial; font-size:1.3em} |
#content h1, | #content h1, | ||
#content h2 { | #content h2 { |
Revision as of 22:28, 23 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: */ #mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {font-size:1.4em} .toctitle {text-align:center; font-family:Arial; font-size:1.3em} #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; } .mw-parser-output > div:nth-child(7) > ul:nth-child(1) > li:nth-child(4) > div:nth-child(2) {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-left:1em; padding-right:1em; vertical-align:top } /* #btnHideEnglish, #btnHideGerman { cursor: pointer; } */