MediaWiki:Common.css: Difference between revisions
Appearance
Adventurer (talk | contribs) No edit summary Tag: Reverted |
Adventurer (talk | contribs) No edit summary Tag: Reverted |
||
Line 32: | Line 32: | ||
bottom: 0px; | bottom: 0px; | ||
height: 100%; | height: 100%; | ||
/* Prevent content overlay when sidewards scrolling */ | |||
background-color: #F6F6F6; | |||
border-right: 1px solid #A7D7F9; | |||
} | } | ||
/* Prevent sidewards scrolling in pre elements */ | |||
pre { | |||
overflow: auto; | |||
max-height: 25em; | |||
} | |||
Revision as of 00:19, 22 August 2022
/* CSS placed here will be applied to all skins */ @font-face { font-family: "Andada"; src: url("https://www.greyhawk.icu/fonts/AndadaPro-Italic-VariableFont_wght.ttf"); } @font-face { font-family: "Andada SC"; src: url("https://www.greyhawk.icu/fonts/AndadaPro-VariableFont_wght.ttf"); } @font-face { font-family: "Cormorant-Regular"; src: url("https://www.greyhawk.icu/fonts/Cormorant-Regular.ttf"); } @font-face { font-family: "CasablancaAntique"; src: url("https://www.greyhawk.icu/fonts/CasablancaAntique.ttf"); } @font-face { font-family: "Century Schoolbook"; src: url("https://www.greyhawk.icu/fonts/CENSCBK.TTF"); } /* Fix sidebar */ div#mw-panel { position: fixed; overflow: auto; top: 0px; bottom: 0px; height: 100%; /* Prevent content overlay when sidewards scrolling */ background-color: #F6F6F6; border-right: 1px solid #A7D7F9; } /* Prevent sidewards scrolling in pre elements */ pre { overflow: auto; max-height: 25em; } body { /* Set default font for the whole site, individual elements can override this font-family: "Andada SC"; */ font-size: 1.5 em; font-weight: normal; } h1{ font-family: "Andada SC", "Cormorant-Regular", "CasablancaAntique", Arial, Helvetica, sans-serif; font-weight: normal; font-style: normal; font-size: 2.5.em; font-variant: small-caps; color: #800000; padding: 5px; margin: 0px; text-align: center; } h2 { font-family: "Andada SC", "Cormorant-Regular", "CasablancaAntique", Arial, Helvetica, sans-serif; font-weight: normal; font-style: normal; font-size: 2em; font-variant: small-caps; color: #800000; padding: 5px; margin: 0px; text-align: left; } h3 { font-family: "Andada SC", "Cormorant-Regular", "CasablancaAntique", Arial, Helvetica, sans-serif; font-weight: normal; font-style: normal; font-size: 1.5em; font-variant: small-caps; color: #800000; text-decoration: underline; padding: 5px; margin: 0px; text-align: left; }