diff options
Diffstat (limited to 'static/css/layout.css')
-rw-r--r-- | static/css/layout.css | 23 |
1 files changed, 12 insertions, 11 deletions
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; |