major update of the theme

remove summary and box
This commit is contained in:
rick 2024-12-24 15:59:38 +01:00
parent a65f28241d
commit 5b26f1f9ec
Signed by: Rick
GPG key ID: A2E7B6CA577C8F07
2 changed files with 8 additions and 45 deletions

View file

@ -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 {

View file

@ -7,16 +7,9 @@
{% endfor %}
dans <a href="{{ SITEURL }}/{{ art.category.url }}" class="category">{{ art.category }}</a> le {{ art.date.strftime('%d/%m/%Y') }}.
</p>
<br />
<h2><a href="{{ SITEURL }}/{{ art.url }}">{{ art.title }}</a></h2>
<br />
<div class="summary">
{{ art.summary }}
</div>
<a href="{{ SITEURL }}/{{ art.url }}" class="continue">Continuer à lire</a>
{% if art.tags is not none %}
<hr />
<div class="tags">
{% for tag in art.tags %}
<a href="{{ SITEURL }}/tag/{{ tag }}">{{ tag }}</a>