From d8eff8373868bd763ad10fb7a3ea8110916f4b21 Mon Sep 17 00:00:00 2001 From: Nicolas Hoizey Date: Mon, 16 Jul 2018 13:10:38 +0200 Subject: [PATCH] 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`. --- css/index.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/css/index.css b/css/index.css index dbe0741..87cdb53 100644 --- a/css/index.css +++ b/css/index.css @@ -16,6 +16,8 @@ body { padding: 0; margin: 0; font-family: sans-serif; + color: var(--darkgrey); + background-color: var(--white); } p:last-child { margin-bottom: 0; @@ -200,4 +202,4 @@ a[href].direct-link:focus:visited, :hover > a[href].direct-link, :hover > a[href].direct-link:visited { color: #aaa; -} \ No newline at end of file +}