From 5ae45a9d73aec4f86f2a7354e44e446ff82baee9 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 10 Jan 2021 12:59:16 +1000 Subject: [PATCH] minor css stuff, new headers --- _content/index.html | 4 ++-- _includes/h.html | 1 + _layouts/default.html | 1 + assets/style.css | 28 ++++++++++++++++++++++++++-- 4 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 _includes/h.html diff --git a/_content/index.html b/_content/index.html index 22f4d25..76b835c 100644 --- a/_content/index.html +++ b/_content/index.html @@ -2,12 +2,12 @@ title: Home permalink: / --- -

Lynnesbian dot Space

+{% include h.html level=1 content="Lynnesbian dot Space" %}

Welcome to my website, where I write about and catalogue things that are interesting to me, and maybe even to you, too!

-

About me

+{% include h.html level=2 content="About me" %}

At some point I will write more here.

diff --git a/_includes/h.html b/_includes/h.html new file mode 100644 index 0000000..5343acf --- /dev/null +++ b/_includes/h.html @@ -0,0 +1 @@ +{{ include.content }} \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 927438a..d518834 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,6 +5,7 @@ + {% comment %}{% endcomment %} {{ page.title | default: "lynnesbian dot space" }} diff --git a/assets/style.css b/assets/style.css index 97a8dd9..1582924 100644 --- a/assets/style.css +++ b/assets/style.css @@ -9,6 +9,28 @@ body { background: #ccc; } +h1, h2, h3, h4, h5, h6 { + font-family: "Open Sans", sans-serif; +} +h1 a, +h2 a, +h3 a, +h4 a, +h5 a, +h6 a { + color: inherit; + text-decoration: none; +} +h1, h2 { + font-weight: 400; +} +h1 { + font-size: 2em; +} +h2 { + font-size: 1.6em; +} + main article { max-width: 1800px; box-shadow: 0 0 20px #777; @@ -22,7 +44,9 @@ main article { main article h1, main article h2 { - margin-left: -20px; + border-left: 5px solid mediumpurple; + padding-left: 5px; + margin-left: -10px; } header { @@ -53,4 +77,4 @@ nav a:hover { display: block; width: min(100%, 150px); margin: 30px auto 80px auto; -} \ No newline at end of file +}