diff options
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; } |
