-
Notifications
You must be signed in to change notification settings - Fork 1
/
main-css.css
250 lines (235 loc) · 5.13 KB
/
main-css.css
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
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Poppins:wght@400;500;600&display=swap");
* {
margin: 0;
padding: 0;
font-family: "Nunito", sans-serif;
font-weight: 500;
}
html {
scroll-behavior: smooth;
}
body {
text-align: center;
max-width: 600px;
position: relative;
margin: auto;
background: black;
}
.preload {
position: fixed;
z-index: 9999;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: black;
display: flex;
justify-content: center;
align-items: center;
}
.preload p {
color: #fff;
animation: load 3s ease;
-webkit-animation: load 1s ease infinite;
}
@keyframes load {
0% {
opacity: 1;
}
50% {
opacity: 0.2;
}
100% {
opacity: 1;
}
}
.open {
position: fixed;
z-index: 10;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
overflow-x: hidden;
background-color: black;
background-size: cover;
}
.open div {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.open div.lope {
height: 70px;
width: 70px;
margin: 20px 0;
margin-top: 60px;
background: rgb(255, 255, 255);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
animation: anm 1s infinite ease;
-webkit-animation: anm 1s infinite ease;
box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
}
.open i {
font-size: 2.3em;
color: red;
}
.open h3 {
font-weight: 500;
color: white;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
#bg {
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.511)), url("Foto1.jpg");
background-size: cover;
background-repeat: no-repeat;
top: 0;
bottom: 0;
width: 100vw;
max-width: 600px;
position: fixed;
z-index: -1;
}
img#fotoku {
max-width: 200px;
margin: 50px auto 20px;
opacity: 0;
transform: translateY(30px) scale(0.3);
-webkit-transform: translateY(30px) scale(0.3);
-moz-transform: translateY(30px) scale(0.3);
-ms-transform: translateY(30px) scale(0.3);
-o-transform: translateY(30px) scale(0.3);
}
h2#hai,
h3#hia {
font-weight: 500;
color: white;
text-shadow: 2px 2px 5px black;
}
h2#hai,
h3#hia {
opacity: 0;
transform: translateY(20px);
-webkit-transform: translateY(20px);
-moz-transform: translateY(20px);
-ms-transform: translateY(20px);
-o-transform: translateY(20px);
}
#slider {
display: flex;
overflow: scroll;
overflow-y: hidden;
width: 90%;
margin: auto;
height: fit-content;
padding: 10px 0;
flex-flow: row nowrap;
scroll-snap-type: x mandatory;
scrollbar-width: none;
opacity: 0;
transform: translateY(-20px) scale(0.5);
-webkit-transform: translateY(-20px) scale(0.5);
-moz-transform: translateY(-20px) scale(0.5);
-ms-transform: translateY(-20px) scale(0.5);
-o-transform: translateY(-20px) scale(0.5);
}
#slider::-webkit-scrollbar {
display: none;
}
#slider p {
font-size: 1.2em;
color: white;
text-shadow: 2px 2px black;
font-weight: 500;
text-align: center;
scroll-snap-align: center;
flex: none;
width: 80%;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
margin: 10px;
padding: 10px 20px;
box-sizing: border-box;
background: rgba(0, 0, 0, 0.425);
border: 2px dashed rgb(255, 255, 255);
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
}
#slider p:first-child {
margin-left: 10%;
}
#slider p:last-child {
margin-right: 10%;
}
span {
margin-left: 5px;
cursor: pointer;
animation: anm 1s infinite;
-webkit-animation: anm 1s infinite;
}
@keyframes anm {
0% {
transform: scale(1);
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
}
50% {
transform: scale(1.2);
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-ms-transform: scale(1.2);
-o-transform: scale(1.2);
}
100% {
transform: scale(1);
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
}
}
.swal2-popup {
border-radius: 20px !important;
-webkit-border-radius: 20px !important;
-moz-border-radius: 20px !important;
-ms-border-radius: 20px !important;
-o-border-radius: 20px !important;
}
.swal2-title {
font-size: 1.6em !important;
}
.swal2-html-container {
height: 1.6em !important;
}
.swal2-styled {
color: white !important;
background: #894eff !important;
padding: 10px 20px;
border-radius: 10px !important;
-webkit-border-radius: 10px !important;
-moz-border-radius: 10px !important;
-ms-border-radius: 10px !important;
-o-border-radius: 10px !important;
}
.swal2-image {
height: 150px !important;
}