-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
228 lines (192 loc) · 3.61 KB
/
style.css
File metadata and controls
228 lines (192 loc) · 3.61 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
/* UI Layer above fluid canvas */
.ui {
position: relative;
z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
margin-top: 15px;
height: 100vh;
height: 100dvh; /* dynamic viewport — accounts for mobile browser address bar */
text-align: center;
pointer-events: none;
padding: 0 16px 10px 16px;
box-sizing: border-box;
overflow: hidden;
}
/* Enable interaction only for UI elements */
.ui button,
.ui input,
.ui .task-bar div {
pointer-events: auto;
}
/* Heading */
.head {
margin-bottom: 8px;
}
.h-one h5 {
margin: 0;
font-size: 16px;
font-weight: 500;
color: #444;
}
.h-two h1 {
margin: 4px 0 8px 0;
font-size: 52px;
font-weight: 800;
}
/* Image */
.image {
margin: 20px 0;
}
.image img {
width: 180px;
height: 180px;
border-radius: 24px;
object-fit: cover;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
/* Task Cards */
.task-bar {
margin-top: auto;
margin-bottom: 60px;
display: flex;
gap: 15px;
flex-wrap: wrap;
justify-content: center;
}
.task-bar div {
width: 100px;
height: 75px;
background: rgba(255, 255, 255, 0.502);
border-radius: 14px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
transition: 0.25s;
}
.task-bar div:hover {
transform: translateY(-5px);
}
.task-bar i {
font-size: 16px;
margin-bottom: 5px;
}
.task-bar p {
font-size: 12px;
margin: 0;
}
/* quote */
.quote {
margin-top: 15px;
}
.liquid-btn {
position: relative;
padding: 10px 22px;
border-radius: 25px;
border: 1px solid rgba(255, 255, 255, 0.856);
background: rgba(255, 255, 255, 0.35);
backdrop-filter: blur(18px) saturate(180%);
-webkit-backdrop-filter: blur(18px);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.489),
0 8px 20px rgba(0, 0, 0, 0.15);
overflow: hidden;
cursor: pointer;
max-width: 90vw;
}
/* glass shine */
.shine {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
opacity: 0.4;
}
/* ── Responsive ── */
/* Tablet */
@media (max-width: 768px) {
.h-two h1 {
font-size: 38px;
}
.image img {
width: 150px;
height: 150px;
}
.task-bar div {
width: 85px;
height: 68px;
}
}
/* Mobile */
@media (max-width: 480px) {
.ui {
margin-top: 10px;
}
.h-one h5 {
font-size: 14px;
}
.h-two h1 {
font-size: 28px;
}
.image img {
width: 120px;
height: 120px;
border-radius: 18px;
}
.image {
margin: 12px 0;
}
.liquid-btn {
padding: 8px 16px;
font-size: 13px;
}
.task-bar {
gap: 10px;
margin-bottom: 30px;
}
.task-bar div {
width: 72px;
height: 62px;
border-radius: 12px;
}
.task-bar i {
font-size: 14px;
}
.task-bar p {
font-size: 11px;
}
}
/* Very short screens (small phones, landscape) */
@media (max-height: 680px) {
.h-two h1 {
font-size: 26px;
}
.image img {
width: 100px;
height: 100px;
}
.image {
margin: 8px 0;
}
.quote {
margin-top: 8px;
}
.liquid-btn {
padding: 6px 14px;
font-size: 12px;
}
.task-bar {
margin-bottom: 16px;
gap: 8px;
}
.task-bar div {
width: 68px;
height: 56px;
}
}