Update style.css
Browse files
style.css
CHANGED
|
@@ -7,8 +7,8 @@ body {
|
|
| 7 |
justify-content: center;
|
| 8 |
align-items: center;
|
| 9 |
min-height: 100vh;
|
| 10 |
-
background-color: #001d57; /*
|
| 11 |
-
overflow: auto; /*
|
| 12 |
}
|
| 13 |
|
| 14 |
.container {
|
|
@@ -18,7 +18,6 @@ body {
|
|
| 18 |
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
|
| 19 |
width: 100%;
|
| 20 |
max-width: 400px;
|
| 21 |
-
text-align: center;
|
| 22 |
}
|
| 23 |
|
| 24 |
/* Header */
|
|
@@ -31,6 +30,13 @@ header h1 {
|
|
| 31 |
text-transform: uppercase;
|
| 32 |
}
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
/* Form Groups */
|
| 35 |
.form-group {
|
| 36 |
margin-bottom: 15px;
|
|
@@ -60,16 +66,17 @@ input:focus, select:focus {
|
|
| 60 |
/* Swap Button */
|
| 61 |
.swap-group {
|
| 62 |
text-align: center;
|
| 63 |
-
margin: 20px 0;
|
| 64 |
}
|
| 65 |
|
| 66 |
#swapButton {
|
| 67 |
background-color: #87CEFA; /* Biru Langit */
|
| 68 |
border: none;
|
| 69 |
-
border-radius:
|
| 70 |
-
padding:
|
| 71 |
-
font-size:
|
| 72 |
color: white;
|
|
|
|
| 73 |
cursor: pointer;
|
| 74 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 75 |
transition: background-color 0.3s ease, transform 0.2s ease;
|
|
@@ -77,7 +84,7 @@ input:focus, select:focus {
|
|
| 77 |
|
| 78 |
#swapButton:hover {
|
| 79 |
background-color: #5faad7; /* Biru Langit Gelap */
|
| 80 |
-
transform: scale(1.
|
| 81 |
}
|
| 82 |
|
| 83 |
/* Convert Button */
|
|
@@ -111,8 +118,6 @@ input:focus, select:focus {
|
|
| 111 |
background-color: #f0f4ff;
|
| 112 |
border: 1px solid #87cefa;
|
| 113 |
border-radius: 8px;
|
| 114 |
-
min-height: 40px;
|
| 115 |
-
font-style: italic;
|
| 116 |
}
|
| 117 |
|
| 118 |
/* Footer */
|
|
|
|
| 7 |
justify-content: center;
|
| 8 |
align-items: center;
|
| 9 |
min-height: 100vh;
|
| 10 |
+
background-color: #001d57; /* Latar belakang biru gelap */
|
| 11 |
+
overflow: auto; /* Agar bisa scroll kanan, kiri, atas, dan bawah */
|
| 12 |
}
|
| 13 |
|
| 14 |
.container {
|
|
|
|
| 18 |
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
|
| 19 |
width: 100%;
|
| 20 |
max-width: 400px;
|
|
|
|
| 21 |
}
|
| 22 |
|
| 23 |
/* Header */
|
|
|
|
| 30 |
text-transform: uppercase;
|
| 31 |
}
|
| 32 |
|
| 33 |
+
header h2 {
|
| 34 |
+
text-align: center;
|
| 35 |
+
font-size: 14px;
|
| 36 |
+
color: #555;
|
| 37 |
+
margin-bottom: 20px;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
/* Form Groups */
|
| 41 |
.form-group {
|
| 42 |
margin-bottom: 15px;
|
|
|
|
| 66 |
/* Swap Button */
|
| 67 |
.swap-group {
|
| 68 |
text-align: center;
|
| 69 |
+
margin: 20px 0; /* Menambahkan ruang lebih */
|
| 70 |
}
|
| 71 |
|
| 72 |
#swapButton {
|
| 73 |
background-color: #87CEFA; /* Biru Langit */
|
| 74 |
border: none;
|
| 75 |
+
border-radius: 8px; /* Tombol persegi panjang bulat */
|
| 76 |
+
padding: 8px 16px;
|
| 77 |
+
font-size: 16px;
|
| 78 |
color: white;
|
| 79 |
+
font-weight: bold;
|
| 80 |
cursor: pointer;
|
| 81 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 82 |
transition: background-color 0.3s ease, transform 0.2s ease;
|
|
|
|
| 84 |
|
| 85 |
#swapButton:hover {
|
| 86 |
background-color: #5faad7; /* Biru Langit Gelap */
|
| 87 |
+
transform: scale(1.05);
|
| 88 |
}
|
| 89 |
|
| 90 |
/* Convert Button */
|
|
|
|
| 118 |
background-color: #f0f4ff;
|
| 119 |
border: 1px solid #87cefa;
|
| 120 |
border-radius: 8px;
|
|
|
|
|
|
|
| 121 |
}
|
| 122 |
|
| 123 |
/* Footer */
|