style: unify form element styles in common.css, redesign focus rings, refactor public search bar, tweak admin section

This commit is contained in:
Pontoporeia
2026-05-08 17:57:39 +02:00
parent 77fd282e29
commit 862ed02136
13 changed files with 355 additions and 376 deletions

View File

@@ -37,15 +37,9 @@
line-height: 1.3;
}
/* Title (h1) — primary heading, very large */
/* Title (h1) — inherits global scale from common.css */
.tfe-title {
font-family: var(--font-display);
font-size: var(--step-3);
font-weight: 400;
color: var(--text-primary);
margin: 0;
line-height: 1.15;
letter-spacing: -0.01em;
}
/* Metadata description list — target <dl> directly inside article > header */
@@ -111,14 +105,14 @@ article dl dd a {
aside figure {
overflow: hidden;
margin: 0;
border-radius: 8px;
border-radius: var(--radius);
}
aside figure img {
width: 100%;
height: auto;
display: block;
border-radius: 8px;
border-radius: var(--radius);
}
aside figure embed,
@@ -165,7 +159,7 @@ aside figcaption {
padding: var(--space-s) var(--space-m);
background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: 6px;
border-radius: var(--radius);
flex-wrap: wrap;
}
@@ -219,7 +213,7 @@ aside figcaption {
.tfe-restricted-access {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
border-radius: var(--radius);
padding: var(--space-m);
display: flex;
flex-direction: column;
@@ -260,25 +254,14 @@ aside figcaption {
.tfe-access-request-form input[type="email"],
.tfe-access-request-form textarea {
font-family: inherit;
font-size: var(--step--1);
padding: var(--space-2xs) var(--space-3xs);
border: 1px solid var(--border);
border-radius: 4px;
border-color: var(--border);
background: var(--background);
color: var(--text-primary);
transition: border-color 0.2s;
}
.tfe-access-request-form input[type="email"]:focus,
.tfe-access-request-form textarea:focus {
outline: none;
border-color: var(--accent);
}
.tfe-access-request-form textarea {
resize: vertical;
min-height: 80px;
border: 2px solid var(--accent);
}
.tfe-btn-request-access {
@@ -298,7 +281,7 @@ aside figcaption {
.tfe-access-message {
font-size: var(--step--1);
padding: var(--space-2xs);
border-radius: 4px;
border-radius: var(--radius);
margin-top: var(--space-3xs);
}