mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Theme: better bottom links
- Add links to gemini versions of HTML pages - Fix footer link color Also snuck in removal of scrollbar coloring. Why was that there in the first place?
This commit is contained in:
parent
97ef147b69
commit
957e4a9d10
3 changed files with 8 additions and 5 deletions
|
@ -1,9 +1,6 @@
|
||||||
{{ if not (eq .Site.Params.dark "on") -}}
|
{{ if not (eq .Site.Params.dark "on") -}}
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
html {
|
|
||||||
scrollbar-color: #6c6c6c #2e2e2e;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
color: #ebebeb;
|
color: #ebebeb;
|
||||||
|
@ -19,7 +16,7 @@ header#banner nav ul li a {
|
||||||
color: #cccccc;
|
color: #cccccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
main#content a {
|
main#content a, footer a {
|
||||||
color: #00b1ed;
|
color: #00b1ed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ header#banner nav ul li a {
|
||||||
color: #454545;
|
color: #454545;
|
||||||
}
|
}
|
||||||
|
|
||||||
main#content a {
|
main#content a, footer a {
|
||||||
color: #007dfa;
|
color: #007dfa;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,4 +8,10 @@
|
||||||
</header>
|
</header>
|
||||||
{{- .Content -}}
|
{{- .Content -}}
|
||||||
</article>
|
</article>
|
||||||
|
<section class="comment">
|
||||||
|
{{ with .OutputFormats.Get "gemtext" }}
|
||||||
|
<p>
|
||||||
|
⇒ View this article on <a href="{{replace .Permalink "/gemini" "" 1 | safeURL}}">my Gemini capsule</a>.
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue