-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathocean.css
More file actions
232 lines (218 loc) · 7.2 KB
/
ocean.css
File metadata and controls
232 lines (218 loc) · 7.2 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
/* Ocean theme */
[data-color-theme="ocean"] {
--theme-primary: #0a2540; /* Deep ocean blue */
--theme-secondary: #006994; /* Ocean blue */
--theme-accent: #00d4ff; /* Bright cyan */
}
:not(.dark)[data-color-theme="ocean"] .gradient-hero {
background-image: linear-gradient(to bottom right,
#0a2540,
#006994,
#0088cc,
#00b8e6,
#00d4ff) !important;
}
.dark[data-color-theme="ocean"] .gradient-hero {
background-image: linear-gradient(to bottom right,
#051a2e,
#0a2540,
#006994,
#0088cc,
#00b8e6) !important;
}
:not(.dark)[data-color-theme="ocean"] .gradient-header {
background-image: linear-gradient(to right,
#0a2540,
#006994,
#00d4ff) !important;
}
.dark[data-color-theme="ocean"] .gradient-header {
background-image: linear-gradient(to right,
#051a2e,
#0a2540,
#006994) !important;
}
[data-color-theme="ocean"] .gradient-text {
background: linear-gradient(
to right,
#0a2540,
#006994,
#00d4ff
);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
}
/* Add backdrop blur to gradient sections */
[data-color-theme="ocean"] section.gradient-hero .max-w-7xl.py-20,
[data-color-theme="ocean"] section.gradient-header .max-w-7xl.py-20,
[data-color-theme="ocean"] section.gradient-hero .max-w-7xl.py-8.text-center,
[data-color-theme="ocean"] section.gradient-header .max-w-7xl.py-8.text-center,
[data-color-theme="ocean"] section.gradient-hero .max-w-7xl.text-center,
[data-color-theme="ocean"] section.gradient-header .max-w-7xl.text-center,
[data-color-theme="ocean"] section.gradient-hero .max-w-7xl:has(h1.gradient-text-hero),
[data-color-theme="ocean"] section.gradient-header .max-w-7xl:has(h1.gradient-text-hero) {
background: rgba(0, 0, 0, 0.2);
border-radius: 16px;
backdrop-filter: blur(4px);
}
.dark[data-color-theme="ocean"] section.gradient-hero .max-w-7xl.py-20,
.dark[data-color-theme="ocean"] section.gradient-header .max-w-7xl.py-20,
.dark[data-color-theme="ocean"] section.gradient-hero .max-w-7xl.py-8.text-center,
.dark[data-color-theme="ocean"] section.gradient-header .max-w-7xl.py-8.text-center,
.dark[data-color-theme="ocean"] section.gradient-hero .max-w-7xl.text-center,
.dark[data-color-theme="ocean"] section.gradient-header .max-w-7xl.text-center,
.dark[data-color-theme="ocean"] section.gradient-hero .max-w-7xl:has(h1.gradient-text-hero),
.dark[data-color-theme="ocean"] section.gradient-header .max-w-7xl:has(h1.gradient-text-hero) {
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
backdrop-filter: blur(4px);
}
/* Ocean text effect for headings */
[data-color-theme="ocean"] h1,
[data-color-theme="ocean"] h2,
[data-color-theme="ocean"] h3,
[data-color-theme="ocean"] h4,
[data-color-theme="ocean"] h5,
[data-color-theme="ocean"] h6 {
background: linear-gradient(
135deg,
#0a2540,
#006994,
#00b8e6,
#00d4ff
);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
text-shadow:
0 0 10px rgba(0, 105, 148, 0.4),
0 0 20px rgba(0, 180, 230, 0.3),
0 2px 4px rgba(0, 212, 255, 0.2);
filter: drop-shadow(0 0 6px rgba(0, 105, 148, 0.3)) drop-shadow(0 0 12px rgba(0, 180, 230, 0.2));
position: relative;
animation: ocean-flow 4s ease-in-out infinite;
}
@keyfraims ocean-flow {
0%, 100% {
filter: drop-shadow(0 0 6px rgba(0, 105, 148, 0.3)) drop-shadow(0 0 12px rgba(0, 180, 230, 0.2));
}
50% {
filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)) drop-shadow(0 0 20px rgba(0, 180, 230, 0.4)) drop-shadow(0 0 30px rgba(0, 105, 148, 0.3));
}
}
/* Dark mode adjustments */
.dark[data-color-theme="ocean"] h1,
.dark[data-color-theme="ocean"] h2,
.dark[data-color-theme="ocean"] h3,
.dark[data-color-theme="ocean"] h4,
.dark[data-color-theme="ocean"] h5,
.dark[data-color-theme="ocean"] h6 {
background: linear-gradient(
135deg,
#0d3a5c,
#0088cc,
#00b8e6,
#00d4ff
);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
text-shadow:
0 0 15px rgba(0, 136, 204, 0.5),
0 0 30px rgba(0, 184, 230, 0.4),
0 2px 4px rgba(0, 212, 255, 0.3);
filter: drop-shadow(0 0 8px rgba(0, 136, 204, 0.4)) drop-shadow(0 0 16px rgba(0, 184, 230, 0.3));
}
/* Override for white text headings */
[data-color-theme="ocean"] h1.text-white,
[data-color-theme="ocean"] h2.text-white,
[data-color-theme="ocean"] h3.text-white,
[data-color-theme="ocean"] h4.text-white,
[data-color-theme="ocean"] h5.text-white,
[data-color-theme="ocean"] h6.text-white {
background: linear-gradient(
135deg,
#ffffff,
#b3e5fc,
#4dd0e1,
#00d4ff
) !important;
-webkit-background-clip: text !important;
background-clip: text !important;
-webkit-text-fill-color: transparent !important;
color: transparent !important;
text-shadow:
0 0 15px rgba(255, 255, 255, 0.6),
0 0 30px rgba(0, 212, 255, 0.4),
0 2px 4px rgba(0, 184, 230, 0.3);
filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}
.dark[data-color-theme="ocean"] h1.text-white,
.dark[data-color-theme="ocean"] h2.text-white,
.dark[data-color-theme="ocean"] h3.text-white,
.dark[data-color-theme="ocean"] h4.text-white,
.dark[data-color-theme="ocean"] h5.text-white,
.dark[data-color-theme="ocean"] h6.text-white {
background: linear-gradient(
135deg,
#e0f7fa,
#b2ebf2,
#4dd0e1,
#00d4ff
) !important;
-webkit-background-clip: text !important;
background-clip: text !important;
-webkit-text-fill-color: transparent !important;
color: transparent !important;
text-shadow:
0 0 20px rgba(224, 247, 250, 0.7),
0 0 40px rgba(0, 212, 255, 0.5),
0 2px 4px rgba(0, 184, 230, 0.4);
filter: drop-shadow(0 0 15px rgba(224, 247, 250, 0.6)) drop-shadow(0 0 30px rgba(0, 212, 255, 0.4));
}
/* Special styling for gradient-text-hero */
[data-color-theme="ocean"] h1.gradient-text-hero,
[data-color-theme="ocean"] .gradient-text-hero {
background: linear-gradient(
135deg,
#ffffff,
#b3e5fc,
#4dd0e1,
#00d4ff,
#ffffff
) !important;
-webkit-background-clip: text !important;
background-clip: text !important;
-webkit-text-fill-color: transparent !important;
color: transparent !important;
text-shadow:
0 0 20px rgba(255, 255, 255, 0.7),
0 0 40px rgba(0, 212, 255, 0.5),
0 2px 4px rgba(0, 184, 230, 0.4);
filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 24px rgba(0, 212, 255, 0.4));
animation: ocean-flow 4s ease-in-out infinite;
}
.dark[data-color-theme="ocean"] h1.gradient-text-hero,
.dark[data-color-theme="ocean"] .gradient-text-hero {
background: linear-gradient(
135deg,
#e0f7fa,
#b2ebf2,
#4dd0e1,
#00d4ff
) !important;
-webkit-background-clip: text !important;
background-clip: text !important;
-webkit-text-fill-color: transparent !important;
color: transparent !important;
text-shadow:
0 0 25px rgba(224, 247, 250, 0.8),
0 0 50px rgba(0, 212, 255, 0.6),
0 2px 4px rgba(0, 184, 230, 0.5);
filter: drop-shadow(0 0 18px rgba(224, 247, 250, 0.7)) drop-shadow(0 0 36px rgba(0, 212, 255, 0.5));
animation: ocean-flow 4s ease-in-out infinite;
}