Lint fixes.

This commit is contained in:
Fredrik Jonsson 2024-12-20 10:13:39 +01:00
commit 1aa7d710b9
3 changed files with 5 additions and 7 deletions

View file

@ -1,4 +1,5 @@
// stylelint-disable property-no-vendor-prefix // stylelint-disable property-no-vendor-prefix, property-no-unknown
// Reset browsers to some sane defaults. // Reset browsers to some sane defaults.
// Document // Document
@ -90,6 +91,6 @@ samp {
td, td,
math, math,
time[datetime*=":"] { time[datetime*=':'] {
font-variant-numeric: tabular-nums lining-nums; font-variant-numeric: tabular-nums lining-nums;
} }

View file

@ -54,7 +54,7 @@ textarea {
// Make sure textareas without a rows attribute are not tiny. // Make sure textareas without a rows attribute are not tiny.
textarea:not([rows]) { textarea:not([rows]) {
min-height: 10em min-height: 10em;
} }
// For forms with multibple fields show submit button below the form. // For forms with multibple fields show submit button below the form.

View file

@ -1,8 +1,5 @@
@mixin overlay($opacity: '0.5', $color: $nearblack, $color2: $grey-light) { @mixin overlay($opacity: '0.5', $color: $nearblack, $color2: $grey-light) {
--color-overlay: $color; --color-overlay: $color;
--color-overlay2: $color2; --color-overlay2: $color2;
border-image: linear-gradient( border-image: linear-gradient(rgba(var(--color-overlay) / $opacity), rgba(var(--color-overlay2) / $opacity)) fill 1;
rgba(var(--color-overlay) / $opacity),
rgba(var(--color-overlay2) / $opacity))
fill 1;
} }