259 lines
3.6 KiB
CSS
259 lines
3.6 KiB
CSS
@import url("reset.css");
|
|
|
|
html,
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
min-height: -webkit-fill-available;
|
|
height: 100%;
|
|
}
|
|
|
|
video {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
main {
|
|
max-width: 60em;
|
|
margin: 0 auto;
|
|
padding-left: 4em;
|
|
padding-right: 4em;
|
|
padding-top: 3em;
|
|
padding-bottom: 3em;
|
|
font-family: "Recursive";
|
|
font-variation-settings: "MONO" 1;
|
|
font-variation-settings: "CASL" 1;
|
|
color: #24292e;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
margin-top: 0;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
header {
|
|
margin-bottom: 2em;
|
|
font-size: 1.5rem;
|
|
font-variation-settings: "MONO" 1;
|
|
font-variation-settings: "CASL" 1;
|
|
}
|
|
|
|
i {
|
|
font-variation-settings: "slnt" -15;
|
|
}
|
|
|
|
code {
|
|
background-color: #38424c;
|
|
width: 100%;
|
|
color: white;
|
|
padding: 0.2em 0.4em;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
blockquote {
|
|
margin: -1em;
|
|
padding: 1em;
|
|
background-color: #f1f1f1;
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
border-radius: 4px;
|
|
& p {
|
|
font-variation-settings: "CASL" 1;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
p {
|
|
font-family: Recursive;
|
|
margin-top: 0;
|
|
margin-bottom: 1.5em;
|
|
font-size: 1.1em;
|
|
font-variation-settings: "wght" 350;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
margin-bottom: 1em;
|
|
font-variation-settings: "mono" 1;
|
|
font-variation-settings: "casl" 0;
|
|
th,
|
|
td {
|
|
padding: 0.5em;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
th {
|
|
background-color: #f4f4f4;
|
|
font-weight: bold;
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background-color: #f9f9f9;
|
|
}
|
|
}
|
|
|
|
a {
|
|
font-variation-settings: "CASL" 0;
|
|
&:hover {
|
|
animation: casl-forward 0.2s ease forwards;
|
|
}
|
|
&:not(:hover) {
|
|
/* text-decoration: none; */
|
|
animation: casl-reverse 0.2s ease backwards;
|
|
}
|
|
}
|
|
|
|
@keyframes casl-forward {
|
|
from {
|
|
font-variation-settings:
|
|
"CASL" 0,
|
|
"wght" 400;
|
|
}
|
|
to {
|
|
font-variation-settings:
|
|
"CASL" 1,
|
|
"wght" 600;
|
|
}
|
|
}
|
|
@keyframes casl-reverse {
|
|
from {
|
|
font-variation-settings:
|
|
"CASL" 1,
|
|
"wght" 600;
|
|
}
|
|
to {
|
|
font-variation-settings:
|
|
"CASL" 0,
|
|
"wght" 400;
|
|
}
|
|
}
|
|
|
|
p a {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.dinkus {
|
|
display: block;
|
|
text-align: center;
|
|
font-size: 1.1rem;
|
|
margin-top: 2em;
|
|
margin-bottom: 0em;
|
|
}
|
|
|
|
ol,
|
|
ul {
|
|
padding-left: 0;
|
|
font-size: 1rem;
|
|
& li::marker {
|
|
color: rgba(0, 0, 0, 0.322);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
main {
|
|
padding: 2em;
|
|
}
|
|
header {
|
|
margin-bottom: 1em;
|
|
}
|
|
ol {
|
|
list-style-position: inside;
|
|
}
|
|
}
|
|
|
|
/* CANVAS SHENANIGANS */
|
|
#toggle-physics,
|
|
#toggle-canvas {
|
|
position: fixed;
|
|
z-index: 999;
|
|
right: 10px;
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
opacity: 0.25;
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
& img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
#toggle-canvas {
|
|
top: 10px;
|
|
}
|
|
#toggle-physics {
|
|
top: 60px;
|
|
display: none;
|
|
}
|
|
|
|
.tl-html-layer {
|
|
font-family: "Recursive";
|
|
font-variation-settings: "MONO" 1;
|
|
font-variation-settings: "CASL" 1;
|
|
& h1,
|
|
p,
|
|
span,
|
|
header,
|
|
ul,
|
|
ol {
|
|
margin: 0;
|
|
}
|
|
|
|
& header {
|
|
font-size: 1.5rem;
|
|
}
|
|
& p {
|
|
font-size: 1.1rem;
|
|
}
|
|
}
|
|
|
|
.transparent {
|
|
opacity: 0 !important;
|
|
transition: opacity 0.25s ease-in-out;
|
|
}
|
|
|
|
.canvas-mode {
|
|
overflow: hidden;
|
|
& #toggle-physics {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.tldraw__editor {
|
|
overscroll-behavior: none;
|
|
position: fixed;
|
|
inset: 0px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tl-background {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.tlui-debug-panel {
|
|
display: none;
|
|
}
|
|
|
|
.overflowing {
|
|
box-shadow: 0 0px 16px rgba(0, 0, 0, 0.15);
|
|
overflow: hidden;
|
|
background-color: white;
|
|
}
|