forked from commitra/react-verse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHeader.css
More file actions
98 lines (90 loc) · 1.9 KB
/
Header.css
File metadata and controls
98 lines (90 loc) · 1.9 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/* 🌌 Enhanced Dashboard Header (Dark Theme) */
.dashboard-header {
background: linear-gradient(145deg, #0b3c5f 0%, #072b44 100%);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
padding: 3rem 1rem 2.5rem;
text-align: center;
color: #ffffff;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
position: relative;
overflow: hidden;
}
/* ✨ Subtle animated gradient sweep */
.dashboard-header::after {
content: "";
position: absolute;
top: 0;
left: -50%;
width: 200%;
height: 100%;
background: radial-gradient(circle at 30% 20%, rgba(0, 217, 255, 0.15), transparent 60%);
animation: sweep 10s ease-in-out infinite alternate;
z-index: 0;
}
/* 🖋️ Typewriter Title */
.dashboard-title {
display: inline-block;
font-size: 3rem;
font-weight: 700;
margin-bottom: 0.6rem;
background: linear-gradient(90deg, #4ec9df, #24b8c9, #1a5c66);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
letter-spacing: 1px;
overflow: hidden;
white-space: nowrap;
border-right: 3px solid #f9fdfd00;
animation:
typing 3.5s steps(18) 0.5s 1 normal both,
blink 0.75s step-end infinite,
fadeInUp 1s ease both;
}
/* 💬 Subtitle */
.dashboard-subtitle {
font-size: 1.2rem;
color: #b8cce3;
max-width: 600px;
margin: 0 auto;
line-height: 1.5;
opacity: 0.9;
animation: fadeInUp 1.5s ease both;
}
/* 🌈 Keyframes */
@keyframes typing {
from {
width: 0;
}
to {
width: 15ch; /* Adjust depending on your title length */
}
}
@keyframes blink {
50% {
border-color: transparent;
}
}
@keyframes sweep {
from {
transform: translateX(-10%);
}
to {
transform: translateX(10%);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* 🧱 Container */
.header-content {
position: relative;
z-index: 1;
max-width: 900px;
margin: 0 auto;
}