From 5be642e5e710f162d1727e8983cbc3e2f91ac2a6 Mon Sep 17 00:00:00 2001 From: ktyl Date: Tue, 30 Nov 2021 00:32:21 +0000 Subject: [PATCH] page title templates --- src/inc_html/titleend.html | 1 + src/inc_html/titlestart.html | 2 ++ src/root/about.html | 11 ++++++----- src/root/blog.html | 11 ++++++----- src/root/contact | 10 ++++++---- src/root/contact.html | 11 ++++++----- src/root/gallery.html | 33 +++++++++++++++++---------------- src/root/index.html | 5 +++++ src/root/styles.css | 8 +++++++- 9 files changed, 56 insertions(+), 36 deletions(-) create mode 100644 src/inc_html/titleend.html create mode 100644 src/inc_html/titlestart.html diff --git a/src/inc_html/titleend.html b/src/inc_html/titleend.html new file mode 100644 index 0000000..3b966ef --- /dev/null +++ b/src/inc_html/titleend.html @@ -0,0 +1 @@ + diff --git a/src/inc_html/titlestart.html b/src/inc_html/titlestart.html new file mode 100644 index 0000000..e8205eb --- /dev/null +++ b/src/inc_html/titlestart.html @@ -0,0 +1,2 @@ +
+

ktyl@website diff --git a/src/root/about.html b/src/root/about.html index 737e059..2bf3c82 100644 --- a/src/root/about.html +++ b/src/root/about.html @@ -4,12 +4,13 @@ #include header.html -
-

ktyl@website/about

-
- #include sidebar.html - #include planets.html +#include titlestart.html +/about +#include titleend.html + +#include sidebar.html +#include planets.html diff --git a/src/root/blog.html b/src/root/blog.html index 6a0b597..9c3269a 100644 --- a/src/root/blog.html +++ b/src/root/blog.html @@ -4,12 +4,13 @@ #include header.html -
-

ktyl@website/blog

-
- #include sidebar.html - #include planets.html +#include titlestart.html +/blog +#include titleend.html + +#include sidebar.html +#include planets.html diff --git a/src/root/contact b/src/root/contact index 667b8b5..08b1bd3 100644 --- a/src/root/contact +++ b/src/root/contact @@ -4,11 +4,13 @@ #include header.html -
-

ktyl@website/contact

-
- #include sidebar.html +#include titlestart.html +/contact +#include titleend.html + +#include sidebar.html +#include planets.html diff --git a/src/root/contact.html b/src/root/contact.html index d3c15e1..08b1bd3 100644 --- a/src/root/contact.html +++ b/src/root/contact.html @@ -4,12 +4,13 @@ #include header.html -
-

ktyl@website/contact

-
- #include sidebar.html - #include planets.html +#include titlestart.html +/contact +#include titleend.html + +#include sidebar.html +#include planets.html diff --git a/src/root/gallery.html b/src/root/gallery.html index 349269e..fb53920 100644 --- a/src/root/gallery.html +++ b/src/root/gallery.html @@ -4,30 +4,31 @@ #include header.html -
-

ktyl@website/gallery

-
+ +#include titlestart.html +/gallery +#include titleend.html #include sidebar.html
- -
- - - - - - - - - - +
+ + + + + + + + + + +
#include planets.html - #include footer.html + diff --git a/src/root/index.html b/src/root/index.html index 8bb76b3..e644da1 100644 --- a/src/root/index.html +++ b/src/root/index.html @@ -7,9 +7,14 @@ ktyl ~ home + #include titlestart.html + #include titleend.html + + #include sidebar.html
diff --git a/src/root/styles.css b/src/root/styles.css index 488bcec..5ab0121 100644 --- a/src/root/styles.css +++ b/src/root/styles.css @@ -13,7 +13,6 @@ body { .title { position: relative; - margin-top: 40px; margin-left: 80px; font-size: 1.4em; @@ -21,12 +20,19 @@ body { .title a { transition: color 0.3s; + color: var(--foreground-active); + } .title a:hover { color: lightpink; } +.pageTitle { + margin-left: -0.15em; + color: var(--foreground-inactive); +} + h1 { font-size: var(--font-size); color: var(--color1);