forked from NextCommunity/NextCommunity.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
59 lines (51 loc) · 1.32 KB
/
style.css
File metadata and controls
59 lines (51 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
:root {
/* Default Light Mode */
--bg-page: #f8fafc;
--bg-card: #ffffff;
--bg-footer: #f1f5f9;
--text-main: #0f172a;
--text-muted: #64748b;
--border-color: #e2e8f0;
--accent: #4f46e5;
}
/* Dark Mode Class */
.dark {
--bg-page: #020617;
--bg-card: #0f172a;
--bg-footer: #1e293b50;
--text-main: #f8fafc;
--text-muted: #94a3b8;
--border-color: #1e293b;
--accent: #818cf8;
}
/* Base Styles */
body {
background-color: var(--bg-page);
color: var(--text-main);
transition: background-color 0.4s ease, color 0.4s ease;
}
.user-card {
background-color: var(--bg-card);
border: 1px solid var(--border-color);
transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card-footer {
background-color: var(--bg-footer);
border-top: 1px solid var(--border-color);
}
/* Accent Color Overrides */
.text-accent { color: var(--accent); }
.bg-accent { background-color: var(--accent); }
.border-accent { border-color: var(--accent); }
/* Animations */
@keyframes glow-pulse {
0% { box-shadow: 0 0 0 0 var(--accent); opacity: 0.7; }
70% { box-shadow: 0 0 0 15px transparent; }
100% { box-shadow: 0 0 0 0 transparent; }
}
.highlight-pulse {
animation: glow-pulse 2s infinite;
transform: translateY(-8px);
border-color: var(--accent) !important;
}
html { scroll-behavior: smooth; }