mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 09:15:33 +00:00
110 lines
2.2 KiB
CSS
110 lines
2.2 KiB
CSS
@import "tailwindcss";
|
|
@theme {
|
|
--font-script: Rancho, ui-serif;
|
|
--font-sans: "Source Sans 3", "Merriweather Sans", ui-sans-serif;
|
|
--font-serif: "Merriweather", ui-serif;
|
|
|
|
--color-background: oklch(0.985 0.001 106.423);
|
|
--color-background-darker: oklch(0.97 0.001 106.424);
|
|
--color-background-dark: oklch(0.923 0.003 48.717);
|
|
|
|
--color-border-main: oklch(0.97 0.001 106.424);
|
|
--color-border-secondary: oklch(0.923 0.003 48.717);
|
|
|
|
--color-text: oklch(0.21 0.034 264.665);
|
|
--color-text-strong: oklch(0 0 0);
|
|
--color-text-muted: oklch(0.373 0.034 259.733);
|
|
--color-text-disabled: oklch(0.872 0.01 258.338);
|
|
--color-text-subtle: oklch(0.707 0.022 261.325);
|
|
|
|
--color-accent-blue-500: oklch(0.623 0.214 259.815);
|
|
--color-accent-blue-100: oklch(0.932 0.032 255.585);
|
|
}
|
|
|
|
/*
|
|
The default border color has changed to `currentColor` in Tailwind CSS v4,
|
|
so we've added these compatibility styles to make sure everything still
|
|
looks the same as it did with Tailwind CSS v3.
|
|
|
|
If we ever want to remove these styles, we need to add an explicit border
|
|
color utility to any element that depends on these defaults.
|
|
*/
|
|
@layer base {
|
|
*,
|
|
::after,
|
|
::before,
|
|
::backdrop,
|
|
::file-selector-button {
|
|
border-color: var(--color-gray-200, currentColor);
|
|
}
|
|
}
|
|
|
|
@utility font-variant-small-caps {
|
|
font-variant-caps: small-caps;
|
|
}
|
|
|
|
@layer components {
|
|
html {
|
|
font-size: 16.5px;
|
|
}
|
|
|
|
body {
|
|
@apply bg-stone-50;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4 {
|
|
@apply font-serif;
|
|
}
|
|
|
|
a {
|
|
@apply hyphens-none underline decoration-dotted hover:decoration-solid text-slate-700 hover:text-slate-900;
|
|
}
|
|
|
|
ul {
|
|
@apply my-2;
|
|
}
|
|
|
|
li {
|
|
@apply ml-14 list-disc;
|
|
}
|
|
|
|
nav > a {
|
|
@apply hover:!border-zinc-200;
|
|
}
|
|
|
|
nav > * {
|
|
@apply border-b-4 border-transparent;
|
|
}
|
|
|
|
nav > button[aria-current="true"] {
|
|
@apply !bg-slate-200;
|
|
}
|
|
|
|
nav a[aria-current="page"] {
|
|
@apply text-slate-800;
|
|
}
|
|
|
|
nav a[aria-current="page"] {
|
|
@apply !border-zinc-300;
|
|
}
|
|
|
|
main {
|
|
@apply grow shrink-0;
|
|
}
|
|
|
|
.small-caps {
|
|
@apply font-variant-small-caps;
|
|
}
|
|
|
|
.alphabet a[aria-current="page"] {
|
|
@apply pb-3 pt-2 font-bold italic !bg-stone-50 relative -bottom-3 border-b;
|
|
}
|
|
|
|
.alphabet a:hover:not([aria-current="page"]) {
|
|
@apply pb-1 pt-0.5 !bg-stone-50 relative;
|
|
}
|
|
}
|