From a69915b46def7fe51f72ae1ff39cd619081170e3 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sat, 22 Jul 2023 20:55:57 +0200 Subject: [PATCH] feat: Little bit of redesigning Fixes articles overflowing on small screens. --- input.css | 36 +++++++++++++++++------------ layout/item.html | 20 +++++++--------- layout/list.html | 8 +++---- layout/page.html | 59 ++++++++++++++++++++---------------------------- layout/post.html | 29 ++++++++++++------------ 5 files changed, 73 insertions(+), 79 deletions(-) diff --git a/input.css b/input.css index 9b4152a..722858e 100644 --- a/input.css +++ b/input.css @@ -2,19 +2,27 @@ @tailwind components; @tailwind utilities; -html { - background-color: #212121; -} - @layer base { - article > p > a, h1, h2, h3, h4, h5, h6 { - @apply text-indigo-400 !important; - } - article > p > strong, code { - @apply text-white !important; - } + article > p > a, h1, h2, h3, h4, h5, h6 { + @apply text-indigo-400 !important; + } + article > p > strong, code { + @apply text-white !important; + } - article > h1, h2, h3, h4, h5, h6 { - @apply text-indigo-400 !important; - } -} \ No newline at end of file + article > h1, h2, h3, h4, h5, h6 { + @apply text-indigo-400 !important; + } + + body { + background-color: #212121; + } + + html { + @apply text-white; + } + + a { + @apply text-indigo-400 !important; + } +} diff --git a/layout/item.html b/layout/item.html index 751bf07..94e3ef8 100644 --- a/layout/item.html +++ b/layout/item.html @@ -1,14 +1,10 @@ -
- -

{{ title }}

-
+
+

{{ title }}

+ Posted on {{ date }} -

- Posted on {{ date }} -

- -

- {{ summary }}... -

-
\ No newline at end of file + + + {{ summary }} + +
diff --git a/layout/list.html b/layout/list.html index 4473bc4..e09ae7d 100644 --- a/layout/list.html +++ b/layout/list.html @@ -1,4 +1,4 @@ - -
- {{ content }} -
\ No newline at end of file + +
+ {{ content }} +
diff --git a/layout/page.html b/layout/page.html index 916020f..aafade6 100644 --- a/layout/page.html +++ b/layout/page.html @@ -1,49 +1,38 @@ - - - {{ title }} - - - - + + - - {{ mathjax_include }} - - - + - + + {{ mathjax_include }} + + +
+ +
+ Profile picture +
+ PapaTutuWawa's Blog - -
- -
-
- - -
-

PapaTutuWawa's blog

- -
- Posts - RSS - About -
-
-
+
+
- {{ content }} + {{ content }}
- - - \ No newline at end of file + + diff --git a/layout/post.html b/layout/post.html index 7329f23..1bb46d3 100644 --- a/layout/post.html +++ b/layout/post.html @@ -1,18 +1,19 @@ - -
-

{{ title }}

+ +
+

{{ title }}

-

Posted on {{ date }}

+ Posted on {{ date }} -
- {{ content }} -
+ +
+ {{ content }} +
- - - If you have any questions or comments, then feel free to send me an email (Preferably with GPG encryption) to - {{ email_user }} [at] {{ email_domain }} or - reach out to me on the Fediverse at {{ fediverse_handle }}. + +
+ + If you have any questions or comments, then feel free to send me an email (Preferably with GPG encryption) + to {{ email_user }} [at] {{ email_domain }} or reach out to me on the Fediverse at {{ fediverse_handle }}. -
\ No newline at end of file +
+