SAE-A2-TruthInquiry/client/res/ui/game_ui.css
AudricV cea9db6f26
[Client] Add CSS stylesheets for the startup page
Two CSS stylesheets have been added: one which is common to all pages and one
which is specific to the game statup.
2022-12-01 11:41:33 +01:00

79 lines
1.8 KiB
CSS

/* Custom fonts */
@font-face {
font-family: 'Spicy Rice';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("../fonts/spicy_rice_v21/spicy_rice_v21.woff2") format("woff2"), url("../fonts/spicy_rice_v21/spicy_rice_v21.woff") format("woff"), url("../fonts/spicy_rice_v21/spicy_rice_v21.ttf") format("truetype");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Titan One';
font-style: normal;
font-weight: 400;
src: url("../fonts/titan_one_v13/titan_one_v13.woff2") format('woff2'), url("../fonts/titan_one_v13/titan_one_v13.woff") format('woff'), url("../fonts/titan_one_v13/titan_one_v13.ttf") format('truetype');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Base elements */
:root {
color-scheme: dark;
--footer-links-height: 2em;
}
html {
margin: 0;
}
body {
--body-margin: 0.375em;
margin: var(--body-margin);
}
/* Themes */
.dark {
background-color: #213C40;
}
.light {
background-color: #B1EDE8;
}
/* Utility classes */
.hidden {
display: none;
}
/* Footer */
.footer_link {
color: white;
font-family: sans-serif;
font-size: 1em;
font-weight: bold;
margin: 0.5em;
text-decoration: none;
}
.footer_link:visited {
color: unset;
}
.footer_links {
align-content: center;
align-items: center;
display: flex;
flex-direction: row;
flex-wrap: wrap;
height: var(--footer-links-height);
justify-content: flex-end;
}
/* Unsupported browser message */
.unsupported_browser {
display: none;
}
.unsupported_show {
display: block;
}