Update style.css
Browse files
style.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
body {
|
| 2 |
font-family: 'Poppins', Arial, sans-serif; /* Font modern */
|
| 3 |
margin: 0;
|
|
@@ -72,6 +73,7 @@ body {
|
|
| 72 |
box-sizing: border-box;
|
| 73 |
}
|
| 74 |
|
|
|
|
| 75 |
.currency-box label {
|
| 76 |
font-weight: bold;
|
| 77 |
font-size: 16px;
|
|
@@ -88,16 +90,21 @@ body {
|
|
| 88 |
box-sizing: border-box;
|
| 89 |
}
|
| 90 |
|
|
|
|
| 91 |
.currency-select {
|
| 92 |
display: flex;
|
| 93 |
justify-content: space-between;
|
| 94 |
-
align-items:
|
| 95 |
width: 100%;
|
| 96 |
gap: 20px;
|
| 97 |
margin: 20px 0;
|
| 98 |
flex-wrap: wrap;
|
| 99 |
}
|
| 100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
.currency-group label {
|
| 102 |
font-weight: bold;
|
| 103 |
font-size: 16px;
|
|
@@ -108,7 +115,7 @@ body {
|
|
| 108 |
.currency-group select {
|
| 109 |
padding: 15px;
|
| 110 |
font-size: 16px;
|
| 111 |
-
width: 100%;
|
| 112 |
border-radius: 8px;
|
| 113 |
border: 1px solid #ccc;
|
| 114 |
}
|
|
@@ -126,7 +133,7 @@ body {
|
|
| 126 |
display: flex;
|
| 127 |
justify-content: center;
|
| 128 |
align-items: center;
|
| 129 |
-
margin:
|
| 130 |
transition: background-color 0.3s ease, transform 0.2s ease;
|
| 131 |
}
|
| 132 |
|
|
|
|
| 1 |
+
/* Body */
|
| 2 |
body {
|
| 3 |
font-family: 'Poppins', Arial, sans-serif; /* Font modern */
|
| 4 |
margin: 0;
|
|
|
|
| 73 |
box-sizing: border-box;
|
| 74 |
}
|
| 75 |
|
| 76 |
+
/* Currency Input */
|
| 77 |
.currency-box label {
|
| 78 |
font-weight: bold;
|
| 79 |
font-size: 16px;
|
|
|
|
| 90 |
box-sizing: border-box;
|
| 91 |
}
|
| 92 |
|
| 93 |
+
/* Currency Select */
|
| 94 |
.currency-select {
|
| 95 |
display: flex;
|
| 96 |
justify-content: space-between;
|
| 97 |
+
align-items: center;
|
| 98 |
width: 100%;
|
| 99 |
gap: 20px;
|
| 100 |
margin: 20px 0;
|
| 101 |
flex-wrap: wrap;
|
| 102 |
}
|
| 103 |
|
| 104 |
+
.currency-group {
|
| 105 |
+
flex-grow: 1; /* Membuat lebar elemen menjadi sama */
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
.currency-group label {
|
| 109 |
font-weight: bold;
|
| 110 |
font-size: 16px;
|
|
|
|
| 115 |
.currency-group select {
|
| 116 |
padding: 15px;
|
| 117 |
font-size: 16px;
|
| 118 |
+
width: 100%; /* Memastikan lebar selektor select sesuai */
|
| 119 |
border-radius: 8px;
|
| 120 |
border: 1px solid #ccc;
|
| 121 |
}
|
|
|
|
| 133 |
display: flex;
|
| 134 |
justify-content: center;
|
| 135 |
align-items: center;
|
| 136 |
+
margin: 0 auto; /* Agar berada di tengah */
|
| 137 |
transition: background-color 0.3s ease, transform 0.2s ease;
|
| 138 |
}
|
| 139 |
|