diff --git a/static/css/style.css b/static/css/style.css index 0e12ff8..23491dd 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -27,7 +27,6 @@ header { height: 3em; padding-left: 10px; margin-bottom: 2em; - box-shadow: 0 4px 15px; background-color: #0E0E1B; display: flex; } @@ -47,6 +46,7 @@ header a:hover { } footer { + margin-top: 1em; position: relative; width: 100%; bottom: 0; @@ -61,11 +61,6 @@ a { color: white; } -/* a:hover { - color: #121224; - background-color: white; -} */ - h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', sans-serif; } @@ -86,34 +81,20 @@ h1, h2, h3, h4, h5, h6 { /* paramètres pour macro de prévisualisation d'articles */ .pre-art { - background-color: #0E0E1B; - padding: 1em; - padding-bottom: 2em; - border: 1px solid darkgray; - box-shadow: 1px 1px 5px grey; + padding-top: 1em; color: white; - margin-left: 20%; - margin-right: 20%; + margin-left: 10%; + margin-right: 5%; margin-bottom: 30px; } -.pre-art p, .pre-art h2 { - background-color: inherit; -} - .pre-art a { text-decoration: none; - background-color: inherit; -} - -.summary { - margin-bottom: 5%; - background-color: inherit; } .author:link { color: #6A89CC; - text-decoration: none; + text-decoration: underline dotted; } .author:hover { @@ -123,7 +104,7 @@ h1, h2, h3, h4, h5, h6 { .category:link { color: #2DCF29; - text-decoration: none; + text-decoration: underline dotted; } .category:hover { @@ -131,19 +112,8 @@ h1, h2, h3, h4, h5, h6 { background-color: #2DCF29; } -.continue:link { - background-color: #3C5DA4; - border-radius: 50px; - padding: 15px; -} - -.pre-art hr { - margin-top: 2em; - margin-bottom: 1em; -} - .tags { - background-color: inherit; + margin-top: 0.5em; } .tags a { diff --git a/templates/macros.html b/templates/macros.html index 973e2fd..696b8d1 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -7,16 +7,9 @@ {% endfor %} dans {{ art.category }} le {{ art.date.strftime('%d/%m/%Y') }}.

-

{{ art.title }}

-
-
- {{ art.summary }} -
- Continuer à lire - {% if art.tags is not none %} -
+
{% for tag in art.tags %} {{ tag }}