-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
245 lines (196 loc) · 3.9 KB
/
style.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
body {
font-family: "Inconsolata", monospace, arial;
}
/* PERKENALAN */
.perkenalan h1 span {
font-weight: bold;
color: rgb(65, 84, 255);
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
animation: perkenalan-h1 5s ease alternate forwards infinite;
}
.perkenalan .marah {
font-family: "Kirang Haerang", monospace, arial;
color: rgb(253, 76, 76);
}
.perkenalan h3 span {
font-family: "Kirang Haerang", monospace, arial;
color: rgb(253, 76, 76);
}
.perkenalan img {
width: 100%;
filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.5));
}
/* MATERI */
.materi .navigasi-materi a {
background-color: rgb(65, 84, 255);
color: white;
text-align: center;
text-decoration: none;
display: block;
padding: 0.3em;
transition: 0.5s;
}
.materi .navigasi-materi a:hover {
background-color: rgb(253, 76, 76);
}
.materi img {
width: 100%;
filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.5));
}
.materi h4 {
background-color: rgb(65, 84, 255);
color: white;
transition: all 0.5s;
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}
.materi h4:hover {
background-color: rgb(253, 76, 76);
margin-top: -0.1em;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}
.materi .container h3 {
margin-top: 3em;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
animation: perkenalan-h1 5s ease alternate forwards infinite;
}
.materi .list-group {
list-style: none;
}
.materi .sub-materi {
text-align: center;
background-color: rgb(65, 84, 255);
border-radius: 2em;
padding: 0.5em;
margin: auto;
display: flex;
justify-items: center;
align-items: center;
cursor: pointer;
transition: 0.5s;
}
.materi .sub-materi:hover {
background-color: rgb(253, 76, 76);
}
.materi .sub-materi a {
color: white;
text-decoration: none;
}
/* RUMUS */
.rumus {
background-color: rgb(65, 84, 255);
margin-top: -1em;
}
.rumus .card {
width: 50%;
margin: auto;
border-radius: 2em;
box-shadow: 0px 0px 1px 2px rgb(70, 70, 70, 0.5);
}
.rumus .tombol_hitung {
text-align: center;
background-color: rgb(65, 84, 255);
padding: 0.5em;
border-radius: 0.5em;
margin: 0em 0.5em 1em 0.5em;
color: white;
cursor: pointer;
}
.rumus .bab_materi {
cursor: pointer;
}
.rumus .bab_materi .tombol_bab_materi {
text-align: center;
padding: 0.5em;
margin-right: 1em;
margin-left: 1em;
background-color: white;
box-shadow: 0px 0px 1px 2px rgb(70, 70, 70, 0.5);
cursor: pointer;
}
.rumus .bab_materi .tombol_bab_materi a {
color: black;
text-decoration: none;
}
/* FOOTER */
.svg_footer {
margin-top: 15em;
}
.footer {
background-color: rgb(65, 84, 255);
}
.footer h3 {
color: white;
}
.footer .bi-instagram {
color: purple;
}
.footer .bi-github {
color: black;
}
.footer .bi-twitter {
color: lightblue;
}
.footer .bi-facebook {
color: blue;
}
.footer p,
.footer a {
color: white;
}
.footer .bi-heart-fill {
color: red;
}
.footer .bi-headphones {
color: black;
}
.footer .bi-cup-straw {
color: orange;
}
/* Animasi */
.menampilkan_dari_atas {
animation: dari_atas 2s ease alternate;
}
.load {
animation: load 2s ease alternate;
}
@keyframes load {
0% {
opacity: 0;
transform: translateY(-500px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes perkenalan-h1 {
0% {
color: rgb(66, 85, 255);
}
50% {
color: rgb(49, 255, 49);
}
100% {
color: rgb(253, 76, 76);
}
}
@keyframes dari_atas {
0% {
opacity: 0;
transform: translateY(-100px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive */
@media (max-width: 720px) {
.materi img {
margin-top: -3em;
}
.materi .sub-materi {
padding: 0.3em;
border-radius: 1em;
}
}