Files
kraken/website/recursive.css

130 lines
2.7 KiB
CSS

@font-face {
font-family: 'Recursive';
font-style: oblique 0deg 15deg;
font-weight: 300 1000;
font-display: swap;
src: url(./Recursive.woff2) format('woff2');
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;
}
:root {
--rec-wght: 400;
--rec-slnt: 0;
--rec-mono: 0;
--rec-casl: 0;
--rec-csrv: 0;
}
* {
font-variation-settings: "wght" var(--rec-wght),
"slnt" var(--rec-slnt),
"MONO" var(--rec-mono),
"CASL" var(--rec-casl),
"CRSV" var(--rec-csrv);
}
body {
max-width: 45em;
margin: 1em auto;
padding: 0 .62em;
font: 1.2em/1.62 'Recursive', sans-serif;
}
//body, .remark-slide-content { background-color: #eff3f5; }
//body, .remark-slide-content { background-color: #f5f3ef; }
body, .remark-slide-content { background-color: #f0f6f0; color: #222323; }
h1, h2, h3, h4 {
line-height:0.4;
--rec-wght: 900;
--rec-slnt: -10;
--rec-casl: 0.5;
--rec-crsv: 1;
--rec-mono: 0;
letter-spacing: -0.015em;
font-size: 4em;
}
.top_spacer {
position: static;
height: 20vh;
}
.word {
/*height: 20vh;*/
/*font-size: 7cqw;*/
font-size: 6cqw;
font-family: 'Recursive', monospace;
--rec-mono: 1;
letter-spacing: normal;
tab-size: 4;
position: absolute;
top: 15%;
bottom: auto;
right: auto;
display: block;
}
.logo {
text-decoration: underline;
text-decoration-thickness: 0.4rem;
/*font-size: 13em;*/
/*font-size: 15vw;*/
font-size: 28cqw;
/*line-height:0.4;*/
--rec-wght: 900;
--rec-slnt: 0;
--rec-casl: 0.0;
--rec-crsv: 1;
--rec-mono: 0;
/*letter-spacing: -0.015em;*/
letter-spacing: 0em;
position: absolute;
top: auto;
bottom: 2%;
right: auto;
display: block;
/*overflow: hidden;*/
}
.logo_container {
position: static;
/*height: 100vh;*/
height: 100vh;
container-type: inline-size;
/*max-width: initial;*/
}
h2 { font-size: 3em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }
i { --rec-slnt: -14; }
em { --rec-slnt: -14; }
b { --rec-wght: 600; }
strong { --rec-wght: 600; }
.run_container { position: relative; }
.editor, .remark-code, .remark-inline-code {
font-family: 'Recursive', monospace;
font-size: 1rem;
--rec-mono: 1;
border-radius: 6px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
//height: 7em;
letter-spacing: normal;
tab-size: 4;
}
.output {
margin-block-start: 1rem;
font-family: 'Recursive', monospace;
font-size: 1rem;
--rec-mono: 1;
tab-size: 4;
height: 5em;
width: 100%;
}
.run_button {
font-family: 'Recursive', sans-serif;
font-size: 1em;
--rec-wght: 900;
--rec-slnt: -10;
--rec-casl: 0.5;
--rec-crsv: 1;
--rec-mono: 0;
letter-spacing: -0.015em;
position: absolute;
top: 0;
right: 0;
}