GarGerry commited on
Commit
57e8092
·
verified ·
1 Parent(s): 52fd90d

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +22 -12
style.css CHANGED
@@ -1,4 +1,3 @@
1
- /* Styling umum untuk tampilan website */
2
  body {
3
  font-family: Arial, sans-serif;
4
  margin: 0;
@@ -49,8 +48,8 @@ body {
49
  display: flex;
50
  flex-direction: column;
51
  align-items: center;
52
- width: 100%; /* Menggunakan 100% lebar layar */
53
- max-width: 900px; /* Lebar kontainer yang lebih besar */
54
  margin: 0 auto;
55
  padding: 30px;
56
  border-radius: 12px;
@@ -58,7 +57,6 @@ body {
58
  background-color: #f8f8f8;
59
  }
60
 
61
- /* Box untuk input amount, from, to, dan tombol */
62
  .currency-box {
63
  margin: 10px 0;
64
  width: 100%;
@@ -85,11 +83,9 @@ body {
85
  justify-content: space-between;
86
  width: 100%;
87
  margin-bottom: 20px;
88
- gap: 10px;
89
  }
90
 
91
- .currency-select select,
92
- .currency-select button {
93
  padding: 12px;
94
  font-size: 16px;
95
  border-radius: 8px;
@@ -102,7 +98,7 @@ body {
102
  color: white;
103
  cursor: pointer;
104
  padding: 10px 20px;
105
- border-radius: 50%; /* Bulat */
106
  border: none;
107
  transition: background-color 0.3s;
108
  font-size: 20px;
@@ -139,7 +135,6 @@ body {
139
  margin-top: 20px;
140
  }
141
 
142
- /* Styling untuk How to Use */
143
  .how-to-use {
144
  background-color: #004d00; /* Dark Green */
145
  color: white;
@@ -157,7 +152,6 @@ body {
157
  justify-content: center;
158
  margin-top: 20px;
159
  flex-wrap: wrap;
160
- gap: 15px;
161
  }
162
 
163
  .step {
@@ -173,7 +167,6 @@ body {
173
  font-weight: bold;
174
  }
175
 
176
- /* Styling Footer */
177
  .footer {
178
  background-color: #666666;
179
  color: white;
@@ -187,7 +180,24 @@ body {
187
  margin: 5px 0;
188
  }
189
 
190
- /* Responsive Design untuk tampilan mobile */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  @media screen and (max-width: 768px) {
192
  .steps {
193
  flex-direction: column;
 
 
1
  body {
2
  font-family: Arial, sans-serif;
3
  margin: 0;
 
48
  display: flex;
49
  flex-direction: column;
50
  align-items: center;
51
+ width: 90%; /* Width adjusted to avoid horizontal scroll */
52
+ max-width: 800px; /* Max width to prevent stretching too much */
53
  margin: 0 auto;
54
  padding: 30px;
55
  border-radius: 12px;
 
57
  background-color: #f8f8f8;
58
  }
59
 
 
60
  .currency-box {
61
  margin: 10px 0;
62
  width: 100%;
 
83
  justify-content: space-between;
84
  width: 100%;
85
  margin-bottom: 20px;
 
86
  }
87
 
88
+ .currency-select select, .currency-select button {
 
89
  padding: 12px;
90
  font-size: 16px;
91
  border-radius: 8px;
 
98
  color: white;
99
  cursor: pointer;
100
  padding: 10px 20px;
101
+ border-radius: 50%;
102
  border: none;
103
  transition: background-color 0.3s;
104
  font-size: 20px;
 
135
  margin-top: 20px;
136
  }
137
 
 
138
  .how-to-use {
139
  background-color: #004d00; /* Dark Green */
140
  color: white;
 
152
  justify-content: center;
153
  margin-top: 20px;
154
  flex-wrap: wrap;
 
155
  }
156
 
157
  .step {
 
167
  font-weight: bold;
168
  }
169
 
 
170
  .footer {
171
  background-color: #666666;
172
  color: white;
 
180
  margin: 5px 0;
181
  }
182
 
183
+ .how-to-use .steps {
184
+ width: 100%;
185
+ display: flex;
186
+ justify-content: center;
187
+ gap: 20px;
188
+ }
189
+
190
+ .currency-select {
191
+ width: 100%;
192
+ display: flex;
193
+ flex-wrap: wrap;
194
+ justify-content: space-between;
195
+ }
196
+
197
+ .currency-select select, .currency-select button {
198
+ width: 48%;
199
+ }
200
+
201
  @media screen and (max-width: 768px) {
202
  .steps {
203
  flex-direction: column;