Refine calculator layout and about page

This commit is contained in:
2026-01-14 21:27:12 +01:00
parent fc619d8c8a
commit 96cafac65b
3 changed files with 155 additions and 24 deletions
+100 -4
View File
@@ -550,6 +550,12 @@ body.menu-open {
display: flex;
align-items: center;
gap: 16px;
flex: 1 1 auto;
min-width: 0;
}
.af-brand > div {
min-width: 0;
}
.af-logo {
@@ -580,6 +586,10 @@ body.menu-open {
margin: 4px 0 0;
color: #94a3b8;
font-size: 0.95rem;
max-width: 240px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.af-nav {
@@ -1249,6 +1259,77 @@ body.menu-open {
color: #444;
}
.af-about-page .af-card {
background: rgba(15, 23, 42, 0.82);
}
.af-about-page h1,
.af-about-page h2,
.af-about-page h3 {
color: #f8fafc;
}
.af-about-page p,
.af-about-page li {
color: #cbd5f5;
}
.af-about-kicker {
margin: 0 0 12px;
text-transform: uppercase;
letter-spacing: 0.18em;
font-size: 0.75rem;
color: #94a3b8;
}
.af-about-hero {
display: grid;
gap: 24px;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
margin-bottom: 24px;
}
.af-about-grid {
display: grid;
gap: 16px;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
margin: 16px 0 24px;
}
.af-about-card {
padding: 16px;
border-radius: 16px;
border: 1px solid rgba(148, 163, 184, 0.2);
background: rgba(2, 6, 23, 0.6);
box-shadow: 0 12px 30px rgba(2, 6, 23, 0.3);
}
.af-about-card h3 {
margin-top: 0;
}
.af-about-banner {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
padding: 16px;
border-radius: 16px;
border: 1px solid rgba(56, 189, 248, 0.3);
background: rgba(56, 189, 248, 0.12);
margin-top: 20px;
}
.af-about-pill {
padding: 6px 12px;
border-radius: 999px;
border: 1px solid rgba(56, 189, 248, 0.4);
background: rgba(15, 23, 42, 0.7);
color: #e2e8f0;
font-size: 0.85rem;
font-weight: 600;
}
.highlight {
font-weight: bold;
color: #d32f2f;
@@ -1340,11 +1421,18 @@ main {
box-shadow: var(--shadow);
}
h1, h2, h3 {
body:not(.af-body) h1,
body:not(.af-body) h2,
body:not(.af-body) h3 {
color: var(--text-900);
}
.about_us_text, p, label, th, td, a {
body:not(.af-body) .about_us_text,
body:not(.af-body) p,
body:not(.af-body) label,
body:not(.af-body) th,
body:not(.af-body) td,
body:not(.af-body) a {
color: var(--text-700);
}
@@ -1359,14 +1447,22 @@ a:hover {
}
/* Inputs */
input[type="text"], input[type="number"], textarea, select, #search {
body:not(.af-body) input[type="text"],
body:not(.af-body) input[type="number"],
body:not(.af-body) textarea,
body:not(.af-body) select,
body:not(.af-body) #search {
border: 1px solid var(--border);
background-color: #f8fafc;
border-radius: 10px;
padding: 10px 14px;
}
input[type="text"]:focus, input[type="number"]:focus, textarea:focus, select:focus, #search:focus {
body:not(.af-body) input[type="text"]:focus,
body:not(.af-body) input[type="number"]:focus,
body:not(.af-body) textarea:focus,
body:not(.af-body) select:focus,
body:not(.af-body) #search:focus {
border-color: var(--primary);
box-shadow: 0 0 0 4px var(--primary-50);
}