-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
175 lines (149 loc) · 3.16 KB
/
style.css
File metadata and controls
175 lines (149 loc) · 3.16 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', sans-serif;
line-height: 1.6;
background: #0b0c10;
color: #c5c6c7;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
background: #1f2833;
padding: 20px 40px;
position: sticky;
top: 0;
z-index: 1000;
}
.logo {
font-size: 24px;
font-weight: bold;
color: #66fcf1;
}
nav ul {
display: flex;
list-style: none;
gap: 20px;
}
nav ul li a {
text-decoration: none;
color: #c5c6c7;
transition: color 0.3s;
}
nav ul li a:hover {
color: #66fcf1;
}
.menu-toggle {
display: none;
font-size: 28px;
color: white;
cursor: pointer;
}
#home {
background: transparent;
height: 90vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 40px;
}
#home h1 {
font-size: 70px;
margin-bottom: 10px;
align-items: flex-end;
}
#home span {
color: #66fcf1;
}
footer {
background: #1f2833;
text-align: center;
padding: 20px;
color: #c5c6c7;
}
@media (max-width: 768px) {
nav ul {
flex-direction: column;
background: #1f2833;
position: absolute;
top: 70px;
right: 0;
width: 200px;
display: none;
}
nav ul.active {
display: flex;
}
.menu-toggle {
display: block;
}
}
:root {
--bg1: #0b1020;
--bg2: #191f3a;
--accent: #8ec5ff;
--text: #e9eefc;
}
/* Full-bleed fixed canvas behind everything */
#bg3d {
position: fixed;
inset: 0;
z-index: -1;
display: block;
background: radial-gradient(1200px 800px at 70% 20%, #243055 0%, var(--bg1) 60%),
linear-gradient(180deg, var(--bg2), var(--bg1));
}
/* Optional animated gradient fallback (used if WebGL fails or prefers-reduced-motion) */
.fallback-anim {
animation: hue 30s linear infinite;
filter: saturate(120%);
}
@keyframes hue { to { filter: hue-rotate(360deg) saturate(120%); } }
/* Example content */
body {
margin: 0;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
color: var(--text);
min-height: 100svh;
overflow-x: hidden;
}
header {
position: sticky;
top: 0;
backdrop-filter: blur(8px);
background: color-mix(in srgb, #0b1020 75%, transparent);
border-bottom: 1px solid rgba(255,255,255,.08);
}
.container {
max-width: 1100px;
margin: 0 auto;
padding: 24px;
}
h1 {
margin: 16px 0;
font-weight: 800;
letter-spacing: .3px;
}
.card {
background: rgba(255,255,255,.04);
border: 1px solid rgba(255,255,255,.08);
border-radius: 16px;
padding: 24px;
box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.cta {
display: inline-block;
margin-top: 12px;
padding: 10px 14px;
border-radius: 12px;
border: 1px solid rgba(255,255,255,.2);
background: rgba(255,255,255,.06);
color: var(--text);
text-decoration: none;
}
.cta:active { transform: translateY(1px); }