Update style.css
Browse files
style.css
CHANGED
|
@@ -1,28 +1,46 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
| 1 |
+
/* Header section - Sesuaikan warna dan ukuran */
|
| 2 |
+
header h1 {
|
| 3 |
+
font-size: 2rem;
|
| 4 |
+
font-weight: bold;
|
| 5 |
+
color: #002d63; /* Warna biru tua */
|
| 6 |
}
|
| 7 |
|
| 8 |
+
/* Currency selectors */
|
| 9 |
+
.currency-selectors {
|
| 10 |
+
display: flex;
|
| 11 |
+
justify-content: space-between; /* Agar dropdown tidak terlalu rapat */
|
| 12 |
+
align-items: center;
|
| 13 |
+
gap: 10px;
|
| 14 |
}
|
| 15 |
|
| 16 |
+
span {
|
| 17 |
+
font-size: 16px; /* Ukuran teks 'to' */
|
| 18 |
+
font-weight: bold;
|
| 19 |
+
color: #555;
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
+
/* Tombol Convert */
|
| 23 |
+
button {
|
| 24 |
+
padding: 15px;
|
| 25 |
+
background-color: #0056b3; /* Warna biru yang lebih gelap */
|
| 26 |
+
color: #ffffff;
|
| 27 |
+
border: none;
|
| 28 |
+
border-radius: 10px;
|
| 29 |
+
font-size: 18px;
|
| 30 |
+
font-weight: bold;
|
| 31 |
+
cursor: pointer;
|
| 32 |
+
transition: all 0.3s ease;
|
| 33 |
}
|
| 34 |
|
| 35 |
+
button:hover {
|
| 36 |
+
background-color: #003d80; /* Warna hover lebih gelap */
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
/* Result box - Tambahan gaya */
|
| 40 |
+
#result {
|
| 41 |
+
font-size: 18px;
|
| 42 |
+
font-weight: bold;
|
| 43 |
+
color: #0056b3; /* Warna biru */
|
| 44 |
+
background-color: #eef6ff; /* Latar belakang biru muda */
|
| 45 |
+
border: 1px solid #d4eaff; /* Border biru muda */
|
| 46 |
}
|