diff options
author | Tixie <hello.git.deuxfleurs@tixie.name> | 2024-06-08 19:08:56 +0000 |
---|---|---|
committer | Tixie <hello.git.deuxfleurs@tixie.name> | 2024-06-08 19:08:56 +0000 |
commit | 6ae76f5b93db912360292aca071e6d5e8e67a1af (patch) | |
tree | 6e323ec0667b4ae274812c05c84178e4c416b58d /static/css | |
parent | 9a230c545dfde7e2253558f18a1811931001b258 (diff) | |
parent | 469d165852c384b13302d3a29570078c71742eb1 (diff) | |
download | site-6ae76f5b93db912360292aca071e6d5e8e67a1af.tar.gz site-6ae76f5b93db912360292aca071e6d5e8e67a1af.zip |
Merge pull request 'Acessibilité web: Améliorations sémantique' (#42)
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/site/pulls/42
Reviewed-by: aeddis <aeddis@noreply.localhost>
Diffstat (limited to 'static/css')
-rw-r--r-- | static/css/home.css | 1 | ||||
-rw-r--r-- | static/css/layout.css | 19 |
2 files changed, 13 insertions, 7 deletions
diff --git a/static/css/home.css b/static/css/home.css index ceb0685..14c753a 100644 --- a/static/css/home.css +++ b/static/css/home.css @@ -31,6 +31,7 @@ div#jardin p { h2#infras { background-color: var(--infras); grid-area: title-start 1 / col-sep 1 / title-end 1 / col-sep 12; + padding-bottom: 10px; /* Ajoutez de l'espace en dessous du texte */ } div#rennes { diff --git a/static/css/layout.css b/static/css/layout.css index aa1ede3..163f2f1 100644 --- a/static/css/layout.css +++ b/static/css/layout.css @@ -32,6 +32,11 @@ } /* PAR DEFAUT */ + +h1 > .decoration:last-of-type:before, h2 > .decoration:last-of-type:before{ + content: '\A____________________________________\A""""""""""""""""""""""""""""""""""""'; +} + html, body, main { margin: 0; padding: 0; @@ -220,17 +225,17 @@ pre.center > a { --small_margin: 5px; } - h1:before, h1:after { + h1 > .decoration:last-of-type:before { content: ""; } - h2:before { - content: '______________________________________________________________________\A""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""\A* '; - } + h2 > .decoration:first-of-type:before{ + content: '______________________________________________________________________\A""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""\A* '; + } - h2:after { - content: ' *\A______________________________________________________________________\A""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""'; - } + h2 > .decoration:last-of-type:before{ + content: ' *\A______________________________________________________________________\A""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""'; + } h2, h1 { font-size: 1rem; |