Files
webpage/crates/service/service-webpage/css/main.scss
rm-dr 0da489dc1b
Some checks failed
CI / Check typos (push) Successful in 9s
CI / Check links (push) Failing after 11s
CI / Clippy (push) Successful in 1m1s
CI / Build and test (push) Successful in 1m19s
CI / Build container (push) Successful in 1m5s
CI / Deploy on waypoint (push) Successful in 50s
404
2025-11-11 23:00:42 -08:00

118 lines
1.9 KiB
SCSS

@import "text";
@import "blocks";
@import "images";
@import "special";
@import "fontawesome/fontawesome";
@import "fontawesome/brands";
@import "fontawesome/regular";
@import "fontawesome/solid";
@font-face {
font-family: "Fira";
src: url("/assets/fonts/FiraCode-Bold.woff2") format("woff2");
font-weight: bold;
}
@font-face {
font-family: "Fira";
src: url("/assets/fonts/FiraCode-Light.woff2") format("woff2");
font-weight: light;
}
@font-face {
font-family: "Fira";
src: url("/assets/fonts/FiraCode-Medium.woff2") format("woff2");
font-weight: medium;
}
@font-face {
font-family: "Fira";
src: url("/assets/fonts/FiraCode-Regular.woff2") format("woff2");
font-weight: normal;
}
:root {
// Misc colors
--bgColor: #121212;
--lightBgColor: #3a3f46;
--fgColor: #ebebeb;
--metaColor: #6199bb;
--lightMetaColor: #638c86;
--linkColor: #e4dab3;
--codeBgColor: #292929;
--codeFgColor: var(--fgColor);
// Main colors
--grey: #696969;
// Accent colors, used only manally
--green: #a2c579;
--magenta: #ad79c5;
--orange: #e86a33;
--yellow: #e8bc00;
--pink: #fa9f83;
}
::selection,
::-moz-selection {
color: var(--bgColor);
background: var(--metaColor);
}
html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 62.5%;
scrollbar-color: var(--metaColor) var(--bgColor);
scrollbar-width: auto;
background: var(--bgColor);
}
body {
font-family: "Fira";
font-size: 1.6rem;
line-height: 1.35;
max-width: 64rem;
margin: auto;
overflow-wrap: break-word;
background: var(--bgColor);
color: var(--fgColor);
}
div.wrapper {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
}
hr.footline {
border: 1pt solid;
}
hr {
border: 1pt dashed;
width: 100%;
}
iframe {
max-width: 90%;
}
.footContainer {
padding-top: 0;
padding-bottom: 1em;
padding-left: 1em;
padding-right: 1em;
}
@media (max-width: 650px) {
.wrapper {
margin: 1rem;
}
}