diff --git a/mainsite/static/css/screen.css b/mainsite/static/css/screen.css index 0b95a8c..a6633a0 100644 --- a/mainsite/static/css/screen.css +++ b/mainsite/static/css/screen.css @@ -225,7 +225,7 @@ header { .main { background: #fff; flex-grow: 1; - padding: 20px; + padding: 20px 40px; width: 100%; border: 1px solid rgba(140, 14, 0, 0.7); } @@ -249,31 +249,44 @@ header { .main .last-publication a:hover { box-shadow: 0 0 5px #8c0e00; } +/* line 176, ../sass/screen.scss */ +.main .intro-text { + margin-bottom: 40px; +} +/* line 180, ../sass/screen.scss */ +.main p { + margin-bottom: 1em; +} +/* line 184, ../sass/screen.scss */ +.main .md-text { + text-align: justify; + font-size: 1.1em; +} -/* line 177, ../sass/screen.scss */ +/* line 190, ../sass/screen.scss */ .publication-list { margin: 10px 5px; margin-left: 30px; padding: 0 30px; max-width: 700px; } -/* line 183, ../sass/screen.scss */ +/* line 196, ../sass/screen.scss */ .publication-list .publication-entry { display: flex; align-items: center; position: relative; border-bottom: 1px solid #86abcb; } -/* line 189, ../sass/screen.scss */ +/* line 202, ../sass/screen.scss */ .publication-list .publication-entry:first-child { border-top: 1px solid #86abcb; } -/* line 193, ../sass/screen.scss */ +/* line 206, ../sass/screen.scss */ .publication-list .publication-entry > span { padding: 7px 5px; display: inline-block; } -/* line 197, ../sass/screen.scss */ +/* line 210, ../sass/screen.scss */ .publication-list .publication-entry .publication-date { text-align: right; font-weight: light; @@ -281,16 +294,16 @@ header { font-style: italic; width: 100px; } -/* line 204, ../sass/screen.scss */ +/* line 217, ../sass/screen.scss */ .publication-list .publication-entry .publication-descr { font-size: 0.9em; opacity: 0.9; } -/* line 207, ../sass/screen.scss */ +/* line 220, ../sass/screen.scss */ .publication-list .publication-entry .publication-descr:before { content: "– "; } -/* line 211, ../sass/screen.scss */ +/* line 224, ../sass/screen.scss */ .publication-list .publication-entry a.overlay { position: absolute; z-index: 1; @@ -301,12 +314,12 @@ header { } @media screen and (max-width: 599px) { - /* line 223, ../sass/screen.scss */ + /* line 236, ../sass/screen.scss */ body { padding-top: 75px; } - /* line 226, ../sass/screen.scss */ + /* line 239, ../sass/screen.scss */ header, .sidebar { position: fixed; top: 0; @@ -314,7 +327,7 @@ header { width: 100%; } - /* line 232, ../sass/screen.scss */ + /* line 245, ../sass/screen.scss */ header { z-index: 15; right: 60px; @@ -323,13 +336,13 @@ header { height: 60px; line-height: 60px; } - /* line 239, ../sass/screen.scss */ + /* line 252, ../sass/screen.scss */ header img { max-height: 55px; vertical-align: middle; } - /* line 244, ../sass/screen.scss */ + /* line 257, ../sass/screen.scss */ .sidebar { z-index: 14; background: #f8ef78; @@ -339,18 +352,18 @@ header { max-height: 100vh; overflow-y: auto; } - /* line 253, ../sass/screen.scss */ + /* line 266, ../sass/screen.scss */ .sidebar .minimenu { position: absolute; right: 5px; top: 5px; display: block; } - /* line 258, ../sass/screen.scss */ + /* line 271, ../sass/screen.scss */ .sidebar .minimenu img { height: 50px; } - /* line 262, ../sass/screen.scss */ + /* line 275, ../sass/screen.scss */ .sidebar ul.nav { display: flex; width: 100%; @@ -359,17 +372,17 @@ header { font-size: 0.95em; margin-bottom: 10px; } - /* line 270, ../sass/screen.scss */ + /* line 283, ../sass/screen.scss */ .sidebar ul.nav li { display: inline-block; min-width: 150px; margin: 5px; } - /* line 274, ../sass/screen.scss */ + /* line 287, ../sass/screen.scss */ .sidebar ul.nav li a { padding: 10px; } - /* line 281, ../sass/screen.scss */ + /* line 294, ../sass/screen.scss */ .sidebar.collapse ul { display: none; } diff --git a/mainsite/static/sass/screen.scss b/mainsite/static/sass/screen.scss index 8bb0425..e5cba31 100644 --- a/mainsite/static/sass/screen.scss +++ b/mainsite/static/sass/screen.scss @@ -149,7 +149,7 @@ header { .main { background: #fff; flex-grow: 1; - padding: 20px; + padding: 20px 40px; width: 100%; border: 1px solid rgba($rouge, 0.7); @@ -172,6 +172,19 @@ header { box-shadow: 0 0 5px $rouge; } } + + .intro-text { + margin-bottom: 40px; + } + + p { + margin-bottom: 1em; + } + + .md-text { + text-align: justify; + font-size: 1.1em; + } } .publication-list { diff --git a/mainsite/templates/mainsite/homepage.html b/mainsite/templates/mainsite/homepage.html index 684ca0a..904cf26 100644 --- a/mainsite/templates/mainsite/homepage.html +++ b/mainsite/templates/mainsite/homepage.html @@ -10,6 +10,8 @@ Demandez la
dernière édition ! -{{ site_config.homepageText | markdownify }} +
+ {{ site_config.homepageText | markdownify }} +
{% endblock content %} diff --git a/mainsite/templates/mainsite/publications_list_view.html b/mainsite/templates/mainsite/publications_list_view.html index f23efac..bf6b690 100644 --- a/mainsite/templates/mainsite/publications_list_view.html +++ b/mainsite/templates/mainsite/publications_list_view.html @@ -11,7 +11,7 @@ Millésime {{ year_range }} {% endif %} -
{{ intro_text | safe | markdownify }}
+
{{ intro_text | safe | markdownify }}