Compare commits

...

2 Commits

4 changed files with 19 additions and 2 deletions

View File

@ -46,3 +46,6 @@ other = """Raisons possibles :
<li>Vous avez peut-être mal saisi l'adresse
(<abbr title="Uniform Resource Locator">URL</abbr>).</li>
</ul>"""
[page_top]
other = "revenir en haut de page"

View File

@ -1,4 +1,7 @@
<footer class="article-footer">
<span class="footer-return">
<a href="#">{{ i18n "page_top" | humanize }}</a>
</span><br/>
{{ if .PrevInSection }}
<span class="footer-link">
<span class="label">{{ i18n "previous_article" | humanize }}:</span>

View File

@ -1,3 +1,7 @@
<details {{ with .Get "class" }} class="{{ . }}"{{ end }}><summary>{{ .Get "title" }}</summary>
{{ .Inner }}
{{ if .Get "md" }}
{{ .Inner | markdownify }}
{{ else }}
{{ .Inner }}
{{ end }}
</details>

View File

@ -397,7 +397,7 @@ a:focus {
}
.article-body img {
max-width: calc(100% - 5em);
min-width: 100%;
min-width: calc(100% - 5em);
}
.article-body h1 {
font-size: 2.55rem;
@ -464,6 +464,13 @@ a:focus {
background-color: var(--font-color);
vertical-align: middle;
}
.article-footer .footer-return {
margin-bottom: 1em;
width: 100%;
text-align: right;
display: inline-block;
}
.article-footer .footer-link {
display: block;
}