website/sass/style.scss
tezlm 3517c338e5
fix the rename
This reverts commit bb1dbee306.
2024-01-26 17:38:20 -08:00

155 lines
2.3 KiB
SCSS

@import "./fonts.scss";
:root {
font: 16px/1.5 "Atkinson Hyperlegible", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
--background-1: #24262b;
--background-2: #1e2024;
--background-3: #191b1d;
--background-4: #17181a;
--foreground-1: #eae8efdd;
--foreground-2: #eae8efb4;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: var(--background-1);
color: var(--foreground-1);
margin: 0;
}
section, main {
padding: 2rem max(calc(50vw - 350px), 16px);
}
#blurb {
width: 50%;
padding: 2rem;
padding-left: max(calc(50vw - 350px), 16px);
background: var(--background-2);
}
#blurb > h1 {
text-shadow:
1px 1px #822ebaff,
2px 2px #822ebacc,
3px 3px #822eba99,
4px 4px #822eba66,
5px 5px #822eba33;
margin-bottom: 2rem;
}
#blurb a {
padding: 8px 16px;
background: #555;
color: var(--foreground-1);
text-decoration: none;
border-radius: 2px;
cursor: pointer;
}
#video {
display: flex;
gap: 1rem;
overflow-x: auto;
margin-left: 40%;
width: 60%;
height: 350px;
padding: 2rem;
background: var(--background-3);
}
#video > video {
height: 100%;
}
a {
color: #bd7aea;
}
#about {
display: flex;
gap: 16px;
}
#about > div {
flex: 1;
}
ol, ul {
padding-left: 1rem;
}
@media (max-width: 750px) {
#blurb, #video {
width: 100%;
padding: 2rem;
margin-left: 0;
}
#about {
flex-direction: column;
}
}
svg {
position: fixed;
bottom: 0;
}
pre {
padding: 4px;
border-radius: 4px;
background: var(--background-3);
overflow-x: auto;
}
#line {
animation: move 999999s;
}
@keyframes move {
from { stroke-dashoffset: 0; }
to { stroke-dashoffset: 10000000; }
}
nav {
display: flex;
flex-direction: column;
float: left;
width: 256px;
padding: 8px;
background: var(--background-2);
}
table {
border: solid var(--background-3) 1px;
width: 100%;
border-collapse: collapse;
& tr {
background: var(--background-2);
&:nth-child(even) {
background: var(--background-3);
}
}
& thead tr {
background: var(--background-4);
}
& td, th {
padding: 4px;
text-align: left;
}
}