From 62b7b698b931ef4385e64e70404daadde0958b70 Mon Sep 17 00:00:00 2001
From: kiw-q
Date: Sat, 13 Aug 2022 17:16:25 +0200
Subject: [PATCH] Please comply XHTML uwu
---
assets/css/article.css | 4 +-
assets/css/landing.css | 20 +++++-----
assets/css/theme.css | 2 +-
content/pages/articles.njk | 10 ++---
.../articles/graphical-profile/colours.njk | 4 +-
.../articles/graphical-profile/intro.njk | 2 +-
content/pages/index.njk | 38 +++++++++++--------
content/templates/article.njk | 12 +++---
content/templates/article_md.njk | 12 +++---
content/templates/defaultTags.njk | 30 +++++++--------
content/templates/external_md.njk | 12 +++---
libs/generateContext.js | 2 +-
libs/markedRenderer.js | 2 +-
libs/nunjucksConfig.js | 3 +-
14 files changed, 80 insertions(+), 73 deletions(-)
diff --git a/assets/css/article.css b/assets/css/article.css
index 480f412..2d76b86 100644
--- a/assets/css/article.css
+++ b/assets/css/article.css
@@ -5,12 +5,12 @@ article {
grid-template-rows: repeat(3, auto);
}
-article > header {
+article > #header {
grid-area: header;
margin-bottom: 2rem;
}
-article > header > i {
+article > #header > i {
color: var(--accent);
display: block;
font-size: 1rem;
diff --git a/assets/css/landing.css b/assets/css/landing.css
index 542c57b..738b761 100644
--- a/assets/css/landing.css
+++ b/assets/css/landing.css
@@ -2,24 +2,24 @@ body {
width: min(95vw, 52rem);
}
-header > img {
+#header > img {
height: 15vh;
margin: .5rem auto;
box-shadow: none;
}
-header > h1,
-header > p {
+#header > h1,
+#header > p {
margin-top: 0;
font-family: 'Manrope XLight';
color: var(--text);
}
-header > h1 > span {
+#header > h1 > span {
font: inherit;
}
-nav {
+#nav {
display: flex;
justify-content: center;
flex-wrap: wrap;
@@ -28,7 +28,7 @@ nav {
width: 100%;
}
-nav > a {
+#nav > a {
color: var(--text);
border-bottom: .05rem solid var(--text);
@@ -41,7 +41,7 @@ nav > a {
transition: color .3s, border-bottom .3s, padding .3s;
}
-nav > a:hover {
+#nav > a:hover {
color: var(--primary);
border-bottom: .05rem solid var(--primary);
}
@@ -177,7 +177,7 @@ nav > a:hover {
color: var(--accent);
}
-footer {
+#footer {
display: flex;
flex-direction: column;
align-items: center;
@@ -190,8 +190,8 @@ footer {
border-top: .1rem solid var(--accent);
}
-footer > p,
-footer > p > a {
+#footer > p,
+#footer > p > a {
font-size: .65rem;
}
diff --git a/assets/css/theme.css b/assets/css/theme.css
index b5b1013..9d81961 100644
--- a/assets/css/theme.css
+++ b/assets/css/theme.css
@@ -26,7 +26,7 @@ body {
color: var(--text);
}
-header {
+#header {
color: var(--primary);
font-size: 3rem;
text-align: center;
diff --git a/content/pages/articles.njk b/content/pages/articles.njk
index e13b603..d11c34c 100644
--- a/content/pages/articles.njk
+++ b/content/pages/articles.njk
@@ -1,14 +1,14 @@
-
-
+
+
{% include "templates/defaultTags.njk" %}
-
+
Site Map
-
#}
-
-
+
-
-
TOOLBOX
+
+
+ TOOLBOX
+
Nitter
@@ -81,9 +83,11 @@
-
-
SERVICES
+
+
+ SERVICES
+
These services requires an account, which you can create here.
@@ -132,9 +136,11 @@
-
-
CONTACT
+
+
+ CONTACT
+
If you have any questions, feedback, ideas, or anything else, feel free to contact us.
@@ -156,7 +162,7 @@
-