-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (95 loc) · 2.33 KB
/
style.css
File metadata and controls
125 lines (95 loc) · 2.33 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
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap");
@import "tailwindcss";
@theme {
--font-geist: "Geist", sans-serif;
}
* {
/* Change scrollbar color to black */
scrollbar-color: black;
scrollbar-width: thin;
}
@layer base {
body {
@apply font-geist;
}
code {
@apply font-mono text-sm bg-zinc-900 text-orange-400 p-1;
}
h1 {
@apply text-3xl font-bold text-zinc-50;
}
main {
@apply px-10 pt-10 pb-20 flex flex-col bg-[#020013] min-h-screen;
}
a {
@apply text-blue-400 hover:text-blue-500;
}
}
@layer components {
.nav {
@apply flex flex-row justify-between items-center gap-5 max-w-7xl w-full mx-auto;
img {
@apply size-10 object-contain;
}
}
.container {
@apply mt-20 space-y-10 max-w-7xl mx-auto;
h1 {
@apply text-3xl font-bold text-white text-center;
}
ul {
@apply flex flex-wrap justify-center gap-5;
li {
@apply w-[300px] bg-[#11142B] rounded-2xl;
img {
@apply w-full h-[200px] object-cover rounded-t-2xl;
}
div {
@apply p-5 space-y-2;
h3 {
@apply text-lg font-bold text-white;
}
p {
@apply text-[#c2cde7] text-base;
}
}
}
}
}
.content {
@apply flex w-full sm:flex-row flex-col mt-20 mb-10 max-w-7xl mx-auto sm:gap-5 gap-10;
.arrow {
@apply flex-[1/12];
a {
@apply size-12 rounded-[10px] flex items-center justify-center bg-[#11142b];
}
img {
@apply size-2/5 object-contain;
}
}
section {
@apply flex-[11/12] flex flex-col gap-5 max-w-3xl mx-auto;
h1 {
@apply mb-7 text-4xl font-bold text-white;
}
p {
@apply text-[#c2cde7] text-lg font-normal leading-7 space-y-3;
}
}
}
.demo {
@apply bg-[#11142b] w-full px-10 py-20 rounded-3xl min-h-[500px] relative overflow-hidden;
.repeat {
@apply size-12 rounded-[10px] flex items-center justify-center bg-[#22274A] absolute top-3 right-3 z-0 cursor-pointer;
img {
@apply size-2/5 object-contain;
}
}
}
}
@utility flex-center {
@apply flex items-center justify-center;
}
@utility flex-center-row {
@apply flex flex-row items-center justify-center gap-5 flex-wrap;
}