GarGerry commited on
Commit
5161658
·
verified ·
1 Parent(s): 8edf5f2

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +135 -0
style.css CHANGED
@@ -1,3 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /* Converter Content */
2
  .content {
3
  background-color: #004d00; /* Hijau tua */
@@ -144,4 +197,86 @@
144
  flex-direction: column; /* Label dan dropdown disusun secara vertikal */
145
  align-items: center;
146
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  }
 
1
+ /* Body */
2
+ body {
3
+ font-family: 'Poppins', Arial, sans-serif; /* Font modern */
4
+ margin: 0;
5
+ padding: 0;
6
+ box-sizing: border-box;
7
+ overflow-x: hidden; /* Prevent horizontal scroll */
8
+ background-color: white; /* Warna dasar putih */
9
+ }
10
+
11
+ /* Navbar */
12
+ .navbar {
13
+ position: fixed;
14
+ top: 0;
15
+ left: 0;
16
+ width: 100%;
17
+ background-color: #004d00; /* Hijau tua */
18
+ color: white;
19
+ padding: 10px 20px;
20
+ display: flex;
21
+ justify-content: space-between;
22
+ align-items: center;
23
+ z-index: 1000;
24
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Bayangan ringan */
25
+ }
26
+
27
+ .navbar .logo img {
28
+ height: 40px;
29
+ }
30
+
31
+ .navbar .logo img:hover {
32
+ transform: scale(1.1); /* Efek hover */
33
+ transition: transform 0.3s ease;
34
+ }
35
+
36
+ /* Headline */
37
+ .headline {
38
+ text-align: center;
39
+ background-color: #004d00; /* Hijau tua */
40
+ color: white;
41
+ padding: 60px 20px;
42
+ margin-top: 50px;
43
+ }
44
+
45
+ .headline h1 {
46
+ font-size: 36px;
47
+ font-weight: bold;
48
+ }
49
+
50
+ .headline p {
51
+ font-size: 18px;
52
+ }
53
+
54
  /* Converter Content */
55
  .content {
56
  background-color: #004d00; /* Hijau tua */
 
197
  flex-direction: column; /* Label dan dropdown disusun secara vertikal */
198
  align-items: center;
199
  }
200
+ }
201
+
202
+ /* Convert Button */
203
+ #convert-btn {
204
+ background-color: #004d00; /* Hijau tua */
205
+ color: white;
206
+ cursor: pointer;
207
+ padding: 15px 30px;
208
+ font-size: 16px;
209
+ border: none;
210
+ border-radius: 8px;
211
+ margin-top: 20px;
212
+ transition: background-color 0.3s ease, transform 0.2s ease;
213
+ }
214
+
215
+ #convert-btn:hover {
216
+ background-color: #003300; /* Hijau lebih gelap */
217
+ transform: translateY(-2px); /* Sedikit naik */
218
+ }
219
+
220
+ /* How-to-Use Section */
221
+ .how-to-use {
222
+ background-color: white;
223
+ color: black;
224
+ padding: 40px 20px;
225
+ margin-top: 20px;
226
+ text-align: center;
227
+ }
228
+
229
+ .how-to-use h2 {
230
+ font-weight: bold;
231
+ margin-bottom: 20px;
232
+ color: #004d00; /* Hijau tua */
233
+ }
234
+
235
+ .steps {
236
+ display: grid;
237
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
238
+ gap: 20px;
239
+ }
240
+
241
+ .step {
242
+ background-color: #f0f0f0;
243
+ padding: 20px;
244
+ border-radius: 8px;
245
+ text-align: center;
246
+ transition: background-color 0.3s ease, transform 0.3s ease;
247
+ }
248
+
249
+ .step:hover {
250
+ background-color: #e0e0e0;
251
+ transform: translateY(-5px);
252
+ }
253
+
254
+ .step h3 {
255
+ font-weight: bold;
256
+ color: #004d00; /* Hijau tua */
257
+ }
258
+
259
+ /* Footer */
260
+ .footer {
261
+ background-color: #004d00; /* Hijau tua */
262
+ color: white;
263
+ padding: 20px 0;
264
+ text-align: center;
265
+ margin-top: 40px;
266
+ border-top: 2px solid #003300;
267
+ }
268
+
269
+ .footer-content p {
270
+ margin: 5px 0;
271
+ }
272
+
273
+ .footer-content a {
274
+ color: white;
275
+ text-decoration: none;
276
+ margin: 0 10px;
277
+ transition: color 0.3s ease;
278
+ }
279
+
280
+ .footer-content a:hover {
281
+ color: #ccc;
282
  }