From 469d165852c384b13302d3a29570078c71742eb1 Mon Sep 17 00:00:00 2001 From: Adrian Rosin Date: Mon, 19 Feb 2024 13:40:03 +0100 Subject: Merge remote-tracking branch 'origin/feat/UnderlignedTitle' # Conflicts: # static/css/home.css # static/css/layout.css # static/index.html --- static/css/home.css | 1 + static/css/layout.css | 19 ++++++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) (limited to 'static/css') 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; -- cgit v1.2.3 From b4e50788a69b73fae4c17c98fa4fdf1d6f94ebf8 Mon Sep 17 00:00:00 2001 From: Tixie Date: Sun, 9 Jun 2024 17:39:36 +0200 Subject: fix(layout.css): Remove old underline --- static/css/layout.css | 4 ---- 1 file changed, 4 deletions(-) (limited to 'static/css') diff --git a/static/css/layout.css b/static/css/layout.css index 163f2f1..f095a56 100644 --- a/static/css/layout.css +++ b/static/css/layout.css @@ -69,10 +69,6 @@ nav ul { margin: 0px; } -h1:after, h2:after { - content: '\A___________________________________\A"""""""""""""""""""""""""""""""""""'; -} - h2, h1 { font-size: 1rem; font-weight: normal; -- cgit v1.2.3