This repository has been archived on 2024-01-11. You can view files and clone it, but cannot push or open issues or pull requests.
site/sass/main.scss

291 lines
8.9 KiB
SCSS

@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
body, html {
height: 100%;
margin: 0;
}
body {
background: #181818;
color: #d8d8d8;
font-family: 'Public Sans', sans-serif;
}
.split {
display: flex;
flex-direction: row;
justify-content: center;
height: 100%;
margin: auto;
.section-display {
margin: auto;
width: 50%;
}
.section-text {
margin: auto;
width: 50%;
* {
max-width: 500px;
margin: auto initial;
}
}
}
.title {
font-family: 'Exo 2', sans-serif;
text-transform: uppercase;
font-size: 4em;
text-align: center;
font-weight: 100;
color: #A8A8A8;
}
h1,h2,h3,h4,h5,h6 {
font-family: 'Exo 2', sans-serif;
text-transform: uppercase;
font-weight: 400;
text-align: center;
line-height: 100%;
color: #d8d8d8;
}
@media screen and (max-width: 500px) {
.split {
flex-direction: column;
.section-display {
width: 100%;
}
.section-text {
width: calc(100% - 24px); // i should absolutely use variables for this
// but no, i don't feel like it.
margin: auto;
padding: 12px;
* {
width: 100%;
max-width: unset;
}
}
}
}
.decor {
font-family: hibiscus, sans-serif;
line-height: 0;
}
a {
color: inherit;
background-color: #d8d8d80A;
padding: 0 4px;
border-radius: 2px;
transition: 0.1s cubic-bezier(0.65, 0, 0.35, 1);
}
a:hover {
background-color: #d8d8d820;
}
.page-list * {
margin: 0;
margin-bottom: 8px;
}
.infobox {
background: #A8A8A8;
color: #181818;
padding: 12px;
a {
padding: 0;
}
}
.infobox-error {
background: #ddb1b1;
}
.infobox-important {
background: #faecc0;
}
.button {
background: #292828;
border: 2px solid #3B4552;
border-radius: 4px;
box-shadow: 0px 2px 0px #3B4552;
padding: 2px 18px;
color: #d8d8d8;
font-size: 1em;
font-weight: bold;
text-decoration: none;
}
.button:active {
box-shadow: 0px #3B4552;
}
.button.htmx-request {
opacity: .5;
transition: opacity 100ms ease-in-out;
}
.big {
font-size: 4em;
font-weight: 100;
}
label {
font-weight: bold;
}
input, textarea {
background: #292828;
border: 2px solid #3B4552;
border-radius: 4px;
padding: 2px 8px;
margin: 8px 0;
color: #d8d8d8;
font-size: 1em;
font-weight: bold;
}
/* fonts start here */
@font-face {
font-family: hibiscus;
src: url(/fotns/Hibiscus.ttf);
}
/* exo-2-100 - latin */
@font-face {
font-family: 'Exo 2';
font-style: normal;
font-weight: 100;
src: url('/fotns/exo-2-v10-latin-100.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fotns/exo-2-v10-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fotns/exo-2-v10-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
url('/fotns/exo-2-v10-latin-100.woff') format('woff'), /* Modern Browsers */
url('/fotns/exo-2-v10-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fotns/exo-2-v10-latin-100.svg#Exo2') format('svg'); /* Legacy iOS */
}
/* exo-2-regular - latin */
@font-face {
font-family: 'Exo 2';
font-style: normal;
font-weight: 400;
src: url('/fotns/exo-2-v10-latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fotns/exo-2-v10-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fotns/exo-2-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('/fotns/exo-2-v10-latin-regular.woff') format('woff'), /* Modern Browsers */
url('/fotns/exo-2-v10-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fotns/exo-2-v10-latin-regular.svg#Exo2') format('svg'); /* Legacy iOS */
}
/* exo-2-700 - latin */
@font-face {
font-family: 'Exo 2';
font-style: normal;
font-weight: 700;
src: url('/fotns/exo-2-v10-latin-700.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fotns/exo-2-v10-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fotns/exo-2-v10-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('/fotns/exo-2-v10-latin-700.woff') format('woff'), /* Modern Browsers */
url('/fotns/exo-2-v10-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fotns/exo-2-v10-latin-700.svg#Exo2') format('svg'); /* Legacy iOS */
}
/* exo-2-italic - latin */
@font-face {
font-family: 'Exo 2';
font-style: italic;
font-weight: 400;
src: url('/fotns/exo-2-v10-latin-italic.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fotns/exo-2-v10-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fotns/exo-2-v10-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('/fotns/exo-2-v10-latin-italic.woff') format('woff'), /* Modern Browsers */
url('/fotns/exo-2-v10-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fotns/exo-2-v10-latin-italic.svg#Exo2') format('svg'); /* Legacy iOS */
}
/* exo-2-700italic - latin */
@font-face {
font-family: 'Exo 2';
font-style: italic;
font-weight: 700;
src: url('/fotns/exo-2-v10-latin-700italic.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fotns/exo-2-v10-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fotns/exo-2-v10-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
url('/fotns/exo-2-v10-latin-700italic.woff') format('woff'), /* Modern Browsers */
url('/fotns/exo-2-v10-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fotns/exo-2-v10-latin-700italic.svg#Exo2') format('svg'); /* Legacy iOS */
}
/* fira-sans-regular - latin */
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 400;
src: url('/fotns/fira-sans-v11-latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fotns/fira-sans-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fotns/fira-sans-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('/fotns/fira-sans-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
url('/fotns/fira-sans-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fotns/fira-sans-v11-latin-regular.svg#FiraSans') format('svg'); /* Legacy iOS */
}
/* fira-sans-italic - latin */
@font-face {
font-family: 'Fira Sans';
font-style: italic;
font-weight: 400;
src: url('/fotns/fira-sans-v11-latin-italic.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fotns/fira-sans-v11-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fotns/fira-sans-v11-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('/fotns/fira-sans-v11-latin-italic.woff') format('woff'), /* Modern Browsers */
url('/fotns/fira-sans-v11-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fotns/fira-sans-v11-latin-italic.svg#FiraSans') format('svg'); /* Legacy iOS */
}
/* fira-sans-700 - latin */
@font-face {
font-family: 'Fira Sans';
font-style: normal;
font-weight: 700;
src: url('/fotns/fira-sans-v11-latin-700.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fotns/fira-sans-v11-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fotns/fira-sans-v11-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('/fotns/fira-sans-v11-latin-700.woff') format('woff'), /* Modern Browsers */
url('/fotns/fira-sans-v11-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fotns/fira-sans-v11-latin-700.svg#FiraSans') format('svg'); /* Legacy iOS */
}
/* fira-sans-700italic - latin */
@font-face {
font-family: 'Fira Sans';
font-style: italic;
font-weight: 700;
src: url('/fotns/fira-sans-v11-latin-700italic.eot'); /* IE9 Compat Modes */
src: local(''),
url('/fotns/fira-sans-v11-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('/fotns/fira-sans-v11-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
url('/fotns/fira-sans-v11-latin-700italic.woff') format('woff'), /* Modern Browsers */
url('/fotns/fira-sans-v11-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('/fotns/fira-sans-v11-latin-700italic.svg#FiraSans') format('svg'); /* Legacy iOS */
}