From 9a6cabe75ced9da265b31a70166593c7dc681325 Mon Sep 17 00:00:00 2001 From: elproffesore Date: Sat, 29 Jun 2024 09:38:29 +0200 Subject: [PATCH] update --- .gitignore | 3 +++ assets/css/tailwind.css | 11 ++++++----- components/AppHeader.vue | 4 ++-- components/CountingNumbers.vue | 4 ++-- components/GridComponent.vue | 2 +- components/SelectionComponent.vue | 5 +++-- pages/index.vue | 14 ++++++++++---- tailwind.config.js | 21 +++++++++++++++++++-- 8 files changed, 46 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index a79a822..a12d141 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,6 @@ logs .env .env.* !.env.example + +KeroinePRO-DouxExtreme.otf +KeroinePRO-IntenseLegere.otf \ No newline at end of file diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index e098f1d..48d6040 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -5,10 +5,10 @@ @layer base { :root { --primary: #f00; - --primaryOpaque: #f00a; - --secondary: #00f; - --secondaryOpaque: #00fa; - --background: #ccc + --primaryOpaque: #ff0000aa; + --secondary: #a75fff; + --secondaryOpaque: #a75fffaa; + --background: #e3e3e3 } @font-face { font-family: 'Keroine Doux'; @@ -22,10 +22,11 @@ } body { @apply bg-background text-text; + overflow-x: hidden; font-family: Keroine Doux, sans-serif; } h1 { - @apply text-2xl pb-12; + @apply text-2xl pb-8; font-family: Keroine Intense, sans-serif; } h2 { diff --git a/components/AppHeader.vue b/components/AppHeader.vue index 354142b..9b3ac3e 100644 --- a/components/AppHeader.vue +++ b/components/AppHeader.vue @@ -10,7 +10,7 @@ const props = defineProps({ } }) watch(() => props.updateMenuProgress, (nv) => { - document.getElementById('menu'+props.updateMenuNumber).style.backgroundImage = `linear-gradient(to right, var(--secondaryOpaque) 50%, #fff 50%)`; + document.getElementById('menu'+props.updateMenuNumber).style.backgroundImage = `linear-gradient(to right, var(--secondary) 50%, #fff 50%)`; document.getElementById('menu'+props.updateMenuNumber).style.backgroundPosition = -100-nv*100+'%'; }) function scrollTop() { @@ -36,7 +36,7 @@ function scrollTop() { li { font-weight: 200; font-size: 14px; - padding: 2px 35px; + padding: 6px 35px; border: 1px solid #000; border-radius: 30px; box-shadow: 0px 4px 4px rgba(0,0,0,0.25); diff --git a/components/CountingNumbers.vue b/components/CountingNumbers.vue index 77be3f3..a5025fa 100644 --- a/components/CountingNumbers.vue +++ b/components/CountingNumbers.vue @@ -2,8 +2,8 @@