Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
ChillGenXer (talk | contribs) (Created page with "→Import the Sapiens fonts from the offical website: @font-face { font-family: 'SapiensLight'; src: url("https://playsapiens.com/fonts/sapienslight-webfont.woff2") format("woff2"), url("https://playsapiens.com/fonts/sapienslight-webfont.woff") format("woff"), url("https://playsapiens.com/fonts/sapienslight-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'Sapiens';...") |
ChillGenXer (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Import the Sapiens fonts from the | /* Common.css for wiki.playsapiens.com | ||
/* Author: ChillGenXer | |||
/* Import the Sapiens fonts from the official website */ | |||
@font-face { | @font-face { | ||
font-family: 'SapiensLight'; | font-family: 'SapiensLight'; | ||
src: url("https://playsapiens.com/fonts/sapienslight-webfont.woff2") format("woff2"), | src: url("https://playsapiens.com/fonts/sapienslight-webfont.woff2") format("woff2"), | ||
url("https://playsapiens.com/fonts/sapienslight-webfont.woff") format("woff"), | url("https://playsapiens.com/fonts/sapienslight-webfont.woff") format("woff"), | ||
url("https://playsapiens.com/fonts/sapienslight-webfont.ttf") format("truetype"); | url("https://playsapiens.com/fonts/sapienslight-webfont.ttf") format("truetype"); | ||
font-weight: normal; | font-weight: normal; | ||
font-style: normal; | font-style: normal; | ||
} | } | ||
@font-face { | |||
@font-face { | font-family: 'Sapiens'; | ||
font-family: 'Sapiens'; | src: url("https://playsapiens.com/fonts/sapiens-webfont.woff2") format("woff2"), | ||
src: url("https://playsapiens.com/fonts/sapiens-webfont.woff2") format("woff2"), | url("https://playsapiens.com/fonts/sapiens-webfont.woff") format("woff"), | ||
url("https://playsapiens.com/fonts/sapiens-webfont.woff") format("woff"), | url("https://playsapiens.com/fonts/sapiens-webfont.ttf") format("truetype"); | ||
url("https://playsapiens.com/fonts/sapiens-webfont.ttf") format("truetype"); | font-weight: normal; | ||
font-weight: normal; | font-style: normal; | ||
font-style: normal | |||
} | } | ||
/* | :root { | ||
/* Dark mode on/off (true for dark mode, false for light mode) */ | |||
--dark-mode: true; | |||
/* | /*********************************************\ | ||
* Dark Mode Colors * | |||
\*********************************************/ | |||
--dark-main-color: #E3E3E3; | |||
--dark-background-color: #242424; | |||
--dark-header-color: #FF8815; | |||
--unvisited-link-color: #51B6DC; | |||
--visited-link-color: #51B6DC; | |||
--mouseover-link-color: #51B6DC; | |||
color: | --selected-link-color: #51B6DC; | ||
--header-background-color: #353535; | |||
--code-color: #33CC33; | |||
--ext-link-color: #51B6DC; | |||
--ext-link-visited-color: #51B6DC; | |||
/* | /*********************************************\ | ||
* Light Mode Colors * | |||
\*********************************************/ | |||
--light-main-color: #000000; | |||
--light-background-color: #FFFFFF; | |||
--light-header-color: #000000; | |||
/* | |||
/* Default color settings (current dark mode colors) */ | |||
color: | --main-color: var(--dark-main-color); | ||
--background-color: var(--dark-background-color); | |||
--header-color: var(--dark-header-color); | |||
/* Fonts */ | |||
--main-font-size: 1.1em; | |||
--main-font: "Inter var experimental", "Inter var", "ui-sans-serif", "system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", "Helvetica", "Arial", "Noto Sans", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | |||
--header-font: 'Sapiens'; | |||
--sub-header-font: 'SapiensLight'; | |||
--code-font-family: "Consolas", "Courier New", "monospace"; | |||
/* Colours */ | |||
--main-bg-color: #242424; | |||
--main-font-color: #E3E3E3; | |||
--header-font-color: #FF8815; | |||
--code-font-color: #33CC33; | |||
--main-border-color: #353535; | |||
--non-existent-link-color: #954D26; | |||
--content-block-title-bkg-color: #353535; | |||
font-size: 1.1em | |||
/* | |||
/* | /* Game-related reference colors */ | ||
--game-menu-bg-color: #545454; | |||
--game-menu-button-blue: #51B6DC; | |||
--game-good-green: #05FF05; | |||
--game-bad-red: #FF2121; | |||
--game-bad-major: #FF8603; | |||
--game-wrong-role: #FFCB0B; | |||
--game-timecontrol-sun-yellow: #FFFF51; | |||
--game-icon-hand-bg-color: #FF8815; | |||
--old-orange-link-color: #EC9448; | |||
} | } |
Latest revision as of 05:41, 9 July 2023
/* Common.css for wiki.playsapiens.com /* Author: ChillGenXer /* Import the Sapiens fonts from the official website */ @font-face { font-family: 'SapiensLight'; src: url("https://playsapiens.com/fonts/sapienslight-webfont.woff2") format("woff2"), url("https://playsapiens.com/fonts/sapienslight-webfont.woff") format("woff"), url("https://playsapiens.com/fonts/sapienslight-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: 'Sapiens'; src: url("https://playsapiens.com/fonts/sapiens-webfont.woff2") format("woff2"), url("https://playsapiens.com/fonts/sapiens-webfont.woff") format("woff"), url("https://playsapiens.com/fonts/sapiens-webfont.ttf") format("truetype"); font-weight: normal; font-style: normal; } :root { /* Dark mode on/off (true for dark mode, false for light mode) */ --dark-mode: true; /*********************************************\ * Dark Mode Colors * \*********************************************/ --dark-main-color: #E3E3E3; --dark-background-color: #242424; --dark-header-color: #FF8815; --unvisited-link-color: #51B6DC; --visited-link-color: #51B6DC; --mouseover-link-color: #51B6DC; --selected-link-color: #51B6DC; --header-background-color: #353535; --code-color: #33CC33; --ext-link-color: #51B6DC; --ext-link-visited-color: #51B6DC; /*********************************************\ * Light Mode Colors * \*********************************************/ --light-main-color: #000000; --light-background-color: #FFFFFF; --light-header-color: #000000; /* Default color settings (current dark mode colors) */ --main-color: var(--dark-main-color); --background-color: var(--dark-background-color); --header-color: var(--dark-header-color); /* Fonts */ --main-font-size: 1.1em; --main-font: "Inter var experimental", "Inter var", "ui-sans-serif", "system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", "Helvetica", "Arial", "Noto Sans", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --header-font: 'Sapiens'; --sub-header-font: 'SapiensLight'; --code-font-family: "Consolas", "Courier New", "monospace"; /* Colours */ --main-bg-color: #242424; --main-font-color: #E3E3E3; --header-font-color: #FF8815; --code-font-color: #33CC33; --main-border-color: #353535; --non-existent-link-color: #954D26; --content-block-title-bkg-color: #353535; /* Game-related reference colors */ --game-menu-bg-color: #545454; --game-menu-button-blue: #51B6DC; --game-good-green: #05FF05; --game-bad-red: #FF2121; --game-bad-major: #FF8603; --game-wrong-role: #FFCB0B; --game-timecontrol-sun-yellow: #FFFF51; --game-icon-hand-bg-color: #FF8815; --old-orange-link-color: #EC9448; }