diff --git a/website/public/css/base.css b/website/public/css/base.css index 20a6e8e..6e3b9f5 100644 --- a/website/public/css/base.css +++ b/website/public/css/base.css @@ -69,8 +69,8 @@ body { line-height: 1.5; /* Geometric Humanist stack from https://modernfontstacks.com */ - font-family: Avenir, Montserrat, Corbel, "URW Gothic", source-sans-pro, - sans-serif; + font-family: + Avenir, Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif; } small { 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; }