1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12: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:
rohan kumar 2020-11-17 13:55:19 -08:00
parent 97ef147b69
commit 957e4a9d10
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
3 changed files with 8 additions and 5 deletions

View file

@ -1,9 +1,6 @@
{{ if not (eq .Site.Params.dark "on") -}}
@media (prefers-color-scheme: dark) {
{{ end -}}
html {
scrollbar-color: #6c6c6c #2e2e2e;
}
body {
color: #ebebeb;
@ -19,7 +16,7 @@ header#banner nav ul li a {
color: #cccccc;
}
main#content a {
main#content a, footer a {
color: #00b1ed;
}

View file

@ -58,7 +58,7 @@ header#banner nav ul li a {
color: #454545;
}
main#content a {
main#content a, footer a {
color: #007dfa;
text-decoration: none;
}

View file

@ -8,4 +8,10 @@
</header>
{{- .Content -}}
</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 }}