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 @@

%subtitle%

- fr - en + FR + EN
diff --git a/img/en.svg b/img/en.svg deleted file mode 100644 index 75b969d..0000000 --- a/img/en.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/img/fr.svg b/img/fr.svg deleted file mode 100644 index 3165e37..0000000 --- a/img/fr.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/lang/en/about.html b/lang/en/about.html index 867e1cc..17b2693 100644 --- a/lang/en/about.html +++ b/lang/en/about.html @@ -10,14 +10,6 @@

Header

The Glider comes from catb website.

-

Flags

-

I use SVGs from Wikipedia.

- - -

Web buttons in footer

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"

News

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 :).

diff --git a/lang/fr/apropos.html b/lang/fr/apropos.html index 56011eb..f51289d 100644 --- a/lang/fr/apropos.html +++ b/lang/fr/apropos.html @@ -10,14 +10,6 @@

Header

Le Glider vient du site de catb.

-

Drapeaux des langues

-

Ils proviennent des fichiers SVG de Wikipedia.

- - -

Boutons web dans le footer

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"

Nouveautés

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.