* Lint fixes. * Implement light-dark(). * Lint css with biome, remove stylelint. * Biome lint fixes. * Dark mode adjustments. * Style bug fixes. * Colour adjustments. * Move header and footer styles to base. * Site header adjustments. * Removing jQuery and umbrella libs. They where great but not needed anymore. * Add colorScheme to optionally lock light/dark. * Update README. * Biome adjustments.
35 lines
493 B
CSS
35 lines
493 B
CSS
/* Box */
|
|
|
|
.box {
|
|
/* Add vertical rhythm margins. */
|
|
margin-block: var(--spacing-m);
|
|
padding: var(--spacing-xs);
|
|
border: 5px solid var(--color-border);
|
|
|
|
.box__title,
|
|
.title {
|
|
margin-block-start: 0;
|
|
}
|
|
|
|
& > * {
|
|
&:first-child {
|
|
margin-block-start: 0;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-block-end: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.box--highlight {
|
|
border-color: var(--color-highlight);
|
|
}
|
|
|
|
.box--fit {
|
|
width: fit-content;
|
|
}
|
|
|
|
.box--gutter {
|
|
padding-inline: var(--gutters);
|
|
}
|