From cd4935d507ddca5509ad90553c29dfbe493a4646 Mon Sep 17 00:00:00 2001 From: Dylan Lloyd Date: Fri, 3 Feb 2023 17:20:46 -0500 Subject: [PATCH] Better organize head{,er} files --- _includes/head.html | 11 ++++++++++- _includes/header.html | 3 +++ _includes/html-header.html | 10 ---------- _layouts/default.html | 6 ++---- main.scss | 18 +++++++++++++++--- 5 files changed, 30 insertions(+), 18 deletions(-) create mode 100644 _includes/header.html delete mode 100644 _includes/html-header.html diff --git a/_includes/head.html b/_includes/head.html index a4a3557..8157fbe 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1 +1,10 @@ -{{site.name}} + + + + + + {{ site.title }} + + + + diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..fa04c60 --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,3 @@ + diff --git a/_includes/html-header.html b/_includes/html-header.html deleted file mode 100644 index 8157fbe..0000000 --- a/_includes/html-header.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - {{ site.title }} - - - - diff --git a/_layouts/default.html b/_layouts/default.html index f6b6be7..33cdced 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,15 +1,13 @@ - {%- include html-header.html -%} + {%- include head.html -%} - {%- include head.html -%} -
- {{site.name}} + {%- include header.html %} {{ content }}
diff --git a/main.scss b/main.scss index c408248..8fe29f7 100644 --- a/main.scss +++ b/main.scss @@ -82,13 +82,26 @@ li { } +// ---------------------------------- +// Header +// ---------------------------------- + +#header a:visited { + color: black; +} + + // ---------------------------------- // Primary Structure // ---------------------------------- +html { + margin: 20px; +} body { margin-top: 30px; + font-size: 110%; } main { @@ -96,18 +109,17 @@ main { margin:0px auto 0; } -.title { +#header .title { font-family:'bree_serifregular'; font-size: 404%; + margin-left: -1%; } #wrapper { width:725px; min-height:300px; margin-bottom:20px; - margin-right:15px; text-align:left; - padding:5px 5px 25px 20px; } -- 2.30.2