From 61f7045f701b77b7c4a7be0634511a3ac75fe3ba Mon Sep 17 00:00:00 2001
From: Jonas_Jones <91549607+J-onasJones@users.noreply.github.com>
Date: Mon, 2 Oct 2023 18:54:22 +0200
Subject: [PATCH 01/13] Fixed Header overflow in mobile biew
---
src/lib/components/Header.svelte | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte
index 75984f4..6245b5c 100644
--- a/src/lib/components/Header.svelte
+++ b/src/lib/components/Header.svelte
@@ -61,4 +61,11 @@
float: left;
clear: both;
}
+
+
+@media screen and (max-width: 550px) {
+ header h1 {
+ font-size: 20px;
+ }
+}
From 5a5f6d3e376484fe43910aa1460b42cbea628f54 Mon Sep 17 00:00:00 2001
From: Jonas_Jones <91549607+J-onasJones@users.noreply.github.com>
Date: Mon, 2 Oct 2023 18:54:48 +0200
Subject: [PATCH 02/13] Offloaded Navbar listbuilder to new component
---
src/lib/components/Navbar.svelte | 74 ++------------------------------
1 file changed, 4 insertions(+), 70 deletions(-)
diff --git a/src/lib/components/Navbar.svelte b/src/lib/components/Navbar.svelte
index 36ea4b3..4d05883 100644
--- a/src/lib/components/Navbar.svelte
+++ b/src/lib/components/Navbar.svelte
@@ -1,80 +1,14 @@
-
+
-
-
- YOU CANT SEE THIS YOU CANT SEE THIS YOU CANT SEE THIS YOU CANT
- SEE THIS
-
From 1799f16ac5fe450419ce2571a6ade4edc3854229 Mon Sep 17 00:00:00 2001
From: Jonas_Jones <91549607+J-onasJones@users.noreply.github.com>
Date: Mon, 2 Oct 2023 19:09:46 +0200
Subject: [PATCH 06/13] Added extra small screen layout
---
src/lib/components/Footer.svelte | 9 ++++++++-
src/lib/components/Header.svelte | 7 ++++++-
src/lib/styles/style.css | 8 ++++++++
src/routes/+layout.svelte | 2 --
4 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/src/lib/components/Footer.svelte b/src/lib/components/Footer.svelte
index de87062..8bfaa5f 100644
--- a/src/lib/components/Footer.svelte
+++ b/src/lib/components/Footer.svelte
@@ -27,7 +27,7 @@
footer {
padding: 1rem;
margin: 2rem;
- margin-bottom: 0;
+ margin-bottom: 2rem;
margin-top: 0;
background: var(--container-background-color);
display: flex;
@@ -54,4 +54,11 @@
align-items: center;
font-size: 20px;
}
+
+ @media (max-width: 550px) {
+ footer {
+ margin: 0;
+ border-radius: 0;
+ }
+ }
diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte
index 6245b5c..77b2af9 100644
--- a/src/lib/components/Header.svelte
+++ b/src/lib/components/Header.svelte
@@ -19,7 +19,7 @@
header {
padding: 1rem;
margin: 2rem;
- margin-top: 0;
+ margin-top: 2rem;
margin-bottom: 0;
background: rgb(0, 255, 0);
display: flex;
@@ -67,5 +67,10 @@
header h1 {
font-size: 20px;
}
+
+ header {
+ margin: 0;
+ border-radius: 0;
+ }
}
diff --git a/src/lib/styles/style.css b/src/lib/styles/style.css
index 83ceebe..f970c5a 100644
--- a/src/lib/styles/style.css
+++ b/src/lib/styles/style.css
@@ -142,3 +142,11 @@ details a {
margin-top: 0;
}
}
+
+@media screen and (max-width: 550px) {
+ .column {
+ margin: 0;
+ margin-bottom: 1rem;
+ border-radius: 0;
+ }
+}
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 8f4c01c..f47681f 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -5,7 +5,6 @@
-
-
From 390f5faa6b393a171127a7039d640ba8b316ba7c Mon Sep 17 00:00:00 2001
From: Jonas_Jones <91549607+J-onasJones@users.noreply.github.com>
Date: Mon, 2 Oct 2023 19:22:09 +0200
Subject: [PATCH 07/13] Fixed width issue
Fixed an issue where the paddings/margins were too big on the ultra-small layout
---
src/lib/styles/style.css | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/lib/styles/style.css b/src/lib/styles/style.css
index f970c5a..1d3439e 100644
--- a/src/lib/styles/style.css
+++ b/src/lib/styles/style.css
@@ -149,4 +149,11 @@ details a {
margin-bottom: 1rem;
border-radius: 0;
}
+
+ main {
+ margin: 0;
+ padding: 15px;
+ margin-bottom: 1rem;
+ border-radius: 0;
+ }
}
From 10e669a7257cb8f5961f5b6397048780b3fe2ad4 Mon Sep 17 00:00:00 2001
From: Jonas_Jones <91549607+J-onasJones@users.noreply.github.com>
Date: Mon, 2 Oct 2023 19:29:33 +0200
Subject: [PATCH 08/13] Code Refactor
---
src/lib/components/Header.svelte | 26 ++++---
src/lib/components/NavbarList.svelte | 110 +++++++++++++--------------
src/lib/styles/style.css | 2 +-
src/routes/+layout.svelte | 1 -
4 files changed, 72 insertions(+), 67 deletions(-)
diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte
index 77b2af9..97c1d9d 100644
--- a/src/lib/components/Header.svelte
+++ b/src/lib/components/Header.svelte
@@ -9,7 +9,14 @@
@@ -62,15 +69,14 @@
clear: both;
}
+ @media screen and (max-width: 550px) {
+ header h1 {
+ font-size: 20px;
+ }
-@media screen and (max-width: 550px) {
- header h1 {
- font-size: 20px;
+ header {
+ margin: 0;
+ border-radius: 0;
+ }
}
-
- header {
- margin: 0;
- border-radius: 0;
- }
-}
diff --git a/src/lib/components/NavbarList.svelte b/src/lib/components/NavbarList.svelte
index 89726f1..5cd78a8 100644
--- a/src/lib/components/NavbarList.svelte
+++ b/src/lib/components/NavbarList.svelte
@@ -1,73 +1,73 @@
-{@html renderedList}
\ No newline at end of file
+{@html renderedList}
diff --git a/src/lib/styles/style.css b/src/lib/styles/style.css
index 1d3439e..054968a 100644
--- a/src/lib/styles/style.css
+++ b/src/lib/styles/style.css
@@ -156,4 +156,4 @@ details a {
margin-bottom: 1rem;
border-radius: 0;
}
-}
+}
\ No newline at end of file
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index f47681f..f7341bd 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -2,7 +2,6 @@
import Header from "$lib/components/Header.svelte";
import Footer from "$lib/components/Footer.svelte";
import Navbar from "$lib/components/Navbar.svelte";
-
From 6c5f82ad31af7424950e9799ec56ccf6290b83e1 Mon Sep 17 00:00:00 2001
From: Jonas_Jones <91549607+J-onasJones@users.noreply.github.com>
Date: Mon, 2 Oct 2023 19:32:44 +0200
Subject: [PATCH 09/13] Added Dark-Reader extension lock
---
src/app.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/app.html b/src/app.html
index effe0d0..f611d74 100644
--- a/src/app.html
+++ b/src/app.html
@@ -1,6 +1,7 @@
+
From 3c3e128475955af1e985160bef3ac9183cee566a Mon Sep 17 00:00:00 2001
From: Jonas_Jones <91549607+J-onasJones@users.noreply.github.com>
Date: Mon, 2 Oct 2023 19:36:36 +0200
Subject: [PATCH 10/13] Fixed Header title on ultra-thin layout
---
src/lib/components/Header.svelte | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte
index 97c1d9d..b7c84cf 100644
--- a/src/lib/components/Header.svelte
+++ b/src/lib/components/Header.svelte
@@ -72,11 +72,14 @@
@media screen and (max-width: 550px) {
header h1 {
font-size: 20px;
+ float:none;
+ margin-left: 35px;
}
header {
margin: 0;
border-radius: 0;
+ text-align: left;
}
}
From 6f855a9f4584370d0ddd1d8fa93d668ccd3529bd Mon Sep 17 00:00:00 2001
From: Jonas_Jones <91549607+J-onasJones@users.noreply.github.com>
Date: Mon, 2 Oct 2023 19:40:44 +0200
Subject: [PATCH 11/13] Fixed Footer Style
Fixed an issue where the footer text would wrap in a wrong way on smaller screens and not be aligned correctly.
---
src/lib/components/Footer.svelte | 39 +++++++++++++++++---------------
1 file changed, 21 insertions(+), 18 deletions(-)
diff --git a/src/lib/components/Footer.svelte b/src/lib/components/Footer.svelte
index 8bfaa5f..66bcffd 100644
--- a/src/lib/components/Footer.svelte
+++ b/src/lib/components/Footer.svelte
@@ -4,23 +4,25 @@