From 258a8c16225bbc713e6cb71f1e1ea2847a4e3cf5 Mon Sep 17 00:00:00 2001 From: litemotiv Date: Sun, 27 Oct 2024 11:52:33 +0100 Subject: [PATCH 1/4] Prevent the H1 animation from pushing down the contents on the first run --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index e914fc5..87f0870 100644 --- a/style.css +++ b/style.css @@ -78,8 +78,8 @@ h1 { 50% { opacity: 0; } } @keyframes reveal { - from { width: 2em; } /* Width of ::before */ - to { width: 100%; } + from { max-width: 2em; } /* Width of ::before */ + to { max-width: 100%; } } #fancyboi { overflow: hidden; From e860ab0bcc54869609088aac9597c8b424e686c5 Mon Sep 17 00:00:00 2001 From: litemotiv Date: Sun, 27 Oct 2024 11:54:02 +0100 Subject: [PATCH 2/4] Set HTML Doctype --- header.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/header.php b/header.php index a2823a9..6c29bb1 100644 --- a/header.php +++ b/header.php @@ -1,4 +1,5 @@ - + + From 8fe11a8dbae0c1facb91c9670acfc0d533d83a3f Mon Sep 17 00:00:00 2001 From: litemotiv Date: Sun, 27 Oct 2024 11:54:51 +0100 Subject: [PATCH 3/4] Remove legacy IE tag --- header.php | 1 - 1 file changed, 1 deletion(-) diff --git a/header.php b/header.php index 6c29bb1..a664d03 100644 --- a/header.php +++ b/header.php @@ -2,7 +2,6 @@ - <?=isset($title) ? $title : "Welcome to ~tilde.club~"?> From bd21c4fd1a487435c1af30e03f52357f7846ebff Mon Sep 17 00:00:00 2001 From: litemotiv Date: Sun, 27 Oct 2024 11:57:46 +0100 Subject: [PATCH 4/4] Prevent RSS icon from resizing on the first load --- header.php | 8 +++----- style.css | 5 ----- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/header.php b/header.php index a664d03..f78f08e 100644 --- a/header.php +++ b/header.php @@ -16,8 +16,6 @@
-
- - RSS Feed - -
+ + RSS icon + diff --git a/style.css b/style.css index 87f0870..146cb52 100644 --- a/style.css +++ b/style.css @@ -135,11 +135,6 @@ code > span.fl { padding: 14px; } - .rss-icon img { - width: 24px; /* Adjust icon size */ - height: 24px; /* Adjust icon size */ - } - /* Page content */ .content { padding-top: 5px;