chadtmiller.com/monolith
An atproto PDS
0
0
/* The base every view stands on: the reset, the body and the type. Each
component's own <style> does the rest. */
/* Monolith's two typefaces, from the build itself (the Content-Security-
Policy takes fonts from the server alone), their licences beside them
in assets/fonts. Variable, so one file serves every weight; Latin. */
@font-face {
font-family: 'Space Grotesk';
font-style: normal;
font-weight: 300 700;
font-display: swap;
src: url('./assets/fonts/space-grotesk-latin.woff2') format('woff2');
}
@font-face {
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 100 800;
font-display: swap;
src: url('./assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
body {
margin: 0;
background: var(--bg);
color: var(--fg);
font-family: var(--font-sans);
font-size: var(--text-base);
line-height: var(--leading);
-webkit-font-smoothing: antialiased;
}
h1,
h2,
p,
ul {
margin: 0;
}
ul {
padding: 0;
list-style: none;
}
button,
input {
margin: 0;
font: inherit;
color: inherit;
}
img,
svg {
display: block;
}
code {
font-family: var(--font-mono);
overflow-wrap: anywhere;
}
a {
color: inherit;
}
:focus-visible {
outline: var(--focus-width) solid var(--primary);
outline-offset: var(--focus-offset);
}