Files
immich-redaktions-plugin/src/app/globals.css
T

141 lines
2.2 KiB
CSS

@import "tailwindcss";
:root {
--paper: #ffffff;
--ink: #0a0a0a;
--muted: #5f5f5f;
--line: #d8d8d8;
--soft: #f3f3f3;
color-scheme: light;
}
* {
box-sizing: border-box;
}
html {
background: var(--paper);
}
body {
min-height: 100vh;
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: Inter, "Helvetica Neue", Arial, sans-serif;
font-synthesis: none;
}
a {
color: inherit;
}
:focus-visible {
outline: 3px solid var(--ink);
outline-offset: 4px;
}
.landing {
display: grid;
min-height: 100vh;
grid-template-rows: auto 1fr auto;
padding: clamp(1.25rem, 3vw, 2.75rem);
}
.masthead {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 2rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--line);
}
.wordmark {
font-size: 0.8125rem;
font-weight: 700;
letter-spacing: -0.01em;
text-transform: uppercase;
}
.section-label,
.eyebrow,
.landing-footer {
color: var(--muted);
font-size: 0.75rem;
letter-spacing: 0.09em;
text-transform: uppercase;
}
.intro {
display: grid;
align-content: center;
max-width: 70rem;
padding-block: clamp(5rem, 14vh, 10rem);
}
.eyebrow {
margin: 0 0 1.5rem;
}
.intro h1 {
max-width: 12ch;
margin: 0;
font-size: clamp(3rem, 9vw, 8.5rem);
font-weight: 600;
letter-spacing: -0.065em;
line-height: 0.88;
}
.lede {
max-width: 37rem;
margin: clamp(2rem, 5vw, 4rem) 0 0;
font-size: clamp(1rem, 1.6vw, 1.25rem);
line-height: 1.55;
}
.primary-action {
width: fit-content;
margin-top: 2.25rem;
padding: 0.9rem 1.25rem;
border: 1px solid var(--ink);
background: var(--ink);
color: var(--paper);
font-size: 0.875rem;
font-weight: 650;
text-decoration: none;
transition: background-color 140ms ease, color 140ms ease;
}
.primary-action:hover {
background: var(--paper);
color: var(--ink);
}
.landing-footer {
padding-top: 1rem;
border-top: 1px solid var(--line);
}
.landing-footer p {
margin: 0;
}
@media (max-width: 40rem) {
.masthead {
align-items: flex-start;
flex-direction: column;
gap: 0.5rem;
}
.intro h1 {
letter-spacing: -0.055em;
}
}
@media (prefers-reduced-motion: reduce) {
.primary-action {
transition: none;
}
}