MediaWiki:Common.css: Difference between revisions
Appearance
Adventurer (talk | contribs) mNo edit summary |
Adventurer (talk | contribs) mNo edit summary |
||
Line 99: | Line 99: | ||
} | } | ||
/* New class for the stat block background */ | /* New class for the stat block background and border */ | ||
.wotc-statblock-bg { | .wotc-statblock-bg { | ||
background-color: #FAF4E7; | background-color: #FAF4E7; /* Light parchment color */ | ||
border: 1px solid #583f2e; /* Dark brown/black border */ | |||
padding: 5px; /* Small internal padding */ | |||
box-shadow: 2px 2px 5px #888888; /* Optional: A very subtle shadow to lift it off the page */ | |||
} | } |
Revision as of 01:50, 13 October 2025
/* 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 and border */ .wotc-statblock-bg { background-color: #FAF4E7; /* Light parchment color */ border: 1px solid #583f2e; /* Dark brown/black border */ padding: 5px; /* Small internal padding */ box-shadow: 2px 2px 5px #888888; /* Optional: A very subtle shadow to lift it off the page */ }