Files
laraundfelix/resources/css/app.css
T
LarsandCursor 2035c46edd
Deploy Test / test (push) Successful in 2m25s
Deploy Test / deploy (push) Failing after 25s
Stelle das U0-Fundament mit CMS, Mitgliedern und Filament bereit.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 08:32:14 +01:00

332 lines
5.1 KiB
CSS

@import 'tailwindcss';
@theme {
--font-sans: 'Source Sans 3', 'Segoe UI', sans-serif;
--font-serif: 'Source Serif 4', Georgia, serif;
--color-ink: #1b2838;
--color-paper: #e7eee9;
--color-sheet: #f7faf8;
--color-pine: #0f6e56;
--color-line: #c5d2cb;
}
html {
background: var(--color-paper);
color: var(--color-ink);
font-family: var(--font-sans);
font-size: 1.0625rem;
line-height: 1.6;
}
body {
margin: 0;
min-height: 100vh;
}
a {
color: var(--color-pine);
}
a:hover {
text-decoration: none;
}
:focus-visible {
outline: 3px solid #0b5cab;
outline-offset: 3px;
}
.skip {
position: absolute;
left: 1rem;
top: -4rem;
background: white;
padding: 0.5rem 0.75rem;
}
.skip:focus {
top: 1rem;
}
.masthead {
background: var(--color-ink);
color: #f4f7f5;
}
.masthead a {
color: inherit;
text-decoration: none;
}
.masthead-inner,
.sheet,
.site-footer-inner {
width: min(72rem, calc(100% - 2rem));
margin-inline: auto;
}
.wordmark {
display: flex;
justify-content: space-between;
gap: 1rem;
align-items: baseline;
padding-top: 1.5rem;
}
.wordmark strong {
font-family: var(--font-serif);
font-size: clamp(2rem, 4vw, 3.25rem);
font-weight: 600;
letter-spacing: -0.03em;
line-height: 1;
}
.wordmark span {
font-size: 0.95rem;
}
.site-nav {
display: flex;
flex-wrap: wrap;
gap: 0.35rem 1.1rem;
padding: 1.25rem 0 1.1rem;
border-top: 1px solid rgb(255 255 255 / 18%);
margin-top: 1.25rem;
}
.site-nav a[aria-current='page'] {
text-decoration: underline;
text-underline-offset: 0.35rem;
}
.sheet {
background: var(--color-sheet);
padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
margin-top: -1px;
}
.preview-banner {
background: #fff4d6;
color: #3d2e04;
padding: 0.75rem 1rem;
margin: -1rem -1rem 1.5rem;
}
.block + .block {
margin-top: 2.25rem;
}
main h1 {
font-family: var(--font-serif);
font-weight: 600;
letter-spacing: -0.03em;
line-height: 1.15;
font-size: clamp(2rem, 4vw, 3rem);
margin: 0 0 0.75rem;
}
.block h1,
.block h2 {
font-family: var(--font-serif);
font-weight: 600;
letter-spacing: -0.03em;
line-height: 1.15;
margin: 0 0 0.75rem;
}
.block h1 {
font-size: clamp(2.4rem, 6vw, 4.4rem);
max-width: 12ch;
}
.block h2 {
font-size: clamp(1.8rem, 3vw, 2.6rem);
max-width: 18ch;
}
.lede,
.prose,
.cta p,
.card p,
.faq dd {
max-width: 62ch;
}
.lede {
font-size: 1.25rem;
line-height: 1.45;
margin: 0;
}
.prose p {
margin: 0 0 1rem;
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
gap: 1rem;
list-style: none;
padding: 0;
margin: 0;
}
.card {
border-top: 3px solid var(--color-pine);
background: white;
padding: 1rem 1rem 1.15rem;
}
.card h3 {
font-family: var(--font-serif);
font-size: 1.35rem;
margin: 0 0 0.4rem;
}
.card a {
color: inherit;
text-decoration: none;
}
.card a:hover h3 {
text-decoration: underline;
}
.cta {
background: var(--color-ink);
color: #f4f7f5;
padding: 1.5rem;
}
.cta h2,
.cta p {
color: inherit;
}
.cta a {
display: inline-block;
margin-top: 0.8rem;
background: #f4f7f5;
color: var(--color-ink);
text-decoration: none;
padding: 0.55rem 0.9rem;
}
.image-text {
display: grid;
gap: 1.25rem;
}
@media (min-width: 48rem) {
.image-text {
grid-template-columns: minmax(12rem, 16rem) 1fr;
align-items: start;
}
}
.image-text img {
width: 100%;
height: auto;
}
.faq {
margin: 0;
}
.faq dt {
font-weight: 600;
margin-top: 1rem;
}
.faq dd {
margin: 0.25rem 0 0;
}
.member-nav {
display: flex;
flex-wrap: wrap;
gap: 0.75rem 1.25rem;
margin-bottom: 2rem;
padding-bottom: 0.75rem;
border-bottom: 1px solid var(--color-line);
}
.member-nav a {
color: inherit;
text-decoration: none;
}
.member-nav a[aria-current='page'] {
text-decoration: underline;
text-underline-offset: 0.3rem;
}
.empty {
background: white;
border: 1px solid var(--color-line);
padding: 1.25rem;
max-width: 62ch;
}
.form {
display: grid;
gap: 0.9rem;
max-width: 28rem;
}
.form label {
display: grid;
gap: 0.3rem;
font-weight: 600;
}
.form input {
font: inherit;
padding: 0.55rem 0.65rem;
border: 1px solid #8ea399;
background: white;
width: 100%;
box-sizing: border-box;
}
.form button,
.button {
font: inherit;
background: var(--color-pine);
color: white;
border: 0;
padding: 0.6rem 0.9rem;
width: fit-content;
cursor: pointer;
}
.check {
font-weight: 400;
grid-template-columns: auto 1fr;
align-items: start;
}
.errors {
background: #fde8e4;
color: #6d2016;
padding: 0.75rem 1rem;
}
.status {
background: #e5f4ec;
padding: 0.75rem 1rem;
}
.site-footer {
padding: 2rem 0 3rem;
}
.site-footer nav {
display: flex;
gap: 1rem;
}
.site-footer a {
color: inherit;
}