2021-07-12 20:14:39 +00:00
|
|
|
/* This file is compiled to /assets/styles/tailwind.css via script/tailwind */
|
|
|
|
|
2021-09-20 14:34:18 +00:00
|
|
|
@import url("https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;1,200;1,300&display=swap");
|
|
|
|
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100;0,300;0,600;1,100;1,300;1,600&display=swap");
|
2021-07-12 20:14:39 +00:00
|
|
|
|
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
2021-09-15 22:28:38 +00:00
|
|
|
@layer base {
|
2021-09-20 14:34:18 +00:00
|
|
|
html {
|
2021-09-20 19:42:30 +00:00
|
|
|
font-size: 100%;
|
2021-09-20 14:34:18 +00:00
|
|
|
text-rendering: geometricPrecision;
|
|
|
|
}
|
2021-09-20 19:42:30 +00:00
|
|
|
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
|
|
html {
|
|
|
|
font-size: 125%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-20 14:34:18 +00:00
|
|
|
h1 {
|
|
|
|
@apply text-4xl;
|
|
|
|
@apply tracking-tighter;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
@apply text-3xl;
|
|
|
|
@apply tracking-tighter;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
@apply text-2xl;
|
|
|
|
@apply tracking-tighter;
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
@apply text-xl;
|
|
|
|
}
|
|
|
|
|
|
|
|
.underline,
|
|
|
|
.hover\:underline:hover {
|
|
|
|
text-underline-offset: 4px;
|
|
|
|
}
|
|
|
|
|
2021-09-20 19:42:30 +00:00
|
|
|
@media screen and (min-width: 1024px) {
|
2021-09-20 14:34:18 +00:00
|
|
|
.text-columns-2 {
|
|
|
|
column-count: 2;
|
|
|
|
column-gap: 3rem;
|
2021-09-16 19:01:50 +00:00
|
|
|
}
|
2021-09-16 19:40:12 +00:00
|
|
|
|
2021-09-20 14:34:18 +00:00
|
|
|
}
|
2021-09-20 22:02:04 +00:00
|
|
|
.site-nav a:not(.active) .nav-active-arrow {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-nav a.active .nav-active-arrow {
|
|
|
|
display: flex;
|
|
|
|
}
|
2021-09-20 14:34:18 +00:00
|
|
|
|
|
|
|
.text-columns-2 {
|
|
|
|
-webkit-column-break-inside: avoid;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-columns-2 p {
|
|
|
|
break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
2021-09-20 21:53:10 +00:00
|
|
|
.alternate-bg:nth-of-type(even) {
|
|
|
|
background-color: rgba(255,255,255,0.06);
|
|
|
|
}
|
|
|
|
|
2021-09-20 14:34:18 +00:00
|
|
|
/* This fixes scrollbar jump */
|
|
|
|
@media screen and (min-width: 960px) {
|
|
|
|
html {
|
|
|
|
margin-left: calc(100vw - 100%);
|
|
|
|
margin-right: 0;
|
2021-09-16 19:40:12 +00:00
|
|
|
}
|
2021-09-20 14:34:18 +00:00
|
|
|
}
|
|
|
|
}
|