Something went wrong. Try again.
Documentation for my projects & stuff, build using 11ty.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244@use "highlight";
// ------- Highlight End -------
// Cantarell@font-face { font-family: "Cantarell"; font-style: normal; font-weight: 100 800; font-stretch: 100%; src: local("Cantarell Regular"), local("Cantarell-Regular"), url("/fonts/cantarell.woff2") format("woff2"), url("/fonts/cantarell.woff") format("woff"); font-display: swap;}
// Monaspace@font-face { font-family: "Monaspace Radon"; font-style: normal; font-weight: 100 800; font-stretch: 100%; src: local("Monaspace Radon"), local("Monaspace-Radon"), url("/fonts/monaspace-radon.woff2") format("woff2"), url("/fonts/monaspace-radon.woff") format("woff"); font-display: swap;}
:root { --fontCantarell: "Cantarell"; --fontMonaspaceRadon: "Monaspace Radon";}
// ------- Fonts End -------
body { font-family: var(--fontCantarell), sans-serif;
font-size: 100%; font-weight: 400;
line-height: 1.5;}
::selection { background: color-mix(var(--primary) 25%, transparent 75%);}
h1,h2,h3,h4,h5,h6 { font-family: var(--fontCantarell), sans-serif; font-weight: 500;
margin-bottom: 8px;}
h1 { font-size: 200%;}
h2 { font-size: 180%;}
h3 { font-size: 160%;}
h4 { font-size: 140%;}
h5 { font-size: 125%;}
h6 { font-size: 110%;}
p { margin-bottom: 8px;
text-align: justify; text-justify: inter-word;
&:last-child { margin-bottom: 0; }}
small { font-size: 80%;}
pre,code { font-family: var(--fontMonaspaceRadon), monospace;}
pre { padding: 16px;
margin-bottom: 8px;
width: 100%; overflow: auto;
background: var(--surfaceContainerLow);
border: 1px solid var(--outlineVariant); border-radius: 16px;
&:last-child { margin-bottom: 0; }}
button,input,textarea { font-family: inherit; font-size: 100%;
color: inherit;}
input,textarea { background: none;
padding: 12px;
outline: 1px solid transparent; outline-offset: -1px;
border: 1px solid var(--outlineVariant); border-radius: 12px;
width: 100%;
transition: 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
&:hover, &:active, &:focus { outline-width: 2px; outline-color: var(--primary); }}
ul { list-style: inside;}
ol { list-style: inside decimal;}
img { max-width: 100%;}
blockquote { padding: 16px;
background: var(--secondaryContainer); color: var(--onSecondaryContainer);
border-left: 4px solid var(--primary); border-radius: 16px;
margin-bottom: 8px;}
hr { margin-bottom: 8px;
border: none; border-bottom: 1px solid var(--outlineVariant);}
button { display: flex;
align-items: center; justify-content: center;
gap: 12px;
font-weight: 400;
background: var(--primary); color: var(--onPrimary);
border: 1px solid transparent; border-radius: 8px;
padding: 8px 12px;
cursor: pointer;
transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
&:hover, &:focus { scale: 1.025; }
&:active { scale: 1.01;
border-radius: 12px; }
&:disabled { background: var(--surfaceDim); color: var(--onSurface);
&:hover { scale: 1; } }}
a { color: var(--primary);
transition: 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
text-decoration-thickness: 1px;
&:hover { text-decoration-thickness: 3px; }}