Jump to content

MediaWiki:Common.css

From greyhawk
Revision as of 01:47, 13 October 2025 by Adventurer (talk | contribs)

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.bonemarch.org/fonts/AndadaPro-Italic-VariableFont_wght.ttf") format("truetype");
}

@font-face {
    font-family: "Andada SC";
    src: url("https://www.bonemarch.org/fonts/AndadaPro-VariableFont_wght.ttf") format("truetype");
}

@font-face {
    font-family: "Cormorant-Regular";
    src: url("https://www.bonemarch.org/fonts/Cormorant-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "CasablancaAntique";
    src: url("https://www.bonemarch.org/fonts/CasablancaAntique.ttf") format("truetype");
}

@font-face {
    font-family: "Century Schoolbook";
    src: url("https://www.bonemarch.org/fonts/CENSCBK.TTF") format("truetype");
}

body {
    font-family: "Century Schoolbook", Georgia, serif;
    font-size: 1.5em;
    font-weight: normal;
}

h1 {
    font-family: "Century Schoolbook";
    font-weight: normal;
    font-style: normal;
    font-size: 3em;
    font-variant: small-caps;
}

h2 {
    font-family: "CasablancaAntique", "Century Schoolbook", Georgia, serif;
    font-weight: normal;
    font-style: normal;
    font-size: 2.5em;
    font-variant: small-caps;
}

h3, h4, h5 {
    font-family: "Century Schoolbook";
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    font-variant: small-caps;
    text-decoration: underline;
}

h6 {
    font-family: "Century Schoolbook", "CasablancaAntique", Arial, Helvetica, sans-serif;
}

.wikitable {
    width: 100%;
    box-sizing: border-box;
}

/* WotC Statblock Styling */

/* Defines the style for the reddish-brown separator line */
.wotc-hr {
    border-top: 2px solid #58160e !important;
    margin: 5px 0 !important;
    border-radius: 2px !important;
    /* Resetting default <hr> styles */
    border: none;
    height: 0;
}

/* Styles the ability score table and its header row */
.wotc-ability-table {
    /* Base color for text within the table */
}

/* Styles the Ability Score Table Headers (STR, DEX, etc.) */
.wotc-ability-table th {
    /* Ensures the header text (STR, DEX, etc.) is the WotC color */
    color: #58160e !important;
}

/* Styles the bottom border of the ability score table */
.wotc-ability-table-bottom {
    border-bottom: 2px solid #58160e !important;
}

/* Defines the color for the ability scores and any specific text in the template */
.wotc-ability-color {
    color: #58160e !important;
}

/* New class for the stat block background */
.wotc-statblock-bg {
    background-color: #FAF4E7;
}