From cbfed67037adfb43b8531c4ea66c18de7ad7bb64 Mon Sep 17 00:00:00 2001 From: theo1 Date: Tue, 2 Jun 2020 15:21:43 +0200 Subject: [PATCH] content block fixe --- output/theme/css/main-v2.css | 28 +++++++++++++++------------ themes/felicie/static/css/main-v2.css | 6 +++++- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/output/theme/css/main-v2.css b/output/theme/css/main-v2.css index a4fdcdd..c4288af 100755 --- a/output/theme/css/main-v2.css +++ b/output/theme/css/main-v2.css @@ -28,8 +28,8 @@ header{ position: fixed; height: 100px; - background-color: white; - z-index: 15; + background-color: white; + z-index: 15; display: flex; flex-direction: column; @@ -38,8 +38,8 @@ header{ border: 3px solid #00FF00; border-radius: 10px; - margin: 5px; - top: 0px; + margin: 5px; + top: 0px; } #articles { @@ -116,8 +116,8 @@ footer > a{ } a { - color: black; - text-decoration: unset; + color: black; + text-decoration: unset; } /* only underline anchors inside content text */ @@ -165,7 +165,7 @@ p a { } .column { - float: left; + float: left; width: 43%; } @@ -195,7 +195,7 @@ p a { position: absolute; left: 0; top: 0; - overflow: hidden; + overflow: hidden; background-color: #000000; text-align: center; padding-top: 100px; @@ -220,12 +220,12 @@ p a { font-family: Arial, Helvetica, sans-serif; font-weight: bold; width: 20px; - height:20px; + height:20px; margin-left: 95%; } #close-modal a{ - color: white; + color: white; } #close-modal:hover { @@ -250,7 +250,7 @@ blockquote{ header > a > h1{ font-size: 2em; } - + header { width: 80%; position: absolute; @@ -258,7 +258,11 @@ blockquote{ } .content { - margin-top: 150px; + display: block; + } + + .vignette { + display: block; } .vignette > h2{ diff --git a/themes/felicie/static/css/main-v2.css b/themes/felicie/static/css/main-v2.css index 024548e..c4288af 100755 --- a/themes/felicie/static/css/main-v2.css +++ b/themes/felicie/static/css/main-v2.css @@ -258,7 +258,11 @@ blockquote{ } .content { - margin-top: 150px; + display: block; + } + + .vignette { + display: block; } .vignette > h2{