diff options
author | Tixie <contact@tixie.name> | 2024-06-09 17:47:31 +0200 |
---|---|---|
committer | Tixie <contact@tixie.name> | 2024-06-09 17:48:12 +0200 |
commit | fd276e5dc27f02fe7cba53f3cb931f8a540c881c (patch) | |
tree | 27c2549b5205b2de2f81f5a6c6bc601cd9a06e34 /static/css | |
parent | c5dd5467a4aa74217bb4dea7762ec27cee31e69a (diff) | |
parent | 3a404c162c50ad42173f663c360a4011efac6d59 (diff) | |
download | site-fd276e5dc27f02fe7cba53f3cb931f8a540c881c.tar.gz site-fd276e5dc27f02fe7cba53f3cb931f8a540c881c.zip |
Merge pull request 'Accessibilité web: Améliorations sémantique' (#42) from preprod to main
Diffstat (limited to 'static/css')
-rw-r--r-- | static/css/home.css | 1 | ||||
-rw-r--r-- | static/css/layout.css | 23 |
2 files changed, 13 insertions, 11 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 0bb2ab3..c83bef1 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; @@ -64,10 +69,6 @@ nav ul { margin: 0px; } -h1:after, h2:after { - content: '\A___________________________________\A"""""""""""""""""""""""""""""""""""'; -} - h2, h1 { font-size: 1rem; font-weight: normal; @@ -221,17 +222,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; |