mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
fix serve recipe: filter output to Development Server start + [200] requests only
refactor: unify CSS color variables across public and admin - Replace old variable structure with new standardized naming: - Background: --bg-primary, --bg-secondary, --bg-tertiary, --bg-active - Text: --text-primary, --text-secondary, --text-tertiary - Border: --border-primary, --border-secondary - Status: --success, --error, --warning - Accent: --accent-primary, --accent-secondary, --accent-foreground, --accent-muted - Remove admin-specific color variables (--admin-*) - Update all CSS files to use shared variables: - variables.css, common.css, main.css, admin.css - tfe.css, search.css, apropos.css, system.css, colors.css
This commit is contained in:
@@ -2,11 +2,13 @@
|
||||
TFE INDIVIDUAL PAGE (tfe.php)
|
||||
============================================================ */
|
||||
|
||||
@import url("./variables.css");
|
||||
|
||||
.tfe-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
background: var(--white);
|
||||
background: var(--bg-primary);
|
||||
}
|
||||
|
||||
.tfe-main {
|
||||
@@ -33,7 +35,7 @@
|
||||
/* Back link — top of left column */
|
||||
.tfe-back-link {
|
||||
font-size: .88rem;
|
||||
color: #666;
|
||||
color: var(--text-tertiary);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 2px;
|
||||
}
|
||||
@@ -42,7 +44,7 @@
|
||||
.tfe-title {
|
||||
font-size: 2.2rem;
|
||||
font-weight: 400;
|
||||
color: var(--black);
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
line-height: 1.15;
|
||||
letter-spacing: -0.01em;
|
||||
@@ -52,7 +54,7 @@
|
||||
.tfe-author {
|
||||
font-size: 1.9rem;
|
||||
font-weight: 400;
|
||||
color: var(--black);
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
line-height: 1.15;
|
||||
letter-spacing: -0.01em;
|
||||
@@ -76,13 +78,13 @@ article dl > div {
|
||||
}
|
||||
|
||||
article dl dt {
|
||||
color: var(--black);
|
||||
color: var(--text-primary);
|
||||
font-weight: 400;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
article dl dd {
|
||||
color: var(--black);
|
||||
color: var(--text-primary);
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
}
|
||||
@@ -106,7 +108,7 @@ article dl dd a {
|
||||
.tfe-synopsis-text {
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.7;
|
||||
color: var(--black);
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -147,7 +149,7 @@ aside figure embed {
|
||||
/* figcaption under media — target <figcaption> inside <aside> */
|
||||
aside figcaption {
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-muted);
|
||||
color: var(--text-secondary);
|
||||
margin: 0.3rem 0 0;
|
||||
font-style: italic;
|
||||
}
|
||||
@@ -159,7 +161,7 @@ aside figcaption {
|
||||
}
|
||||
|
||||
.tfe-pdf-fallback a {
|
||||
color: var(--black);
|
||||
color: var(--text-primary);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 2px;
|
||||
}
|
||||
@@ -168,7 +170,7 @@ aside figcaption {
|
||||
.tfe-restricted,
|
||||
.tfe-no-files {
|
||||
font-size: 0.95rem;
|
||||
color: var(--text-muted);
|
||||
color: var(--text-secondary);
|
||||
font-style: italic;
|
||||
padding: 1rem 0;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user