aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/style.css
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-15 19:47:59 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-15 19:47:59 -0800
commit2d48202fa547e94f21662d63a3ff5d04c4fe8f2c (patch)
tree23c29fd6536b132d7d77157b14d8559203285c06 /frontend-vanilla/src/style.css
parent59743dcaa87920a5125915454e0afa0a22b05ee7 (diff)
downloadneko-2d48202fa547e94f21662d63a3ff5d04c4fe8f2c.tar.gz
neko-2d48202fa547e94f21662d63a3ff5d04c4fe8f2c.tar.bz2
neko-2d48202fa547e94f21662d63a3ff5d04c4fe8f2c.zip
Vanilla JS (v3): Fix filtering logic, Settings navigation, and refine styles for v2 parity
Diffstat (limited to 'frontend-vanilla/src/style.css')
-rw-r--r--frontend-vanilla/src/style.css18
1 files changed, 12 insertions, 6 deletions
diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css
index 575be9d..8ec3db3 100644
--- a/frontend-vanilla/src/style.css
+++ b/frontend-vanilla/src/style.css
@@ -10,9 +10,9 @@
/* Light Mode Defaults */
--bg-color: #ffffff;
--text-color: rgba(0, 0, 0, 0.87);
- --sidebar-bg: #ccc;
+ --sidebar-bg: #f5f5f5;
--link-color: #0000ee;
- --border-color: #999;
+ --border-color: #e5e5e5;
--accent-color: #007bff;
color-scheme: light dark;
@@ -37,9 +37,9 @@ body {
width: 100%;
}
-/* Sidebar - glassmorphism by default */
+/* Sidebar - matching v2 glass variant */
.sidebar {
- width: 14rem;
+ width: 11rem;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
@@ -87,7 +87,7 @@ body {
}
.sidebar-section h3 {
- font-family: var(--font-heading);
+ font-family: var(--font-sans);
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.1em;
@@ -116,6 +116,7 @@ body {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ font-family: var(--font-sans);
}
.sidebar-section li a:hover {
@@ -148,7 +149,7 @@ body {
text-decoration: none;
color: var(--text-color);
font-size: 0.9rem;
- font-family: var(--font-heading);
+ font-family: var(--font-sans);
}
.sidebar-footer a:hover {
@@ -280,6 +281,11 @@ body {
font-family: var(--font-body);
}
+.font-sans {
+ --font-body: var(--font-heading);
+ font-family: var(--font-body);
+}
+
.font-mono {
--font-body: Menlo, Monaco, Consolas, 'Courier New', monospace;
font-family: var(--font-body);