diff --git a/css/style.css b/css/style.css index eaaf81f..c40144e 100644 --- a/css/style.css +++ b/css/style.css @@ -35,20 +35,23 @@ header h2 { #lang { margin-top: 20px; + display: grid; + grid-auto-flow: column; + grid-column-gap: 1em; + grid-template-rows: fit-content(100%); } -#lang img { - border: 2px solid black; - filter: brightness(50%); +#lang a { + font-weight: bold; + font-size: 150%; } #lang #choose { - filter: brightness(100%); + color: #4970E1; } -#lang img:hover { - filter: brightness(100%); - border-color: cyan; +#lang a:hover { + color: #FA4DBA; } #header-links { diff --git a/generate.sh b/generate.sh index c6aed7b..a940a6f 100755 --- a/generate.sh +++ b/generate.sh @@ -179,7 +179,7 @@ do sed -i -e "/%links%/d" $file sed -i -e "/%link%/,/%endlink%/d" $file - sed -i -e "s/img alt=\"$l/img id=\"choose\" alt=\"$l/" $file + sed -i -e "s/>${l^^}<\/a>/ id=\"choose\">${l^^}<\/a>/" $file sed -i -e "s/%file%/$i/" $file sed -i -e "s/%gitfile%/lang\/$l\/$i/" $file diff --git a/header.html b/header.html index 6b00e9e..78cf5d3 100644 --- a/header.html +++ b/header.html @@ -17,8 +17,8 @@
The Glider comes from catb website.
-I use SVGs from Wikipedia.
- -The links on the buttons are often websites where I found them.
diff --git a/lang/en/index.html b/lang/en/index.html index fc151ef..5d3869e 100644 --- a/lang/en/index.html +++ b/lang/en/index.html @@ -24,6 +24,7 @@ rel="stylesheet" href="/css/index.css"I'll add the interesting news of my website here. Read the commits to have more informations about the small changes of the site !
04-04-2024:
use ISO norm instead of flags for languages.
25-10-2023:
translate everything \o/ (unless ??).
04-10-2023:
moving to a VPS at Contabo.
29-09-2023:
nice favicon :).
Le Glider vient du site de catb.
-Ils proviennent des fichiers SVG de Wikipedia.
- -Les liens des boutons sont souvent les sites sur lesquels j'ai pu trouver les boutons.
diff --git a/lang/fr/index.html b/lang/fr/index.html index c73b1c6..5e514f2 100644 --- a/lang/fr/index.html +++ b/lang/fr/index.html @@ -24,6 +24,7 @@ rel="stylesheet" href="/css/index.css"Je rajouterai les nouveautés intéressantes du site ici. Lisez les commits pour avoir plus de détails sur les petites modifications du site !
04-04-2024:
utilisation de la norme ISO au lieu de drapeaux pour les langues.
04-10-2023:
migration vers un VPS chez Contabo.
29-09-2023:
un joli favicon :).
30-05-2023:
une meilleure CSP pour éviter les injections de trackers.