Compare commits
No commits in common. "7b2bd5a6da08b7d238d2ee5b931eaf511a71b95b" and "05907377febe5e6e8f34d36e9c34a02bdf7e2e77" have entirely different histories.
7b2bd5a6da
...
05907377fe
4 changed files with 24 additions and 43 deletions
|
@ -1,12 +1,8 @@
|
||||||
<a class="archive hidden_link" href="{{ .Params.ExternalLink | default .RelPermalink }}">
|
<a class="archive hidden_link" href="{{ .Params.ExternalLink | default .RelPermalink }}">
|
||||||
{{ $thumb := $.Page.Resources.GetMatch "thumb.jpg"}}
|
<img class="thumbnail" src="{{ .RelPermalink }}/thumb.jpg" />
|
||||||
{{ if $thumb }}
|
|
||||||
<img class="thumbnail" src="{{ .RelPermalink }}thumb.jpg" />
|
|
||||||
{{ else }}
|
|
||||||
<img class="thumbnail" src="/images/thumb.jpg" />
|
|
||||||
{{ end }}
|
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<span class="title">{{ .Title }}</span>
|
<span class="title">{{ .Title }}</span>
|
||||||
|
<p>{{ .Description }}</p>
|
||||||
<span class="more">→ plus d'infos</span>
|
<span class="more">→ plus d'infos</span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -39,6 +39,22 @@
|
||||||
<a href="#img{{ $next }}" class="light-btn hidden_link btn-next">>></a>
|
<a href="#img{{ $next }}" class="light-btn hidden_link btn-next">>></a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
<div class="post-meta">
|
||||||
|
<!--div class="date">
|
||||||
|
<span class="posted-on">
|
||||||
|
<img class="page-icon header-icon" src="/svg/calendar.svg"/>
|
||||||
|
<time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
|
||||||
|
Article publié le {{ .Date.Day }} {{ index $.Site.Data.snotra.mois (printf "%d" .Date.Month) }} {{ .Date.Year }}
|
||||||
|
</time>
|
||||||
|
</span>
|
||||||
|
<span class="reading-time">
|
||||||
|
<img class="page-icon header-icon" src="/svg/clock.svg"/>
|
||||||
|
{{ i18n "reading_time" .ReadingTime }}
|
||||||
|
</span>
|
||||||
|
</div-->
|
||||||
|
{{ partial "categories.html" .Page.Params.Categories }}
|
||||||
|
{{ partial "tags.html" .Page.Params.Tags }}
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div class="archive-body">
|
<div class="archive-body">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
--color03: #871818;
|
--color03: #871818;
|
||||||
|
|
||||||
--image-margin-side: 2.5em;
|
--image-margin-side: 2.5em;
|
||||||
--navigation-height: 4em;
|
|
||||||
|
|
||||||
--content-width: 900px;
|
--content-width: 900px;
|
||||||
}
|
}
|
||||||
|
@ -25,7 +24,7 @@
|
||||||
}
|
}
|
||||||
html {
|
html {
|
||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
font-family: serif;
|
font-family: Lato, Helvetica, sans-serif;
|
||||||
font-size: medium;
|
font-size: medium;
|
||||||
color: var(--font-color);
|
color: var(--font-color);
|
||||||
}
|
}
|
||||||
|
@ -87,13 +86,9 @@ a.not(.anchor):focus {
|
||||||
|
|
||||||
/******************* Navbar *******************/
|
/******************* Navbar *******************/
|
||||||
#navigation {
|
#navigation {
|
||||||
position: fixed;
|
height: 4em;
|
||||||
top: 0;
|
|
||||||
height: var(--navigation-height);
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
line-height: var(--navigation-height);
|
line-height: 4em;
|
||||||
background-color: var(--background-color);
|
|
||||||
z-index: 100;
|
|
||||||
}
|
}
|
||||||
#navigation a {
|
#navigation a {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
@ -307,7 +302,6 @@ a.not(.anchor):focus {
|
||||||
.container {
|
.container {
|
||||||
max-width: 90vw;
|
max-width: 90vw;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-top: var(--navigation-height);
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
@ -339,24 +333,9 @@ a.not(.anchor):focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************* Archives List *******************/
|
/******************* Archives List *******************/
|
||||||
#blog-list {
|
|
||||||
max-width: 95vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.archives-list {
|
.archives-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
align-content: flex-start;
|
|
||||||
justify-content: space-between;
|
|
||||||
gap: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.archives-list::after {
|
|
||||||
content: "";
|
|
||||||
flex: auto;
|
|
||||||
flex-basis: 20em;
|
|
||||||
}
|
}
|
||||||
.archives-list .archive {
|
.archives-list .archive {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -364,7 +343,6 @@ a.not(.anchor):focus {
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
border: none;
|
border: none;
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
.archives-list .archive:hover {
|
.archives-list .archive:hover {
|
||||||
border: none;
|
border: none;
|
||||||
|
@ -374,13 +352,11 @@ a.not(.anchor):focus {
|
||||||
}
|
}
|
||||||
.archives-list .thumbnail {
|
.archives-list .thumbnail {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
width: 15em;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
margin-right: 1.5em;
|
||||||
}
|
}
|
||||||
@media only screen and (min-width: 768px) {
|
@media only screen and (min-width: 768px) {
|
||||||
.archives-list .archive {
|
|
||||||
width: 48%;
|
|
||||||
}
|
|
||||||
.archives-list .thumbnail {
|
.archives-list .thumbnail {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
@ -402,10 +378,6 @@ a.not(.anchor):focus {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.archive:hover .more {
|
|
||||||
display: inherit;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************* Letters *******************/
|
/******************* Letters *******************/
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
<svg width="1792" height="1792" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="M1189 1307l147-693c13-61-22-85-62-70L410 877c-59 23-58 56-10 71l221 69 513-323c24-16 46-7 28 9l-415 375-16 228c23 0 33-10 45-22l108-104 224 165c41 23 70 11 81-38zm603-411A896 896 0 1 1 0 896a896 896 0 0 1 1792 0z" fill="#efefef"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 317 B |
Loading…
Reference in a new issue