From 7015e0050f9769ac1af412260dee06fb2081772d Mon Sep 17 00:00:00 2001 From: Thomas Wade Date: Tue, 30 Oct 2018 10:08:51 +1030 Subject: [PATCH] Restyle H1 and anchors for better styling across the site --- styles/default.css | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/styles/default.css b/styles/default.css index 24fc7ae..bbce0a5 100644 --- a/styles/default.css +++ b/styles/default.css @@ -26,9 +26,13 @@ a { font-weight: 600; + padding-right: 2px; + padding-left: 2px; + text-decoration: none; - color: #000; + color: #fff; + background-color: #000; } input, @@ -59,6 +63,24 @@ button:disabled background-color: #888; } +h1 +{ + font-size: 45px; + line-height: 50px; + + display: inline-block; + + margin-right: 10px; + margin-bottom: 5px; + margin-left: 10px; + padding-right: 5px; + padding-left: 5px; + + color: #fff; + background-color: #000; + box-shadow: 10px 0 0 0 #000, -10px 0 0 0 #000; +} + .centreColumn { position: relative; @@ -126,6 +148,7 @@ button:disabled { float: right; } + .navButtons a { display: block; @@ -201,17 +224,12 @@ button:disabled box-shadow: 10px 0 0 0 #000, -10px 0 0 0 #000; } -.post .titleContainer -{ - padding-left: 10px; -} - .post .title { - font-size: 45px; - line-height: 50px; - display: inline; + + margin-left: 0; /* Compensate for default H1 style */ + padding: 0; } .post .meta