Compare commits
2 commits
b61088d52a
...
73e3e394ac
Author | SHA1 | Date | |
---|---|---|---|
73e3e394ac | |||
6f457b18c7 |
4 changed files with 19 additions and 2 deletions
|
@ -46,3 +46,6 @@ other = """Raisons possibles :
|
||||||
<li>Vous avez peut-être mal saisi l'adresse
|
<li>Vous avez peut-être mal saisi l'adresse
|
||||||
(<abbr title="Uniform Resource Locator">URL</abbr>).</li>
|
(<abbr title="Uniform Resource Locator">URL</abbr>).</li>
|
||||||
</ul>"""
|
</ul>"""
|
||||||
|
|
||||||
|
[page_top]
|
||||||
|
other = "revenir en haut de page"
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
<footer class="article-footer">
|
<footer class="article-footer">
|
||||||
|
<span class="footer-return">
|
||||||
|
<a href="#">{{ i18n "page_top" | humanize }}</a>
|
||||||
|
</span><br/>
|
||||||
{{ if .PrevInSection }}
|
{{ if .PrevInSection }}
|
||||||
<span class="footer-link">
|
<span class="footer-link">
|
||||||
<span class="label">{{ i18n "previous_article" | humanize }}:</span>
|
<span class="label">{{ i18n "previous_article" | humanize }}:</span>
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
<details {{ with .Get "class" }} class="{{ . }}"{{ end }}><summary>{{ .Get "title" }}</summary>
|
<details {{ with .Get "class" }} class="{{ . }}"{{ end }}><summary>{{ .Get "title" }}</summary>
|
||||||
{{ .Inner }}
|
{{ if .Get "md" }}
|
||||||
|
{{ .Inner | markdownify }}
|
||||||
|
{{ else }}
|
||||||
|
{{ .Inner }}
|
||||||
|
{{ end }}
|
||||||
</details>
|
</details>
|
||||||
|
|
|
@ -397,7 +397,7 @@ a:focus {
|
||||||
}
|
}
|
||||||
.article-body img {
|
.article-body img {
|
||||||
max-width: calc(100% - 5em);
|
max-width: calc(100% - 5em);
|
||||||
min-width: 100%;
|
min-width: calc(100% - 5em);
|
||||||
}
|
}
|
||||||
.article-body h1 {
|
.article-body h1 {
|
||||||
font-size: 2.55rem;
|
font-size: 2.55rem;
|
||||||
|
@ -464,6 +464,13 @@ a:focus {
|
||||||
background-color: var(--font-color);
|
background-color: var(--font-color);
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
.article-footer .footer-return {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
width: 100%;
|
||||||
|
text-align: right;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.article-footer .footer-link {
|
.article-footer .footer-link {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue