diff --git a/web-next/app/globals.css b/web-next/app/globals.css index 3e856a2..0e9ee56 100644 --- a/web-next/app/globals.css +++ b/web-next/app/globals.css @@ -101,7 +101,9 @@ textarea:focus { background: hsla(0, 0%, 100%, 0.1); color: #fff; } -/* Paginación con el estilo de los botones del tema (borde + fondo tenue + hover). */ +/* Paginación con el estilo de los botones del tema (borde + fondo tenue + hover). + Los selectores :link/:visited elevan la especificidad para ganar a las reglas + `a`/`a:visited` del tema (que si no dejan los enlaces visitados en azul). */ .nw-page-link { display: inline-block; min-width: 42px; @@ -109,15 +111,20 @@ textarea:focus { margin: 0 3px; border: 2px solid #352e2b; background: hsla(0, 0%, 100%, 0.05); - color: #ebdec2; text-align: center; transition: 0.3s; } +.nw-page-link:link, +.nw-page-link:visited { + color: #ebdec2; +} .nw-page-link:hover { background: hsla(0, 0%, 100%, 0.1); color: #fff; } -.nw-page-current { +.nw-page-current, +.nw-page-current:link, +.nw-page-current:visited { border-color: #b17c02; color: #d79602; background: hsla(40, 90%, 45%, 0.12);