89 lines
1.4 KiB
CSS
89 lines
1.4 KiB
CSS
@font-face {
|
|
font-family: "Geist";
|
|
src: url("assets/fonts/geist-variable.woff2") format("woff2");
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Geist";
|
|
src: url("assets/fonts/geist-italic-variable.woff2") format("woff2");
|
|
font-weight: 100 900;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
|
|
:root {
|
|
--font-sans: "Geist", system-ui, sans-serif;
|
|
--color-paper: #ffffff;
|
|
--color-ink: #000000;
|
|
--gutter: clamp(0.4rem, 1vw, 0.8rem);
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
margin: 0;
|
|
padding: var(--gutter);
|
|
background-color: var(--color-paper);
|
|
}
|
|
|
|
body {
|
|
min-height: 100%;
|
|
color: var(--color-ink);
|
|
font-family: var(--font-sans);
|
|
font-size: clamp(1rem, 2vw, 2rem);
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
p,
|
|
a {
|
|
margin: 0;
|
|
color: var(--color-ink);
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
text-box: trim-both cap alphabetic;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
address {
|
|
font-style: normal;
|
|
}
|
|
|
|
.frame {
|
|
position: fixed;
|
|
display: flex;
|
|
gap: 1.2rem;
|
|
}
|
|
|
|
.frame-block-start {
|
|
inset: var(--gutter) auto auto var(--gutter);
|
|
}
|
|
|
|
.frame-inline-end {
|
|
inset: var(--gutter) var(--gutter) auto auto;
|
|
writing-mode: vertical-rl;
|
|
}
|
|
|
|
.frame-block-end {
|
|
inset: auto var(--gutter) var(--gutter) auto;
|
|
rotate: 180deg;
|
|
}
|
|
|
|
.frame-inline-start {
|
|
inset: auto auto var(--gutter) var(--gutter);
|
|
writing-mode: sideways-lr;
|
|
white-space: nowrap;
|
|
}
|