From bd267ecbe7f8d2bfc7f95b737238df23bd0979e5 Mon Sep 17 00:00:00 2001 From: Matthias Portzel Date: Tue, 4 Jul 2023 09:08:35 -0700 Subject: [PATCH] Remove comments, style tweaks --- paper-houses-theme/assets/styles/main.scss | 30 ++++++++++++++-------- paper-houses-theme/default.hbs | 21 +++++---------- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/paper-houses-theme/assets/styles/main.scss b/paper-houses-theme/assets/styles/main.scss index 2165315..7bd6be1 100644 --- a/paper-houses-theme/assets/styles/main.scss +++ b/paper-houses-theme/assets/styles/main.scss @@ -86,11 +86,21 @@ a, a:visited { font-weight: 700; } } -html, body { +html { + margin: 0; + padding: 0; + width: 100%; + height: 100%; +} +body { margin: 0; padding: 0; min-width: 100%; min-height: 100%; + position: absolute; + + // Bottom padding so #hero-pattern-attribution never overlaps content + padding-bottom: 45px; } body { @@ -358,17 +368,17 @@ ul.links-list { } #hero-pattern-attribution { - text-align: right; - display: block; + display: inline-block; + position: absolute; + right: 0; + bottom: 0; + padding: 10px; + background-color: var(--body-background); + opacity: 50%; + color: var(--accent); - span { - padding: 15px; - background-color: var(--body-background); - opacity: 50%; + a { color: var(--accent); - a { - color: var(--accent); - } } } diff --git a/paper-houses-theme/default.hbs b/paper-houses-theme/default.hbs index c82a39d..ef094f5 100644 --- a/paper-houses-theme/default.hbs +++ b/paper-houses-theme/default.hbs @@ -10,22 +10,14 @@ {{!-- Theme assets - use the {asset} helper to reference styles & scripts, this will take care of caching and cache-busting automatically --}} - {{!-- TODO: Do I need this? --}} - {{!-- comment --}} - - {{!-- comment --}} - {{!-- comment --}} - - {{!-- This tag outputs all your advanced SEO meta, structured data, and other important settings, it should always be the last tag before the closing head tag --}} {{ghost_head}} -
@@ -40,7 +32,6 @@ @@ -49,15 +40,15 @@ {{!-- My content footer --}} - - {{!-- Ghost scripts --}} - {{!-- Ghost outputs required functional scripts with this tag - it should always be the last thing before the closing body tag --}} - {{ghost_foot}}
-
Background from Hero Patterns; CC BY 4.0
+
Background from Hero Patterns; CC BY 4.0
+ + {{!-- Ghost scripts --}} + {{!-- Ghost outputs required functional scripts with this tag - it should always be the last thing before the closing body tag --}} + {{ghost_foot}}