forked from niharika-mente/DevEvent_Tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.css
More file actions
314 lines (264 loc) · 7.88 KB
/
Copy pathglobals.css
File metadata and controls
314 lines (264 loc) · 7.88 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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
@import "tailwindcss";
@import "tw-animate-css";
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--font-sans-brand: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
--font-mono-brand: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
--color-blue: #087f91;
--color-light-100: #17262d;
--color-light-200: #52666f;
--color-border-dark: #d8e2e6;
--color-dark-100: #ffffff;
--color-dark-200: #eef4f6;
--radius: 0.625rem;
--background: #f6fafb;
--foreground: #102027;
--card: #ffffff;
--card-foreground: #102027;
--popover: #ffffff;
--popover-foreground: #102027;
--primary: #0f9f91;
--primary-foreground: #ffffff;
--secondary: #e7f1f3;
--secondary-foreground: #183038;
--muted: #eaf1f3;
--muted-foreground: #52666f;
--accent: #dff5f1;
--accent-foreground: #075e57;
--destructive: oklch(0.577 0.245 27.325);
--border: #d8e2e6;
--input: #cad8dd;
--ring: #0f9f91;
--chart-1: oklch(0.646 0.222 41.116);
--chart-2: oklch(0.6 0.118 184.704);
--chart-3: oklch(0.398 0.07 227.392);
--chart-4: oklch(0.828 0.189 84.429);
--chart-5: oklch(0.769 0.188 70.08);
--sidebar: oklch(0.985 0 0);
--sidebar-foreground: oklch(0.145 0 0);
--sidebar-primary: oklch(0.205 0 0);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.97 0 0);
--sidebar-accent-foreground: oklch(0.205 0 0);
--sidebar-border: oklch(0.922 0 0);
--sidebar-ring: oklch(0.708 0 0);
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-blue: var(--color-blue);
--color-light-100: var(--color-light-100);
--color-light-200: var(--color-light-200);
--color-border-dark: var(--color-border-dark);
--color-dark-100: var(--color-dark-100);
--color-dark-200: var(--color-dark-200);
--font-schibsted-grotesk: var(--font-sans-brand);
--font-martian-mono: var(--font-mono-brand);
--color-sidebar-ring: var(--sidebar-ring);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar: var(--sidebar);
--color-chart-5: var(--chart-5);
--color-chart-4: var(--chart-4);
--color-chart-3: var(--chart-3);
--color-chart-2: var(--chart-2);
--color-chart-1: var(--chart-1);
--color-ring: var(--ring);
--color-input: var(--input);
--color-border: var(--border);
--color-destructive: var(--destructive);
--color-accent-foreground: var(--accent-foreground);
--color-accent: var(--accent);
--color-muted-foreground: var(--muted-foreground);
--color-muted: var(--muted);
--color-secondary-foreground: var(--secondary-foreground);
--color-secondary: var(--secondary);
--color-primary-foreground: var(--primary-foreground);
--color-primary: var(--primary);
--color-popover-foreground: var(--popover-foreground);
--color-popover: var(--popover);
--color-card-foreground: var(--card-foreground);
--color-card: var(--card);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
}
@utility flex-center {
@apply flex items-center justify-center;
}
@utility text-gradient {
@apply to-blue bg-gradient-to-b from-foreground via-foreground bg-clip-text font-semibold text-transparent;
}
@utility glass {
@apply bg-background/85 rounded-md bg-clip-padding backdrop-filter backdrop-blur-xl border-b border-border-dark;
}
@utility card-shadow {
box-shadow: 0px 4px 40px 0px #00000066;
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply min-h-screen bg-background text-foreground antialiased transition-colors duration-300;
font-family: var(--font-sans-brand);
background-image: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 34rem);
}
main {
@apply mx-auto container flex flex-col sm:px-10 px-5 py-10;
}
h1 {
@apply text-gradient text-6xl font-semibold max-sm:text-4xl;
}
h3 {
@apply font-schibsted-grotesk text-2xl font-bold;
}
ul {
@apply list-disc list-inside;
}
}
@layer components {
#home {
.subheading {
@apply text-light-100 text-lg max-sm:text-sm text-center mt-5;
}
}
#explore-btn {
@apply border-dark-200 bg-dark-100 flex w-fit cursor-pointer rounded-full border px-8 py-3.5 max-sm:w-full text-center;
a {
@apply flex-center gap-2 text-center w-full;
}
}
header {
@apply glass sticky top-0 z-50;
nav {
@apply flex flex-row justify-between mx-auto container sm:px-10 px-5 py-4;
}
.logo {
@apply flex flex-row items-center gap-2;
p {
@apply text-xl font-bold italic max-sm:hidden;
}
}
ul {
@apply flex flex-row items-center gap-6 list-none;
}
}
.events {
@apply grid md:grid-cols-3 gap-10 sm:grid-cols-2 grid-cols-1;
}
.event-card {
@apply flex flex-col gap-3;
.poster {
@apply h-[300px] w-full rounded-lg object-cover;
}
.title {
@apply text-[20px] font-semibold line-clamp-1;
}
p {
@apply text-light-200 text-sm font-light;
}
.datetime {
@apply text-light-200 flex flex-row flex-wrap items-center gap-4;
div {
@apply flex flex-row gap-2;
}
}
}
#event {
.header {
@apply flex w-2/3 flex-col items-start gap-4 max-lg:w-full mb-10;
}
.details {
@apply flex w-full flex-col lg:flex-row gap-12 items-start mt-12 max-lg:items-center;
.content {
@apply flex flex-[2] flex-col gap-8 max-lg:w-full;
.banner {
@apply max-h-[457px] w-full rounded-lg object-cover;
}
.agenda {
@apply flex flex-col gap-2;
ul {
li {
@apply text-light-100 text-lg max-sm:text-sm;
}
}
}
}
.booking {
@apply flex-1 w-full p-4 border-l border-border;
.signup-card {
@apply bg-dark-100 border-dark-200 card-shadow flex w-full flex-col gap-6 rounded-[10px] border px-5 py-6;
}
}
}
h2 {
@apply font-schibsted-grotesk text-2xl font-bold;
}
p {
@apply text-light-100 text-lg max-sm:text-sm;
}
.flex-col-gap-2 {
@apply flex flex-col gap-2;
}
.flex-row-gap-2 {
@apply flex flex-row gap-2;
}
}
.pill {
@apply bg-dark-100 text-light-100 text-xs rounded-[6px] px-5 py-2;
}
#book-event {
@apply flex flex-col gap-6;
form {
@apply flex flex-col gap-6;
div {
@apply flex flex-col gap-2;
input {
@apply bg-dark-200 rounded-[6px] px-5 py-2.5;
}
}
button {
@apply bg-primary hover:bg-primary/90 w-full cursor-pointer items-center justify-center rounded-[6px] px-4 py-2.5 text-lg font-semibold text-black;
}
}
}
}
.dark {
color-scheme: dark;
--color-blue: #94eaff;
--color-light-100: #e7f2ff;
--color-light-200: #bdbdbd;
--color-border-dark: #21323a;
--color-dark-100: #0d161a;
--color-dark-200: #182830;
--background: #030708;
--foreground: #ffffff;
--card: #0d161a;
--card-foreground: #f4fbff;
--popover: #0d161a;
--popover-foreground: #f4fbff;
--primary: #59deca;
--primary-foreground: #031310;
--secondary: #182830;
--secondary-foreground: #f4fbff;
--muted: #182830;
--muted-foreground: #bdbdbd;
--accent: #163139;
--accent-foreground: #dffcff;
--border: #21323a;
--input: #2b3e47;
--ring: #59deca;
--sidebar: #0d161a;
--sidebar-foreground: #f4fbff;
}
.dark input[type="date"]::-webkit-calendar-picker-indicator,
.dark input[type="time"]::-webkit-calendar-picker-indicator {
filter: invert(1);
}