Update style.css
Browse files
style.css
CHANGED
@@ -1,13 +1,11 @@
|
|
1 |
-
/* Body style */
|
2 |
body {
|
3 |
font-family: Arial, sans-serif;
|
4 |
margin: 0;
|
5 |
padding: 0;
|
6 |
background-color: #f4f4f4;
|
7 |
-
overflow-x: hidden;
|
8 |
}
|
9 |
|
10 |
-
/* Navbar style */
|
11 |
.navbar {
|
12 |
position: fixed;
|
13 |
top: 0;
|
@@ -25,7 +23,6 @@ body {
|
|
25 |
height: 40px;
|
26 |
}
|
27 |
|
28 |
-
/* Headline Section */
|
29 |
.headline {
|
30 |
text-align: center;
|
31 |
background-color: #004d00;
|
@@ -43,7 +40,6 @@ body {
|
|
43 |
font-size: 18px;
|
44 |
}
|
45 |
|
46 |
-
/* Main content section */
|
47 |
.content {
|
48 |
background-color: white;
|
49 |
padding: 40px 20px;
|
@@ -66,12 +62,9 @@ body {
|
|
66 |
background-color: #f8f8f8;
|
67 |
}
|
68 |
|
69 |
-
|
70 |
-
.currency-box, .currency-select {
|
71 |
width: 100%;
|
72 |
margin: 15px 0;
|
73 |
-
display: flex;
|
74 |
-
flex-direction: column;
|
75 |
}
|
76 |
|
77 |
.currency-box label, .currency-group label {
|
@@ -90,7 +83,6 @@ body {
|
|
90 |
box-sizing: border-box;
|
91 |
}
|
92 |
|
93 |
-
/* Swap Button */
|
94 |
#swap-btn {
|
95 |
background-color: #006400;
|
96 |
color: white;
|
@@ -111,7 +103,6 @@ body {
|
|
111 |
background-color: #004d00;
|
112 |
}
|
113 |
|
114 |
-
/* Convert Button */
|
115 |
#convert-btn {
|
116 |
background-color: #006400;
|
117 |
color: white;
|
@@ -128,22 +119,17 @@ body {
|
|
128 |
background-color: #004d00;
|
129 |
}
|
130 |
|
131 |
-
/* Result display */
|
132 |
#result {
|
133 |
font-size: 18px;
|
134 |
margin-top: 20px;
|
135 |
}
|
136 |
|
137 |
-
/* How to Use Section */
|
138 |
.how-to-use {
|
139 |
background-color: #004d00;
|
140 |
color: white;
|
141 |
padding: 30px 20px;
|
142 |
margin-top: 20px;
|
143 |
text-align: center;
|
144 |
-
display: flex;
|
145 |
-
justify-content: center;
|
146 |
-
flex-direction: column;
|
147 |
}
|
148 |
|
149 |
.how-to-use h2 {
|
@@ -151,19 +137,15 @@ body {
|
|
151 |
margin-bottom: 20px;
|
152 |
}
|
153 |
|
154 |
-
/* Steps */
|
155 |
.steps {
|
156 |
display: flex;
|
157 |
justify-content: center;
|
158 |
-
margin-top: 20px;
|
159 |
-
flex-wrap: wrap;
|
160 |
gap: 20px;
|
161 |
}
|
162 |
|
163 |
.step {
|
164 |
background-color: #e0e0e0;
|
165 |
padding: 20px;
|
166 |
-
margin: 10px;
|
167 |
width: 300px;
|
168 |
border-radius: 8px;
|
169 |
text-align: center;
|
@@ -173,7 +155,6 @@ body {
|
|
173 |
font-weight: bold;
|
174 |
}
|
175 |
|
176 |
-
/* Footer */
|
177 |
.footer {
|
178 |
background-color: #666666;
|
179 |
color: white;
|
@@ -185,28 +166,4 @@ body {
|
|
185 |
|
186 |
.footer-content p {
|
187 |
margin: 5px 0;
|
188 |
-
}
|
189 |
-
|
190 |
-
/* Media Queries for responsiveness */
|
191 |
-
@media screen and (max-width: 768px) {
|
192 |
-
.currency-select {
|
193 |
-
flex-direction: column;
|
194 |
-
}
|
195 |
-
|
196 |
-
.currency-group {
|
197 |
-
width: 100%;
|
198 |
-
max-width: 200px;
|
199 |
-
}
|
200 |
-
|
201 |
-
.steps {
|
202 |
-
flex-direction: column;
|
203 |
-
}
|
204 |
-
}
|
205 |
-
|
206 |
-
@media screen and (max-width: 480px) {
|
207 |
-
.currency-box input,
|
208 |
-
.currency-select select,
|
209 |
-
.currency-select button {
|
210 |
-
width: 100%;
|
211 |
-
}
|
212 |
}
|
|
|
|
|
1 |
body {
|
2 |
font-family: Arial, sans-serif;
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
background-color: #f4f4f4;
|
6 |
+
overflow-x: hidden;
|
7 |
}
|
8 |
|
|
|
9 |
.navbar {
|
10 |
position: fixed;
|
11 |
top: 0;
|
|
|
23 |
height: 40px;
|
24 |
}
|
25 |
|
|
|
26 |
.headline {
|
27 |
text-align: center;
|
28 |
background-color: #004d00;
|
|
|
40 |
font-size: 18px;
|
41 |
}
|
42 |
|
|
|
43 |
.content {
|
44 |
background-color: white;
|
45 |
padding: 40px 20px;
|
|
|
62 |
background-color: #f8f8f8;
|
63 |
}
|
64 |
|
65 |
+
.currency-box, .currency-group {
|
|
|
66 |
width: 100%;
|
67 |
margin: 15px 0;
|
|
|
|
|
68 |
}
|
69 |
|
70 |
.currency-box label, .currency-group label {
|
|
|
83 |
box-sizing: border-box;
|
84 |
}
|
85 |
|
|
|
86 |
#swap-btn {
|
87 |
background-color: #006400;
|
88 |
color: white;
|
|
|
103 |
background-color: #004d00;
|
104 |
}
|
105 |
|
|
|
106 |
#convert-btn {
|
107 |
background-color: #006400;
|
108 |
color: white;
|
|
|
119 |
background-color: #004d00;
|
120 |
}
|
121 |
|
|
|
122 |
#result {
|
123 |
font-size: 18px;
|
124 |
margin-top: 20px;
|
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 {
|
|
|
137 |
margin-bottom: 20px;
|
138 |
}
|
139 |
|
|
|
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;
|
|
|
155 |
font-weight: bold;
|
156 |
}
|
157 |
|
|
|
158 |
.footer {
|
159 |
background-color: #666666;
|
160 |
color: white;
|
|
|
166 |
|
167 |
.footer-content p {
|
168 |
margin: 5px 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
}
|