From 1c1d8da51d693b02c1c4a0a9aff6f86ab799c310 Mon Sep 17 00:00:00 2001 From: Laurent <58115082+naaturel@users.noreply.github.com> Date: Fri, 28 Feb 2025 19:55:01 +0100 Subject: [PATCH] Add some style again again --- src/App.vue | 2 +- src/assets/base.css | 20 ++++------ src/assets/main.css | 14 +++---- src/components/NavLink.vue | 24 ++++++++++++ src/layouts/LayoutDefault.vue | 33 ++++++++++++----- src/views/HomeView.vue | 69 ++++++++++++++++++++++------------- 6 files changed, 106 insertions(+), 56 deletions(-) create mode 100644 src/components/NavLink.vue diff --git a/src/App.vue b/src/App.vue index e69b4e2..0154c3d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,7 +3,7 @@ import LayoutDefault from "@/layouts/LayoutDefault.vue"; diff --git a/src/assets/base.css b/src/assets/base.css index f904b6d..05cb013 100644 --- a/src/assets/base.css +++ b/src/assets/base.css @@ -1,19 +1,15 @@ -/* -fff8ed-1b2021-51513d-63c132 -*/ - :root { - --primary-color : #fff8ed; - --secondary-color : #63c132; - --tertiary-color : #51513d; - --bruh-color : #1b2021; + --primary-color : #1b2021; + --secondary-color : #9BC53D; + --header-color : #FCFCFC; + --background-color : #FCFCFC; --radius : 3px; } @media screen and (min-width: 601px) { :root { - --font-size : 1rem; + --font-size : 1.5rem; } } @@ -25,9 +21,9 @@ fff8ed-1b2021-51513d-63c132 * { - color: #141115; + color: var(--primary-color); text-decoration: none; - font-family: 'PT Sans', sans-serif; + font-family: 'Afacad Flux', sans-serif; transition: 0.3s all; -} +} \ No newline at end of file diff --git a/src/assets/main.css b/src/assets/main.css index d166ac0..c51a763 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -1,24 +1,20 @@ @import './base.css'; -html, body { +html, body, #app, .layout { margin: 0; - height: 100%; + height: 100vh; + width: 100vw; } body { - background: var(--primary-color); + background-color: white; font-size: var(--font-size); } -#app -{ - height: 100%; -} - .layout { - height: 100%; + background: var(--background-color); } footer diff --git a/src/components/NavLink.vue b/src/components/NavLink.vue new file mode 100644 index 0000000..c1467dc --- /dev/null +++ b/src/components/NavLink.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/src/layouts/LayoutDefault.vue b/src/layouts/LayoutDefault.vue index 8ce6998..56b824a 100644 --- a/src/layouts/LayoutDefault.vue +++ b/src/layouts/LayoutDefault.vue @@ -3,13 +3,12 @@