Jump to content

MediaWiki:Common.css

From greyhawk
Revision as of 01:04, 31 July 2022 by Adventurer (talk | contribs) (Created page with "CSS placed here will be applied to all skins: @font-face { font-family: "Andada"; 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"); } * { /* Set default font for the whole site, individual elemen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

@font-face {
  font-family: "Andada";
  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");
}


* {
  /* Set default font for the whole site, individual elements can override this */
  font-family: "Cormorant-Regular", "Andada", Verdana, Arial, Helvetica,
    sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: em;
}

h2 {
  font-family: "Cormorant-Regular", "CasablancaAntique", Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 2.5em;
  padding: 5px;
  margin: 0px;
}