From 9bd8537e99218fb18c2e7b625b6ba4e475e2bce0 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 16 Jan 2021 21:04:12 +1000 Subject: [PATCH] minor css tweaks --- _layouts/default.html | 4 ++++ assets/style.css | 16 ++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index be574e7..f009649 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -6,6 +6,7 @@ + {% comment %}{% endcomment %} {{ page.title | default: "lynnesbian dot space" }} @@ -45,6 +46,9 @@
+ {%- unless page.custom_heading -%} + {% include h.html level=1 content=page.title %} + {%- endunless -%} {{ content }}
diff --git a/assets/style.css b/assets/style.css index 493d573..14c413d 100644 --- a/assets/style.css +++ b/assets/style.css @@ -25,8 +25,11 @@ h1, h2, h3 { font-weight: 400; } h1 { - font-size: 2em; + font-size: 3em; + text-align: center; + text-decoration: underline mediumpurple dotted 5px; } + h2 { font-size: 1.6em; } @@ -46,7 +49,6 @@ main article { font-size: 1.1em; } -main article h1, main article h2, main article h3 { border-left: 5px solid mediumpurple; @@ -55,8 +57,8 @@ main article h3 { } main article a { - color: #00a; - text-decoration-style: dashed; + color: #60a; + text-decoration-style: dotted; text-decoration-color: transparent; transition: 0.2s all; } @@ -133,3 +135,9 @@ nav a:hover::before { height: auto; margin: 30px auto 50px auto; } + +#bune { + height: max(200px, 10vh); + display: block; + margin: 50px auto 0; +} \ No newline at end of file