web-next: fix paginación azul en enlaces visitados
El tema tiene `a:visited{color:#2471a9}` (espec. 0,1,1) que ganaba a
`.nw-page-link` (0,1,0) → Anterior/Siguiente y los números visitados salían
azules. Se añaden selectores `.nw-page-link:link/:visited/:hover` y
`.nw-page-current:link/:visited` (espec. 0,2,0) para ganar y mantener el
estilo del tema (crema + actual en dorado).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user