diff options
| author | Joe Carstairs <me@joeac.net> | 2025-12-16 16:57:13 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2025-12-16 16:57:13 +0000 |
| commit | 9d610b6b3d03fe8353c2a9a772b46ebc9dd99485 (patch) | |
| tree | f4e8f8c8a85d8ca5f7f483ef9c152ee38c1b55b9 /website/public/css/reset.css | |
| parent | 0da1f8710e5f1688368c0196c17dc3ff016d1c37 (diff) | |
reformat base.css
Diffstat (limited to 'website/public/css/reset.css')
| -rw-r--r-- | website/public/css/reset.css | 37 |
1 files changed, 27 insertions, 10 deletions
diff --git a/website/public/css/reset.css b/website/public/css/reset.css index 6cb4c4f..433f923 100644 --- a/website/public/css/reset.css +++ b/website/public/css/reset.css @@ -15,14 +15,22 @@ html { } /* Remove default margin in favour of better control in authored CSS */ -body, h1, h2, h3, h4, p, -figure, blockquote, dl, dd { +body, +h1, +h2, +h3, +h4, +p, +figure, +blockquote, +dl, +dd { margin-block: 0; } /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */ -ul[role='list'], -ol[role='list'] { +ul[role="list"], +ol[role="list"] { list-style: none; } @@ -32,14 +40,21 @@ body { } /* Set shorter line heights on headings and interactive elements */ -h1, h2, h3, h4, -button, input, label { +h1, +h2, +h3, +h4, +button, +input, +label { line-height: 1.1; } /* Balance text wrapping on headings */ -h1, h2, -h3, h4 { +h1, +h2, +h3, +h4 { text-wrap: balance; } @@ -51,8 +66,10 @@ picture { } /* Inherit fonts for inputs and buttons */ -input, button, -textarea, select { +input, +button, +textarea, +select { font: inherit; } |
