From 5b26f1f9ecc5ef72f2b4a02a245bf8df4523bd86 Mon Sep 17 00:00:00 2001
From: rick
Date: Tue, 24 Dec 2024 15:59:38 +0100
Subject: [PATCH] major update of the theme
remove summary and box
---
static/css/style.css | 44 +++++++------------------------------------
templates/macros.html | 9 +--------
2 files changed, 8 insertions(+), 45 deletions(-)
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.summary }}
-
- Continuer à lire
- {% if art.tags is not none %}
-
+