From: Vladimír Vondruš Date: Sun, 22 Oct 2017 13:33:31 +0000 (+0200) Subject: css: move unrelated things out of m-grid.css. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=3f34f061c69651d384a7e69a5cfcd32cb5dae019;p=blog.git css: move unrelated things out of m-grid.css. --- diff --git a/css/m-components.css b/css/m-components.css index ced8e640..f87bc7e8 100644 --- a/css/m-components.css +++ b/css/m-components.css @@ -5,6 +5,7 @@ html { } body { font-family: var(--font); + font-size: 1rem; color: var(--color); } diff --git a/css/m-grid.css b/css/m-grid.css index 983dc8d1..02d14b84 100644 --- a/css/m-grid.css +++ b/css/m-grid.css @@ -1,11 +1,6 @@ /* Important basics */ -*, ::before, ::after { - box-sizing: border-box; -} -body { - font-size: 1rem; - margin: 0; -} +*, ::before, ::after { box-sizing: border-box; } +body { margin: 0; } /* 12-column layout. Inspired by Bootstrap and https://www.w3schools.com/css/css_rwd_grid.asp */