Difference between revisions of "MediaWiki:Common.css"
From Unstable Games Wiki
(Created page with "#ca-history { display:none!important; } #ca-viewsource { display:none!important; } →CSS placed here will be applied to all skins: .tocnumber { display: none; } /* Hide t...") |
|||
Line 9: | Line 9: | ||
/* Change Font | /* Change Font | ||
− | @font-face {font-family: 'Reef';src: url('Resources/Reef.otf');} | + | @font-face {font-family: 'Reef';src: url('Resources/Reef.otf');} |
− | body {font-family: 'Arial';font-size:small} | + | body {font-family: 'Arial';font-size:small}*/ |
+ | |||
+ | @import url("https://fonts.google.com/specimen/Source+Sans+Pro|Source+Sans+Pro") | ||
+ | |||
+ | /*body {font-family: "Source Sans Pro", sans-serif} | ||
+ | changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text) */ | ||
+ | |||
+ | div#content h1, div#content h2 {font-family: "Source Sans Pro", serif} | ||
+ | /* changes the default font used for MediaWiki headings to Noto Serif */ | ||
/* Standard Navigationsleisten, aka box hiding thingy | /* Standard Navigationsleisten, aka box hiding thingy |
Revision as of 15:21, 11 February 2019
#ca-history { display:none!important; } #ca-viewsource { display:none!important; } /* CSS placed here will be applied to all skins */ .tocnumber { display: none; } /* Hide the Discussion Tab */ #ca-talk { display:none!important; } /* Change Font @font-face {font-family: 'Reef';src: url('Resources/Reef.otf');} body {font-family: 'Arial';font-size:small}*/ @import url("https://fonts.google.com/specimen/Source+Sans+Pro|Source+Sans+Pro") /*body {font-family: "Source Sans Pro", sans-serif} changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text) */ div#content h1, div#content h2 {font-family: "Source Sans Pro", serif} /* changes the default font used for MediaWiki headings to Noto Serif */ /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ div.NavFrame { margin: 0; padding: 4px; border: 1px solid #a2a9b1; text-align: center; border-collapse: collapse; font-size: 95%; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0; padding: 2px; /* @noflip */ float: left; } div.NavFrame div.NavHead { line-height: 1.6em; font-weight: bold; background-color: #ccf; position: relative; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0; /* @noflip */ right: 3px; font-weight: normal; font-size: 90%; } .client-js .NavFrame.collapsed > .NavContent { display: none; }