Set default text and background colours

Some elements in the design have text colour without background colour. Setting a global background colour should be enough with current text colours.

I wonder however if `var(--white)` is really necessary, instead of `white`.
This commit is contained in:
Nicolas Hoizey 2018-07-16 13:10:38 +02:00 committed by GitHub
parent 67f9c1be98
commit d8eff83738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,8 @@ body {
padding: 0; padding: 0;
margin: 0; margin: 0;
font-family: sans-serif; font-family: sans-serif;
color: var(--darkgrey);
background-color: var(--white);
} }
p:last-child { p:last-child {
margin-bottom: 0; margin-bottom: 0;
@ -200,4 +202,4 @@ a[href].direct-link:focus:visited,
:hover > a[href].direct-link, :hover > a[href].direct-link,
:hover > a[href].direct-link:visited { :hover > a[href].direct-link:visited {
color: #aaa; color: #aaa;
} }