131 lines
2.2 KiB
CSS
131 lines
2.2 KiB
CSS
/* Grundlage — setzt nur, was jede Ansicht braucht. Kein Voll-Reset. */
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
-webkit-text-size-adjust: 100%;
|
|
text-size-adjust: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--ds-bg);
|
|
color: var(--ds-text);
|
|
font-family: var(--ds-font-sans);
|
|
font-size: var(--ds-text-md);
|
|
line-height: var(--ds-leading-normal);
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
|
|
margin: 0;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
line-height: var(--ds-leading-tight);
|
|
letter-spacing: var(--ds-tracking-tight);
|
|
text-wrap: balance;
|
|
}
|
|
|
|
p {
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
a {
|
|
color: var(--ds-link);
|
|
text-decoration-thickness: 0.0625rem;
|
|
text-underline-offset: 0.2em;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--ds-link-hover);
|
|
}
|
|
|
|
img, svg, video, canvas {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
svg {
|
|
color: inherit;
|
|
flex: none;
|
|
}
|
|
|
|
.ds-icon {
|
|
width: var(--ds-icon-md);
|
|
height: var(--ds-icon-md);
|
|
}
|
|
|
|
button, input, select, textarea {
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--ds-selection-bg);
|
|
color: var(--ds-selection-text);
|
|
}
|
|
|
|
:focus-visible {
|
|
outline: var(--ds-focus-width) solid var(--ds-focus-ring);
|
|
outline-offset: var(--ds-focus-offset);
|
|
}
|
|
|
|
.ds-visually-hidden {
|
|
position: absolute;
|
|
width: 0.0625rem;
|
|
height: 0.0625rem;
|
|
padding: 0;
|
|
margin: -0.0625rem;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.ds-container {
|
|
width: 100%;
|
|
max-width: var(--ds-container-lg);
|
|
margin-inline: auto;
|
|
padding-inline: var(--ds-space-4);
|
|
}
|
|
|
|
@media (min-width: 48rem) {
|
|
.ds-container {
|
|
padding-inline: var(--ds-space-6);
|
|
}
|
|
}
|
|
|
|
.ds-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--ds-space-4);
|
|
}
|
|
|
|
.ds-row {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: var(--ds-space-2);
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 1ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 1ms !important;
|
|
}
|
|
}
|
|
|
|
.ds-divider {
|
|
margin: var(--ds-space-6) 0 var(--ds-space-4);
|
|
border: 0;
|
|
border-top: var(--ds-border-thin) solid var(--ds-border);
|
|
}
|