Files
studiovitali.ch/styles.css
T
2026-11-01 08:24:19 +01:00

84 lines
1.3 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.1rem, 1vw, 0.2rem);
}
*,
*::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: 1rem;
line-height: 1.2;
}
h1,
h2,
p {
margin: 0;
font-size: inherit;
}
a:hover {
text-decoration: none;
}
address {
font-style: normal;
}
.frame {
position: fixed;
gap: 0.6rem;
}
.frame-block-start {
inset: var(--gutter) auto auto var(--gutter);
display: flex;
}
.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;
}