From 167b7e1b2955239241b159bcde01c889c0e99504 Mon Sep 17 00:00:00 2001 From: denizk0461 Date: Wed, 17 Sep 2025 15:55:13 +0100 Subject: [PATCH] Updated styles for mobile compatibility; removed live update column from devlog overview --- AGENTS.md | 1 + src/lib/banner-title-alt.svelte | 26 ++++++++ src/lib/banner-title.svelte | 23 ++++++- src/lib/content-sidebar.svelte | 14 +++- src/lib/content.svelte | 9 ++- src/lib/footer.svelte | 20 ++++-- src/routes/+layout.svelte | 45 +++++++++++-- src/routes/+page.svelte | 14 ++++ .../projects/projectn5/devlog/+page.svelte | 64 +++++++++++-------- 9 files changed, 177 insertions(+), 39 deletions(-) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..ee50059 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1 @@ +go fuck yourself \ No newline at end of file diff --git a/src/lib/banner-title-alt.svelte b/src/lib/banner-title-alt.svelte index 63d67ad..896767d 100644 --- a/src/lib/banner-title-alt.svelte +++ b/src/lib/banner-title-alt.svelte @@ -159,4 +159,30 @@ font-size: 1.3rem; margin-top: 0; } + + @media screen and (max-width: 800px) { + .subcontainer { + height: fit-content; + flex-direction: column; + } + .text-container-wide { + bottom: 0; + left: 0; + top: initial; + width: 100%; + } + .text-container { + width: initial; + } + .img-container { + width: 100%; + } + .img-container img { + height: 200px; + } + .subtitle { + font-size: 1.0rem; + line-height: 1.1rem; + } + } \ No newline at end of file diff --git a/src/lib/banner-title.svelte b/src/lib/banner-title.svelte index 61952ff..00c8c3c 100644 --- a/src/lib/banner-title.svelte +++ b/src/lib/banner-title.svelte @@ -27,17 +27,18 @@ \ No newline at end of file diff --git a/src/lib/content-sidebar.svelte b/src/lib/content-sidebar.svelte index eacb62b..9978214 100644 --- a/src/lib/content-sidebar.svelte +++ b/src/lib/content-sidebar.svelte @@ -10,7 +10,7 @@ \ No newline at end of file diff --git a/src/lib/content.svelte b/src/lib/content.svelte index 6a03f4c..71a1cb1 100644 --- a/src/lib/content.svelte +++ b/src/lib/content.svelte @@ -4,8 +4,15 @@ \ No newline at end of file diff --git a/src/lib/footer.svelte b/src/lib/footer.svelte index 356f23a..c2f58b0 100644 --- a/src/lib/footer.svelte +++ b/src/lib/footer.svelte @@ -46,10 +46,7 @@ \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index cc45e07..8f2f683 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -5,12 +5,14 @@ let { children } = $props(); -
-
-{@render children()} +
+
-
+ {@render children()} + +
+
\ No newline at end of file diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index af73297..3877896 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -171,4 +171,18 @@ transform: translateX( -100% ); } } + + @media screen and (max-width: 800px) { + .container { + flex-direction: column-reverse; + } + + .subcontainer { + max-width: 100%; + } + + .subcontainer:last-child { + margin-left: 0px; + } + } \ No newline at end of file diff --git a/src/routes/projects/projectn5/devlog/+page.svelte b/src/routes/projects/projectn5/devlog/+page.svelte index 832bd17..2f7a617 100644 --- a/src/routes/projects/projectn5/devlog/+page.svelte +++ b/src/routes/projects/projectn5/devlog/+page.svelte @@ -1,6 +1,6 @@