Update style.css
Browse files
style.css
CHANGED
|
@@ -10,7 +10,7 @@ body {
|
|
| 10 |
background: #001F3F; /* Background biru tua */
|
| 11 |
display: flex;
|
| 12 |
justify-content: center;
|
| 13 |
-
align-items: flex-start;
|
| 14 |
min-height: 100vh;
|
| 15 |
padding: 20px;
|
| 16 |
overflow-y: auto; /* Scroll vertikal */
|
|
@@ -19,15 +19,15 @@ body {
|
|
| 19 |
.container {
|
| 20 |
background: #ffffff;
|
| 21 |
border-radius: 20px;
|
| 22 |
-
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
|
| 23 |
padding: 40px;
|
| 24 |
width: 100%;
|
| 25 |
-
max-width: 600px;
|
| 26 |
margin-bottom: 20px;
|
| 27 |
}
|
| 28 |
|
| 29 |
header h1 {
|
| 30 |
-
font-size: 28px;
|
| 31 |
color: #333;
|
| 32 |
text-align: center;
|
| 33 |
margin-bottom: 30px;
|
|
@@ -44,7 +44,7 @@ label {
|
|
| 44 |
input {
|
| 45 |
padding: 15px;
|
| 46 |
width: 100%;
|
| 47 |
-
font-size: 18px;
|
| 48 |
border-radius: 10px;
|
| 49 |
border: 1px solid #ccc;
|
| 50 |
margin-bottom: 20px;
|
|
@@ -67,7 +67,6 @@ input {
|
|
| 67 |
width: 100%;
|
| 68 |
}
|
| 69 |
|
| 70 |
-
/* Tombol swap */
|
| 71 |
.swap-group {
|
| 72 |
display: flex;
|
| 73 |
justify-content: center;
|
|
@@ -85,7 +84,7 @@ input {
|
|
| 85 |
justify-content: center;
|
| 86 |
align-items: center;
|
| 87 |
cursor: pointer;
|
| 88 |
-
font-size: 22px;
|
| 89 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 90 |
transition: background-color 0.3s ease;
|
| 91 |
}
|
|
@@ -106,20 +105,21 @@ input {
|
|
| 106 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 107 |
}
|
| 108 |
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
background-color: #00BFFF; /* Warna biru langit */
|
| 112 |
-
color: white;
|
| 113 |
border: none;
|
| 114 |
-
border-radius:
|
| 115 |
-
|
|
|
|
|
|
|
|
|
|
| 116 |
cursor: pointer;
|
| 117 |
-
|
| 118 |
transition: background-color 0.3s ease;
|
| 119 |
}
|
| 120 |
|
| 121 |
-
|
| 122 |
-
background-color: #
|
| 123 |
}
|
| 124 |
|
| 125 |
footer {
|
|
@@ -129,7 +129,6 @@ footer {
|
|
| 129 |
text-align: center;
|
| 130 |
}
|
| 131 |
|
| 132 |
-
/* Responsiveness */
|
| 133 |
@media (max-width: 768px) {
|
| 134 |
.container {
|
| 135 |
padding: 20px;
|
|
@@ -137,7 +136,7 @@ footer {
|
|
| 137 |
}
|
| 138 |
|
| 139 |
input {
|
| 140 |
-
font-size: 16px;
|
| 141 |
}
|
| 142 |
|
| 143 |
select {
|
|
@@ -151,7 +150,7 @@ footer {
|
|
| 151 |
font-size: 20px;
|
| 152 |
}
|
| 153 |
|
| 154 |
-
|
| 155 |
font-size: 16px;
|
| 156 |
padding: 12px;
|
| 157 |
}
|
|
|
|
| 10 |
background: #001F3F; /* Background biru tua */
|
| 11 |
display: flex;
|
| 12 |
justify-content: center;
|
| 13 |
+
align-items: flex-start;
|
| 14 |
min-height: 100vh;
|
| 15 |
padding: 20px;
|
| 16 |
overflow-y: auto; /* Scroll vertikal */
|
|
|
|
| 19 |
.container {
|
| 20 |
background: #ffffff;
|
| 21 |
border-radius: 20px;
|
| 22 |
+
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
|
| 23 |
padding: 40px;
|
| 24 |
width: 100%;
|
| 25 |
+
max-width: 600px;
|
| 26 |
margin-bottom: 20px;
|
| 27 |
}
|
| 28 |
|
| 29 |
header h1 {
|
| 30 |
+
font-size: 28px;
|
| 31 |
color: #333;
|
| 32 |
text-align: center;
|
| 33 |
margin-bottom: 30px;
|
|
|
|
| 44 |
input {
|
| 45 |
padding: 15px;
|
| 46 |
width: 100%;
|
| 47 |
+
font-size: 18px;
|
| 48 |
border-radius: 10px;
|
| 49 |
border: 1px solid #ccc;
|
| 50 |
margin-bottom: 20px;
|
|
|
|
| 67 |
width: 100%;
|
| 68 |
}
|
| 69 |
|
|
|
|
| 70 |
.swap-group {
|
| 71 |
display: flex;
|
| 72 |
justify-content: center;
|
|
|
|
| 84 |
justify-content: center;
|
| 85 |
align-items: center;
|
| 86 |
cursor: pointer;
|
| 87 |
+
font-size: 22px;
|
| 88 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 89 |
transition: background-color 0.3s ease;
|
| 90 |
}
|
|
|
|
| 105 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 106 |
}
|
| 107 |
|
| 108 |
+
#convertButton {
|
| 109 |
+
background-color: #87CEFA; /* Biru Langit */
|
|
|
|
|
|
|
| 110 |
border: none;
|
| 111 |
+
border-radius: 8px;
|
| 112 |
+
padding: 12px 20px;
|
| 113 |
+
font-size: 18px;
|
| 114 |
+
color: white;
|
| 115 |
+
font-weight: bold;
|
| 116 |
cursor: pointer;
|
| 117 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 118 |
transition: background-color 0.3s ease;
|
| 119 |
}
|
| 120 |
|
| 121 |
+
#convertButton:hover {
|
| 122 |
+
background-color: #5faad7; /* Biru Langit Gelap */
|
| 123 |
}
|
| 124 |
|
| 125 |
footer {
|
|
|
|
| 129 |
text-align: center;
|
| 130 |
}
|
| 131 |
|
|
|
|
| 132 |
@media (max-width: 768px) {
|
| 133 |
.container {
|
| 134 |
padding: 20px;
|
|
|
|
| 136 |
}
|
| 137 |
|
| 138 |
input {
|
| 139 |
+
font-size: 16px;
|
| 140 |
}
|
| 141 |
|
| 142 |
select {
|
|
|
|
| 150 |
font-size: 20px;
|
| 151 |
}
|
| 152 |
|
| 153 |
+
#convertButton {
|
| 154 |
font-size: 16px;
|
| 155 |
padding: 12px;
|
| 156 |
}
|