Update style.css
Browse files
style.css
CHANGED
@@ -2,8 +2,8 @@ body {
|
|
2 |
font-family: Arial, sans-serif;
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
-
|
6 |
-
overflow-x: hidden;
|
7 |
}
|
8 |
|
9 |
.navbar {
|
@@ -11,12 +11,11 @@ body {
|
|
11 |
top: 0;
|
12 |
left: 0;
|
13 |
width: 100%;
|
14 |
-
background-color: #006400;
|
15 |
padding: 10px 20px;
|
16 |
display: flex;
|
17 |
justify-content: flex-start;
|
18 |
align-items: center;
|
19 |
-
z-index: 100;
|
20 |
}
|
21 |
|
22 |
.navbar .logo img {
|
@@ -25,7 +24,7 @@ body {
|
|
25 |
|
26 |
.headline {
|
27 |
text-align: center;
|
28 |
-
background-color: #004d00;
|
29 |
color: white;
|
30 |
padding: 50px 20px;
|
31 |
margin-top: 60px;
|
@@ -60,21 +59,25 @@ body {
|
|
60 |
border-radius: 12px;
|
61 |
border: 2px solid #ccc;
|
62 |
background-color: #f8f8f8;
|
|
|
63 |
}
|
64 |
|
65 |
-
.currency-box
|
|
|
66 |
width: 100%;
|
67 |
-
|
|
|
|
|
68 |
}
|
69 |
|
70 |
-
.currency-box label
|
71 |
font-weight: bold;
|
72 |
font-size: 16px;
|
73 |
margin-bottom: 5px;
|
74 |
}
|
75 |
|
76 |
-
.currency-box input
|
77 |
-
padding:
|
78 |
font-size: 16px;
|
79 |
width: 100%;
|
80 |
max-width: 400px;
|
@@ -83,15 +86,47 @@ body {
|
|
83 |
box-sizing: border-box;
|
84 |
}
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
#swap-btn {
|
87 |
-
background-color: #006400;
|
88 |
color: white;
|
89 |
cursor: pointer;
|
90 |
padding: 12px 20px;
|
91 |
-
border-radius: 50%;
|
92 |
border: none;
|
93 |
font-size: 20px;
|
94 |
-
margin: 10px;
|
95 |
height: 50px;
|
96 |
width: 50px;
|
97 |
display: flex;
|
@@ -99,6 +134,10 @@ body {
|
|
99 |
align-items: center;
|
100 |
}
|
101 |
|
|
|
|
|
|
|
|
|
102 |
#swap-btn:hover {
|
103 |
background-color: #004d00;
|
104 |
}
|
@@ -125,11 +164,14 @@ body {
|
|
125 |
}
|
126 |
|
127 |
.how-to-use {
|
128 |
-
background-color: #004d00;
|
129 |
color: white;
|
130 |
padding: 30px 20px;
|
131 |
margin-top: 20px;
|
132 |
text-align: center;
|
|
|
|
|
|
|
133 |
}
|
134 |
|
135 |
.how-to-use h2 {
|
@@ -140,12 +182,15 @@ body {
|
|
140 |
.steps {
|
141 |
display: flex;
|
142 |
justify-content: center;
|
|
|
|
|
143 |
gap: 20px;
|
144 |
}
|
145 |
|
146 |
.step {
|
147 |
background-color: #e0e0e0;
|
148 |
padding: 20px;
|
|
|
149 |
width: 300px;
|
150 |
border-radius: 8px;
|
151 |
text-align: center;
|
@@ -166,4 +211,38 @@ body {
|
|
166 |
|
167 |
.footer-content p {
|
168 |
margin: 5px 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
}
|
|
|
2 |
font-family: Arial, sans-serif;
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
+
box-sizing: border-box;
|
6 |
+
overflow-x: hidden; /* Prevent horizontal scroll */
|
7 |
}
|
8 |
|
9 |
.navbar {
|
|
|
11 |
top: 0;
|
12 |
left: 0;
|
13 |
width: 100%;
|
14 |
+
background-color: #006400; /* Green */
|
15 |
padding: 10px 20px;
|
16 |
display: flex;
|
17 |
justify-content: flex-start;
|
18 |
align-items: center;
|
|
|
19 |
}
|
20 |
|
21 |
.navbar .logo img {
|
|
|
24 |
|
25 |
.headline {
|
26 |
text-align: center;
|
27 |
+
background-color: #004d00; /* Dark Green */
|
28 |
color: white;
|
29 |
padding: 50px 20px;
|
30 |
margin-top: 60px;
|
|
|
59 |
border-radius: 12px;
|
60 |
border: 2px solid #ccc;
|
61 |
background-color: #f8f8f8;
|
62 |
+
box-sizing: border-box;
|
63 |
}
|
64 |
|
65 |
+
.currency-box {
|
66 |
+
margin: 10px 0;
|
67 |
width: 100%;
|
68 |
+
display: flex;
|
69 |
+
flex-direction: column;
|
70 |
+
align-items: flex-start; /* Align left */
|
71 |
}
|
72 |
|
73 |
+
.currency-box label {
|
74 |
font-weight: bold;
|
75 |
font-size: 16px;
|
76 |
margin-bottom: 5px;
|
77 |
}
|
78 |
|
79 |
+
.currency-box input {
|
80 |
+
padding: 15px;
|
81 |
font-size: 16px;
|
82 |
width: 100%;
|
83 |
max-width: 400px;
|
|
|
86 |
box-sizing: border-box;
|
87 |
}
|
88 |
|
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;
|
96 |
+
}
|
97 |
+
|
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;
|
117 |
+
border: 1px solid #ccc;
|
118 |
+
box-sizing: border-box;
|
119 |
+
}
|
120 |
+
|
121 |
#swap-btn {
|
122 |
+
background-color: #006400; /* Dark Green */
|
123 |
color: white;
|
124 |
cursor: pointer;
|
125 |
padding: 12px 20px;
|
126 |
+
border-radius: 50%; /* Make it round */
|
127 |
border: none;
|
128 |
font-size: 20px;
|
129 |
+
margin: 10px 0;
|
130 |
height: 50px;
|
131 |
width: 50px;
|
132 |
display: flex;
|
|
|
134 |
align-items: center;
|
135 |
}
|
136 |
|
137 |
+
#swap-btn i {
|
138 |
+
font-size: 24px;
|
139 |
+
}
|
140 |
+
|
141 |
#swap-btn:hover {
|
142 |
background-color: #004d00;
|
143 |
}
|
|
|
164 |
}
|
165 |
|
166 |
.how-to-use {
|
167 |
+
background-color: #004d00; /* Dark Green */
|
168 |
color: white;
|
169 |
padding: 30px 20px;
|
170 |
margin-top: 20px;
|
171 |
text-align: center;
|
172 |
+
display: flex;
|
173 |
+
justify-content: center;
|
174 |
+
flex-direction: column;
|
175 |
}
|
176 |
|
177 |
.how-to-use h2 {
|
|
|
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;
|
|
|
211 |
|
212 |
.footer-content p {
|
213 |
margin: 5px 0;
|
214 |
+
}
|
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 |
+
|
242 |
+
@media screen and (max-width: 480px) {
|
243 |
+
.currency-box input,
|
244 |
+
.currency-select select,
|
245 |
+
.currency-select button {
|
246 |
+
width: 100%;
|
247 |
+
}
|
248 |
}
|