tweak color scheme to contrast better

This commit is contained in:
Peter 2025-03-22 15:47:01 -04:00
parent aefe290e19
commit da6191083b
3 changed files with 32 additions and 4 deletions

View file

@ -7,7 +7,7 @@ defaultContentLanguage = 'es'
user = "peter" user = "peter"
hostname = "peterdominguez.art" hostname = "peterdominguez.art"
sitedescription = 'Un blog de Linux, videojuegos, cine, ciencia ficción y todo lo demás que se me ocurra.' sitedescription = 'Un blog de Linux, videojuegos, cine, ciencia ficción y todo lo demás que se me ocurra.'
footerHtml = 'Todo contenido bajo una licencia <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.es" target="_blank">CC BY-SA 4.0</a>. Para buscar en este sitio: presiona Alt + /' footerHtml = 'Hecho con <a href="https://gohugo.io" target="_blank">Hugo</a> y <a href="https://github.com/LordMathis/hugo-theme-nightfall" target="_blank">Nightfall</a>; alojado en <a href="https://www.debian.org" target="_blank">Debian</a>. Licencia del contenido publicado: <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.es" target="_blank">CC BY-SA 4.0</a>.'
[params.author] [params.author]
name = "Peter Domínguez" name = "Peter Domínguez"
avatar = "/simon.png" avatar = "/simon.png"

View file

@ -9,12 +9,13 @@ code { padding: 2px 4px; font-size: 90%; border-radius: 4px; color: #f8f8f2; bac
a:hover { a:hover {
color: #f8f8f2; color: #f8f8f2;
} }
.headerWrapper { .headerWrapper {
background: #44475a; background: #44475a;
} }
.headerWrapper a { .headerWrapper a {
color: #bd93f9; color: #50FA7B;
} }
.headerWrapper a:hover { .headerWrapper a:hover {
@ -25,9 +26,15 @@ a:hover {
} }
.headerLinks ul li a { .headerLinks ul li a {
color: #bd93f9; color: #BD93F9;
} }
.headerLinks ul:hover li:hover a:hover {
color: #f8f8f2;
}
.postTitle {
color: #FF79C6;
}
.postListItem { .postListItem {
background: #44475a; background: #44475a;
} }
@ -48,6 +55,11 @@ a:hover {
color: #f8f8f2; color: #f8f8f2;
} }
.hints {
color: #6272a4;
font: 0.85em FiraMono;
}
.footer { .footer {
background: #44475a; background: #44475a;
} }
@ -84,6 +96,7 @@ body {
} }
.pagination a { .pagination a {
color: #8BE9FD;
display: block; display: block;
padding: 0.1em 0.8em; padding: 0.1em 0.8em;
margin: 1px; margin: 1px;
@ -94,7 +107,7 @@ body {
.pagination a:hover { .pagination a:hover {
color: #282A36; color: #282A36;
background-color: #50fa7b; background-color: #8BE9FD;
} }
#fastSearch { #fastSearch {

View file

@ -0,0 +1,15 @@
<div class="hints">
<center>Comandos: <b>ALT</b> + <b>/</b> (buscar) | <b>TAB</b> (navegar resultados) | <b>ENTER</b> (elegir)</center>
</br>
</div>
<footer class="footer">
{{ with .Site.Params.footerHtml }}
<span>{{ . | safeHTML }}</span>
{{ else }}
<span>
© {{ now.Format "2006" }} {{ .Site.Params.author.name }}, {{ i18n "powered_by" }}
<a href="https://gohugo.io" class="footerLink">Hugo</a> {{ i18n "and" }}
<a href="https://github.com/LordMathis/hugo-theme-nightfall" class="footerLink">Nightfall</a> {{ i18n "theme" }}
</span>
{{ end }}
</footer>