Compare commits

..

No commits in common. "5b26f1f9ecc5ef72f2b4a02a245bf8df4523bd86" and "11c4f2ad1a8075742e9faf704dd026fb37e46ae1" have entirely different histories.

3 changed files with 46 additions and 9 deletions

View file

@ -49,5 +49,5 @@ NUIR_LICENCE = {
Ce thème supporte les plugins suivant :
* [Series](https://github.com/pelican-plugins/series)
* [Series](https://github.com/getpelican/pelican-plugins/tree/master/series)
* [Drafts](https://github.com/noirbizarre/pelican-drafts)

View file

@ -27,6 +27,7 @@ header {
height: 3em;
padding-left: 10px;
margin-bottom: 2em;
box-shadow: 0 4px 15px;
background-color: #0E0E1B;
display: flex;
}
@ -46,7 +47,6 @@ header a:hover {
}
footer {
margin-top: 1em;
position: relative;
width: 100%;
bottom: 0;
@ -61,6 +61,11 @@ a {
color: white;
}
/* a:hover {
color: #121224;
background-color: white;
} */
h1, h2, h3, h4, h5, h6 {
font-family: 'Open Sans', sans-serif;
}
@ -81,20 +86,34 @@ h1, h2, h3, h4, h5, h6 {
/* paramètres pour macro de prévisualisation d'articles */
.pre-art {
padding-top: 1em;
background-color: #0E0E1B;
padding: 1em;
padding-bottom: 2em;
border: 1px solid darkgray;
box-shadow: 1px 1px 5px grey;
color: white;
margin-left: 10%;
margin-right: 5%;
margin-left: 20%;
margin-right: 20%;
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: underline dotted;
text-decoration: none;
}
.author:hover {
@ -104,7 +123,7 @@ h1, h2, h3, h4, h5, h6 {
.category:link {
color: #2DCF29;
text-decoration: underline dotted;
text-decoration: none;
}
.category:hover {
@ -112,8 +131,19 @@ 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 {
margin-top: 0.5em;
background-color: inherit;
}
.tags a {

View file

@ -7,9 +7,16 @@
{% 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>