From 0587726b47241dfeb06f221d115ec50d3ab191a0 Mon Sep 17 00:00:00 2001 From: Kev Quirk Date: Wed, 26 Jan 2022 11:44:42 +0000 Subject: [PATCH] =?UTF-8?q?Fixing=20#31=20-=20hindsight=20is=20a=20wonderf?= =?UTF-8?q?ul=20thing.=20=F0=9F=99=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- simple.css | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 7c29c56..b04d178 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simpledotcss", - "version": "2.0.0", + "version": "2.0.1", "description": "Simple.css is a classless CSS template that allows you to make a good looking website really quickly.", "main": "simple.css", "files": [ diff --git a/simple.css b/simple.css index b898cbc..470b54c 100644 --- a/simple.css +++ b/simple.css @@ -62,7 +62,7 @@ body>* { } /* Make the header bg full width, but the content inline with body */ -header { +body > header { background: var(--accent-bg); border-bottom: 1px solid var(--border); text-align: center; @@ -71,12 +71,12 @@ header { box-sizing: border-box; } -header h1 { +body > header h1 { max-width: 1200px; margin: 1rem auto; } -header p { +body > header p { max-width: 40rem; margin: 1rem auto; } @@ -86,7 +86,7 @@ main { padding-top: 1.5rem; } -footer { +body > footer { margin-top: 4rem; padding: 2rem 1rem 1.5rem 1rem; color: var(--text-light);