Skip to content

Commit b6dfd27

Browse files
committed
style(ct-gt): fix overlay z-index and align CSS variables with global naming convention
1 parent 07c1f61 commit b6dfd27

1 file changed

Lines changed: 27 additions & 2 deletions

File tree

app/istqb-ct-gt-complete-guide/istqb-ct-gt-complete-guide.css

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
/* ===== CSS VARIABLES ===== */
22
.istqb-ct-gt-page {
3+
position: relative;
4+
5+
/* Base Variables */
36
--bg-deep: #030712;
47
--bg-surface: #0d1117;
58
--bg-card: #111827;
@@ -18,6 +21,28 @@
1821
--font-mono: 'Space Mono', monospace;
1922
--font-head: 'Syne', sans-serif;
2023
--font-body: 'IBM Plex Sans JP', sans-serif;
24+
25+
/* Global Naming Convention Mappings */
26+
--color-bg-deep: var(--bg-deep);
27+
--color-bg-surface: var(--bg-surface);
28+
--color-bg-card: var(--bg-card);
29+
--color-bg-card-hover: var(--bg-card-hover);
30+
31+
--color-accent-green: var(--neon-green);
32+
--color-accent-cyan: var(--neon-cyan);
33+
--color-accent-orange: var(--neon-amber);
34+
--color-accent-red: var(--neon-red);
35+
--color-accent-purple: var(--neon-purple);
36+
--color-accent-pink: var(--neon-pink);
37+
38+
--color-text-primary: var(--text-primary);
39+
--color-text-secondary: var(--text-secondary);
40+
--color-text-muted: var(--text-muted);
41+
42+
--color-border-dim: var(--border-dim);
43+
--color-border-glow: var(--border-glow);
44+
45+
--font-display: var(--font-head);
2146
}
2247

2348
/* ===== RESET ===== */
@@ -41,7 +66,7 @@
4166
transparent 4px
4267
);
4368
pointer-events: none;
44-
z-index: 9999;
69+
z-index: 0;
4570
}
4671

4772
/* ===== GRID TEXTURE ===== */
@@ -54,7 +79,7 @@
5479
linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
5580
background-size: 40px 40px;
5681
pointer-events: none;
57-
z-index: 9998;
82+
z-index: 0;
5883
}
5984

6085

0 commit comments

Comments
 (0)