From 61bc2541f74c17c029eb072eb927c98bdce3b590 Mon Sep 17 00:00:00 2001 From: Simon C Date: Sat, 20 Apr 2024 00:38:12 +0200 Subject: [PATCH] feat: Ajout d'un lien vers une documentation --- src/assets/base.css | 10 ++++- src/components/Score.vue | 3 +- src/components/ScoreHeader.vue | 63 ++++++++++++++----------------- src/components/ScoresList.vue | 68 ++++++++++++---------------------- 4 files changed, 63 insertions(+), 81 deletions(-) diff --git a/src/assets/base.css b/src/assets/base.css index 8f831b4..8486a9e 100644 --- a/src/assets/base.css +++ b/src/assets/base.css @@ -46,7 +46,7 @@ body.theme-dark { } } -@media (min-height: 800px) { +@media (min-height: 1000px) { :root { --header-size: var(--header-size-big); } @@ -115,3 +115,11 @@ body.print { width: 100%; height: 100%; } + +header svg.color-text [stroke] { + stroke: var(--color-header-text); +} + +header svg.color-text [fill]:not([fill=none]) { + fill: var(--color-header-text) +} diff --git a/src/components/Score.vue b/src/components/Score.vue index d1ed63a..c552bef 100644 --- a/src/components/Score.vue +++ b/src/components/Score.vue @@ -63,6 +63,7 @@ function getTranslation(translations, key) { } const trad = getTranslation(score.translations, "languages_id"); const title = score ? trad.title : ""; +const link = score ? trad.link : ""; const questions = ref(formatScore(score)); const scoreSum = computed(() => { @@ -164,7 +165,7 @@ async function share() {