From cba57196aca8c7d11576d92fa68fdf706e3985b1 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Wed, 27 Jan 2021 13:36:19 -0800 Subject: [PATCH] Remove un-needed/duplicate CSS rules Lol why haven't I inlined my CSS yet it's like <800 bytes uncompressed now. --- assets/css/main.css | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index b8e602d..6cdb5cb 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -16,9 +16,8 @@ */ body { - font-family: sans-serif; - font-size: 16px; - line-height: 1.5rem; + font: 16px sans-serif; + line-height: 1.75rem; margin: auto; max-width: 50rem; padding: 0 5%; @@ -64,12 +63,6 @@ nav li { } } -h1, -h2, -h3 { - line-height: 1.75rem; -} - img:not(.u-photo) { display: block; height: auto; @@ -79,9 +72,7 @@ img:not(.u-photo) { .u-photo { display: inline-block; - height: 1em; vertical-align: -0.1em; - width: 1em; } pre,