GarGerry commited on
Commit
366fbf0
·
verified ·
1 Parent(s): b990435

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +17 -22
style.css CHANGED
@@ -89,7 +89,8 @@ body {
89
  .currency-select {
90
  display: flex;
91
  justify-content: space-between;
92
- align-items: flex-start;
 
93
  width: 100%;
94
  margin: 20px 0;
95
  flex-wrap: wrap;
@@ -98,19 +99,18 @@ body {
98
  .currency-group {
99
  display: flex;
100
  flex-direction: column;
101
- margin: 10px;
102
  flex-grow: 1;
103
- width: 100%;
104
- max-width: 180px;
105
  }
106
 
107
  .currency-group label {
108
  font-weight: bold;
109
  font-size: 16px;
 
110
  }
111
 
112
  .currency-group select {
113
- padding: 10px;
114
  font-size: 16px;
115
  width: 100%;
116
  border-radius: 8px;
@@ -181,17 +181,18 @@ body {
181
 
182
  .steps {
183
  display: flex;
 
184
  justify-content: center;
185
  margin-top: 20px;
186
  flex-wrap: wrap;
187
- gap: 20px;
188
  }
189
 
190
  .step {
191
  background-color: #e0e0e0;
192
  padding: 20px;
193
  margin: 10px;
194
- width: 300px;
195
  border-radius: 8px;
196
  text-align: center;
197
  }
@@ -215,27 +216,17 @@ body {
215
 
216
  @media screen and (max-width: 768px) {
217
  .currency-select {
218
- flex-direction: column;
219
  align-items: center;
220
  }
221
 
222
- .currency-group {
223
- width: 100%;
224
- max-width: 200px;
225
- }
226
-
227
  .steps {
228
- flex-direction: column;
 
229
  }
230
 
231
- .currency-box input,
232
- .currency-select select,
233
- .currency-select button {
234
- width: 100%;
235
- }
236
-
237
- .currency-select button {
238
- margin: 10px 0;
239
  }
240
  }
241
 
@@ -245,4 +236,8 @@ body {
245
  .currency-select button {
246
  width: 100%;
247
  }
 
 
 
 
248
  }
 
89
  .currency-select {
90
  display: flex;
91
  justify-content: space-between;
92
+ align-items: center;
93
+ gap: 20px; /* Tambahkan jarak antar elemen */
94
  width: 100%;
95
  margin: 20px 0;
96
  flex-wrap: wrap;
 
99
  .currency-group {
100
  display: flex;
101
  flex-direction: column;
 
102
  flex-grow: 1;
103
+ max-width: 300px; /* Lebar maksimum untuk dropdown */
 
104
  }
105
 
106
  .currency-group label {
107
  font-weight: bold;
108
  font-size: 16px;
109
+ margin-bottom: 5px;
110
  }
111
 
112
  .currency-group select {
113
+ padding: 15px; /* Sesuaikan padding */
114
  font-size: 16px;
115
  width: 100%;
116
  border-radius: 8px;
 
181
 
182
  .steps {
183
  display: flex;
184
+ flex-direction: row; /* Default horizontal */
185
  justify-content: center;
186
  margin-top: 20px;
187
  flex-wrap: wrap;
188
+ gap: 20px; /* Tambahkan jarak antar kotak */
189
  }
190
 
191
  .step {
192
  background-color: #e0e0e0;
193
  padding: 20px;
194
  margin: 10px;
195
+ flex: 1 1 300px; /* Ukuran fleksibel dengan lebar minimum */
196
  border-radius: 8px;
197
  text-align: center;
198
  }
 
216
 
217
  @media screen and (max-width: 768px) {
218
  .currency-select {
219
+ flex-direction: column; /* Ubah jadi vertikal */
220
  align-items: center;
221
  }
222
 
 
 
 
 
 
223
  .steps {
224
+ flex-direction: column; /* Kotak menjadi vertikal */
225
+ align-items: center; /* Tengah untuk tampilan mobile */
226
  }
227
 
228
+ .currency-group {
229
+ max-width: 100%; /* Lebar penuh untuk mode mobile */
 
 
 
 
 
 
230
  }
231
  }
232
 
 
236
  .currency-select button {
237
  width: 100%;
238
  }
239
+
240
+ .steps {
241
+ gap: 15px; /* Kurangi jarak antar kotak di layar kecil */
242
+ }
243
  }