mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
style: standardise links to Regular weight (400) with violet accent hover, body to Light (300)
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
|
||||
.admin-back-btn:hover {
|
||||
background: var(--bg-secondary);
|
||||
color: var(--text-primary);
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.admin-back-btn svg {
|
||||
@@ -1543,7 +1543,12 @@ th.admin-ap-col {
|
||||
.admin-cancel-link {
|
||||
font-size: var(--step--1);
|
||||
color: var(--text-secondary);
|
||||
text-decoration: underline;
|
||||
text-decoration: none;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.admin-cancel-link:hover {
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
/* ── Pagination (admin list) ─────────────────────────────────────────────── */
|
||||
@@ -1574,6 +1579,7 @@ th.admin-ap-col {
|
||||
border-radius: var(--radius);
|
||||
color: var(--text-primary);
|
||||
font-size: var(--step--1);
|
||||
font-weight: 400;
|
||||
text-decoration: none;
|
||||
transition:
|
||||
border-color 0.15s,
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
}
|
||||
|
||||
.apropos-toc ul a:hover {
|
||||
color: var(--text-primary);
|
||||
color: var(--accent-primary);
|
||||
border-left-color: var(--accent-primary);
|
||||
}
|
||||
|
||||
@@ -84,7 +84,8 @@
|
||||
}
|
||||
|
||||
.apropos-toc-erg a:hover {
|
||||
opacity: 0.75;
|
||||
color: var(--accent-primary);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.apropos-toc-source {
|
||||
@@ -99,7 +100,8 @@
|
||||
}
|
||||
|
||||
.apropos-toc-source a:hover {
|
||||
opacity: 0.75;
|
||||
color: var(--accent-primary);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
@@ -237,7 +239,8 @@
|
||||
}
|
||||
|
||||
.apropos-contact-card a:hover {
|
||||
opacity: 0.75;
|
||||
color: var(--accent-primary);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
|
||||
@@ -38,6 +38,7 @@ html, body {
|
||||
|
||||
body {
|
||||
font-family: var(--font-body);
|
||||
font-weight: 300;
|
||||
background: var(--bg-primary);
|
||||
color: var(--text-primary);
|
||||
background: linear-gradient(
|
||||
|
||||
@@ -19,8 +19,9 @@ details {
|
||||
summary {
|
||||
font-family: var(--font-display);
|
||||
font-weight: 600;
|
||||
text-decoration: 1px wavy;
|
||||
text-decoration: none;
|
||||
color: var(--accent-secondary);
|
||||
transition: color 0.15s;
|
||||
|
||||
svg {
|
||||
fill: var(--accent-secondary);
|
||||
@@ -28,3 +29,7 @@ summary {
|
||||
height: 1.4em;
|
||||
}
|
||||
}
|
||||
|
||||
summary:hover {
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
@@ -51,13 +51,14 @@ header nav ul a {
|
||||
}
|
||||
|
||||
header nav ul a:hover {
|
||||
opacity: 1;
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
header nav ul a[aria-current="page"] {
|
||||
opacity: 1;
|
||||
border-bottom: 1px solid var(--header-nav-active-border);
|
||||
padding-bottom: 1px;
|
||||
color: var(--accent-foreground);
|
||||
}
|
||||
|
||||
/* ── Logo ───────────────────────────────────────────────────────────── */
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration-line: underline;
|
||||
text-decoration-style: wavy;
|
||||
text-decoration-thickness: 1px;
|
||||
color: var(--accent-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
border-radius: var(--radius);
|
||||
color: var(--text-primary);
|
||||
font-size: var(--step--1);
|
||||
font-weight: 400;
|
||||
text-decoration: none;
|
||||
transition: border-color 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
@@ -51,7 +51,13 @@
|
||||
|
||||
.toast--warning a {
|
||||
color: inherit;
|
||||
text-decoration: underline;
|
||||
font-weight: 400;
|
||||
text-decoration: none;
|
||||
transition: color 0.15s;
|
||||
}
|
||||
|
||||
.toast--warning a:hover {
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
@keyframes toast-enter {
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
}
|
||||
|
||||
.access-req-tab:hover {
|
||||
color: var(--text-primary);
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.access-req-tab.active {
|
||||
@@ -163,7 +163,8 @@
|
||||
}
|
||||
|
||||
.access-req-card__info a:hover {
|
||||
text-decoration: underline;
|
||||
color: var(--accent-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.access-req-card__justification,
|
||||
@@ -224,8 +225,7 @@
|
||||
}
|
||||
|
||||
.access-req-pagination__link:hover {
|
||||
color: var(--accent-secondary);
|
||||
text-decoration: underline;
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.access-req-pagination__info {
|
||||
|
||||
@@ -419,12 +419,14 @@
|
||||
background: var(--text-primary);
|
||||
color: var(--bg-primary);
|
||||
text-decoration: none;
|
||||
font-weight: 400;
|
||||
border-radius: var(--radius);
|
||||
transition: opacity 0.15s;
|
||||
}
|
||||
|
||||
.share-error a:hover {
|
||||
opacity: 0.8;
|
||||
color: var(--accent-primary);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* ── Password gate page ─────────────────────────────────────────────────── */
|
||||
@@ -1416,8 +1418,7 @@ legend {
|
||||
}
|
||||
|
||||
.recap-files-name a:hover {
|
||||
text-decoration: underline;
|
||||
color: var(--accent);
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.recap-files-peertube-id {
|
||||
@@ -1527,7 +1528,7 @@ legend {
|
||||
text-decoration: none;
|
||||
}
|
||||
.file-browser-breadcrumb a:hover {
|
||||
text-decoration: underline;
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
.file-browser-sep {
|
||||
color: var(--text-tertiary);
|
||||
|
||||
@@ -191,6 +191,7 @@
|
||||
|
||||
.clear-filter:hover {
|
||||
background: var(--accent-secondary);
|
||||
color: var(--accent-foreground);
|
||||
}
|
||||
|
||||
/* Pagination */
|
||||
@@ -222,6 +223,7 @@
|
||||
color: var(--text-primary);
|
||||
font-size: var(--step--1);
|
||||
text-decoration: none;
|
||||
font-weight: 400;
|
||||
transition: all 0.15s;
|
||||
}
|
||||
|
||||
|
||||
@@ -282,8 +282,14 @@
|
||||
.search-reset-link {
|
||||
font-size: var(--step--1);
|
||||
color: var(--text-secondary);
|
||||
text-decoration: underline;
|
||||
text-decoration: none;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
transition: color 0.15s;
|
||||
}
|
||||
|
||||
.search-reset-link:hover {
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
/* Search results pagination */
|
||||
@@ -307,6 +313,7 @@
|
||||
color: var(--text-primary);
|
||||
font-size: var(--step--1);
|
||||
text-decoration: none;
|
||||
font-weight: 400;
|
||||
transition: all 0.15s;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
transition: color .15s, border-color .15s;
|
||||
}
|
||||
.sys-tab:hover {
|
||||
color: var(--text-primary);
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
.sys-tab.active {
|
||||
color: var(--accent-primary);
|
||||
@@ -327,7 +327,7 @@
|
||||
color: var(--accent-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
.sys-refresh-note a:hover { text-decoration: underline; }
|
||||
.sys-refresh-note a:hover { color: var(--accent-primary); }
|
||||
|
||||
/* ── Cache freshness badges ────────────────────────────────────────────── */
|
||||
.sys-cache-badge {
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
}
|
||||
|
||||
.tfe-meta-label {
|
||||
font-weight: 400;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.tfe-meta-item a {
|
||||
@@ -67,7 +67,7 @@
|
||||
}
|
||||
|
||||
.tfe-meta-item a:hover {
|
||||
text-decoration: none;
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
/* Note field: align label to top, value in italics */
|
||||
@@ -190,7 +190,7 @@ aside figcaption {
|
||||
}
|
||||
|
||||
.tfe-pdf-fallback a:hover {
|
||||
text-decoration: none;
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
/* "Not available" and "no files" notices */
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
z-index: 9999;
|
||||
padding: var(--space-2xs) var(--space-s);
|
||||
background: var(--accent-primary);
|
||||
color: var(--text-primary);
|
||||
color: var(--accent-foreground);
|
||||
font-size: var(--step--1);
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
@@ -35,6 +35,11 @@
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.skip-link:hover {
|
||||
color: var(--accent-primary);
|
||||
background: var(--accent-foreground);
|
||||
}
|
||||
|
||||
/* Respect user motion preferences */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
|
||||
Reference in New Issue
Block a user