Update style.css
Browse files
style.css
CHANGED
|
@@ -7,12 +7,13 @@
|
|
| 7 |
|
| 8 |
body {
|
| 9 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 10 |
-
background: #
|
| 11 |
display: flex;
|
| 12 |
justify-content: center;
|
| 13 |
-
align-items:
|
| 14 |
-
height: 100vh;
|
| 15 |
padding: 20px;
|
|
|
|
| 16 |
}
|
| 17 |
|
| 18 |
.container {
|
|
@@ -22,6 +23,7 @@ body {
|
|
| 22 |
padding: 40px; /* Padding lebih besar */
|
| 23 |
width: 100%;
|
| 24 |
max-width: 600px; /* Lebih besar */
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
header h1 {
|
|
@@ -68,7 +70,9 @@ input {
|
|
| 68 |
.swap-group {
|
| 69 |
display: flex;
|
| 70 |
justify-content: center;
|
| 71 |
-
margin: 20px 0;
|
|
|
|
|
|
|
| 72 |
}
|
| 73 |
|
| 74 |
#swapButton {
|
|
|
|
| 7 |
|
| 8 |
body {
|
| 9 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 10 |
+
background: #001F3F; /* Background biru tua */
|
| 11 |
display: flex;
|
| 12 |
justify-content: center;
|
| 13 |
+
align-items: flex-start; /* Posisi atas */
|
| 14 |
+
min-height: 100vh;
|
| 15 |
padding: 20px;
|
| 16 |
+
overflow-y: auto; /* Mengaktifkan scroll vertikal */
|
| 17 |
}
|
| 18 |
|
| 19 |
.container {
|
|
|
|
| 23 |
padding: 40px; /* Padding lebih besar */
|
| 24 |
width: 100%;
|
| 25 |
max-width: 600px; /* Lebih besar */
|
| 26 |
+
margin-bottom: 20px; /* Jarak antar container */
|
| 27 |
}
|
| 28 |
|
| 29 |
header h1 {
|
|
|
|
| 70 |
.swap-group {
|
| 71 |
display: flex;
|
| 72 |
justify-content: center;
|
| 73 |
+
margin: -40px 0 20px 0; /* Geser tombol swap ke atas container */
|
| 74 |
+
position: relative; /* Agar posisi tetap di atas */
|
| 75 |
+
z-index: 1; /* Prioritaskan swap button di atas */
|
| 76 |
}
|
| 77 |
|
| 78 |
#swapButton {
|