From d8b038dc9c964d3e2732ff46b5e09b7e74c7b1e1 Mon Sep 17 00:00:00 2001 From: Raymonzut <40148684+Raymonzut@users.noreply.github.com> Date: Sun, 31 May 2020 22:32:58 +0200 Subject: [PATCH 1/3] Reset padding, margin and width for entire bg --- client/public/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client/public/index.html b/client/public/index.html index f0d623a..17d0c2b 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -6,6 +6,14 @@ Personal Website + + From aab9885242353e8098bdc727eb638b4710fad54a Mon Sep 17 00:00:00 2001 From: Raymonzut <40148684+Raymonzut@users.noreply.github.com> Date: Sun, 31 May 2020 22:42:14 +0200 Subject: [PATCH 2/3] Add theme switching button --- client/src/App.vue | 61 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 52 insertions(+), 9 deletions(-) diff --git a/client/src/App.vue b/client/src/App.vue index 2579ba5..52c0f7c 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -1,28 +1,71 @@ + From dd4e2ca9fbf29a54686a96323a90fac90564eb70 Mon Sep 17 00:00:00 2001 From: Raymonzut <40148684+Raymonzut@users.noreply.github.com> Date: Mon, 1 Jun 2020 16:53:40 +0200 Subject: [PATCH 3/3] Style theme switching button --- client/src/App.vue | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/client/src/App.vue b/client/src/App.vue index 52c0f7c..a903e65 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -5,10 +5,10 @@ Posts | QA -
- +
+ @@ -67,5 +67,21 @@ body { min-height: 100vh; } +#toggleThemeButton { + background: var(--primary-color); + border: 0px; + color: var(--text-color); + margin: 0 auto; + + margin-right: 0px; +} + +@media (min-width:420px) { + #toggleThemeButton { + float:right; + margin-right: 10px; + } +} +