Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
@@ -48,6 +48,12 @@ body {
|
|
48 |
display: flex;
|
49 |
flex-direction: column;
|
50 |
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
}
|
52 |
|
53 |
.currency-box input {
|
@@ -55,33 +61,50 @@ body {
|
|
55 |
padding: 15px;
|
56 |
font-size: 16px;
|
57 |
width: 100%;
|
58 |
-
max-width: 400px;
|
59 |
border-radius: 8px;
|
60 |
border: 1px solid #ccc;
|
|
|
61 |
}
|
62 |
|
63 |
.currency-select {
|
64 |
display: flex;
|
65 |
align-items: center;
|
66 |
-
justify-content:
|
|
|
|
|
67 |
}
|
68 |
|
69 |
.currency-select select, .currency-select button {
|
70 |
-
padding:
|
71 |
font-size: 16px;
|
72 |
-
margin: 10px;
|
73 |
border-radius: 8px;
|
74 |
border: 1px solid #ccc;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
}
|
76 |
|
77 |
#convert-btn {
|
78 |
background-color: #006400;
|
79 |
color: white;
|
80 |
cursor: pointer;
|
81 |
-
padding:
|
82 |
font-size: 16px;
|
83 |
border: none;
|
84 |
border-radius: 8px;
|
|
|
85 |
margin-top: 10px;
|
86 |
}
|
87 |
|
@@ -89,16 +112,9 @@ body {
|
|
89 |
background-color: #004d00;
|
90 |
}
|
91 |
|
92 |
-
#
|
93 |
-
|
94 |
-
|
95 |
-
cursor: pointer;
|
96 |
-
padding: 10px 20px;
|
97 |
-
border-radius: 8px;
|
98 |
-
}
|
99 |
-
|
100 |
-
#swap-btn:hover {
|
101 |
-
background-color: #b3b3b3;
|
102 |
}
|
103 |
|
104 |
.how-to-use {
|
@@ -139,6 +155,7 @@ body {
|
|
139 |
padding: 20px 0;
|
140 |
text-align: center;
|
141 |
margin-top: 40px;
|
|
|
142 |
}
|
143 |
|
144 |
.footer-content p {
|
@@ -152,23 +169,24 @@ body {
|
|
152 |
|
153 |
.currency-select {
|
154 |
flex-direction: column;
|
|
|
155 |
}
|
156 |
|
157 |
-
.currency-box input
|
158 |
-
|
|
|
|
|
159 |
}
|
160 |
|
161 |
-
.currency-select
|
162 |
-
|
163 |
}
|
164 |
}
|
165 |
|
166 |
@media screen and (max-width: 480px) {
|
167 |
-
.currency-box input
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
.currency-select select, .currency-select button {
|
172 |
width: 100%;
|
173 |
}
|
174 |
}
|
|
|
48 |
display: flex;
|
49 |
flex-direction: column;
|
50 |
align-items: center;
|
51 |
+
max-width: 400px;
|
52 |
+
margin: 0 auto;
|
53 |
+
padding: 20px;
|
54 |
+
border-radius: 12px;
|
55 |
+
border: 2px solid #ccc;
|
56 |
+
background-color: #f8f8f8; /* Light gray background */
|
57 |
}
|
58 |
|
59 |
.currency-box input {
|
|
|
61 |
padding: 15px;
|
62 |
font-size: 16px;
|
63 |
width: 100%;
|
|
|
64 |
border-radius: 8px;
|
65 |
border: 1px solid #ccc;
|
66 |
+
box-sizing: border-box;
|
67 |
}
|
68 |
|
69 |
.currency-select {
|
70 |
display: flex;
|
71 |
align-items: center;
|
72 |
+
justify-content: space-between;
|
73 |
+
width: 100%;
|
74 |
+
margin-bottom: 20px;
|
75 |
}
|
76 |
|
77 |
.currency-select select, .currency-select button {
|
78 |
+
padding: 12px;
|
79 |
font-size: 16px;
|
|
|
80 |
border-radius: 8px;
|
81 |
border: 1px solid #ccc;
|
82 |
+
width: 45%;
|
83 |
+
}
|
84 |
+
|
85 |
+
#swap-btn {
|
86 |
+
background-color: #006400;
|
87 |
+
color: white;
|
88 |
+
cursor: pointer;
|
89 |
+
padding: 12px 20px;
|
90 |
+
border-radius: 8px;
|
91 |
+
border: none;
|
92 |
+
margin: 0 10px;
|
93 |
+
}
|
94 |
+
|
95 |
+
#swap-btn:hover {
|
96 |
+
background-color: #004d00;
|
97 |
}
|
98 |
|
99 |
#convert-btn {
|
100 |
background-color: #006400;
|
101 |
color: white;
|
102 |
cursor: pointer;
|
103 |
+
padding: 15px 30px;
|
104 |
font-size: 16px;
|
105 |
border: none;
|
106 |
border-radius: 8px;
|
107 |
+
width: 100%;
|
108 |
margin-top: 10px;
|
109 |
}
|
110 |
|
|
|
112 |
background-color: #004d00;
|
113 |
}
|
114 |
|
115 |
+
#result {
|
116 |
+
font-size: 18px;
|
117 |
+
margin-top: 20px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
}
|
119 |
|
120 |
.how-to-use {
|
|
|
155 |
padding: 20px 0;
|
156 |
text-align: center;
|
157 |
margin-top: 40px;
|
158 |
+
border-top: 1px solid #fff; /* Subtle white border to separate footer */
|
159 |
}
|
160 |
|
161 |
.footer-content p {
|
|
|
169 |
|
170 |
.currency-select {
|
171 |
flex-direction: column;
|
172 |
+
align-items: center;
|
173 |
}
|
174 |
|
175 |
+
.currency-box input,
|
176 |
+
.currency-select select,
|
177 |
+
.currency-select button {
|
178 |
+
width: 100%;
|
179 |
}
|
180 |
|
181 |
+
.currency-select button {
|
182 |
+
margin: 10px 0;
|
183 |
}
|
184 |
}
|
185 |
|
186 |
@media screen and (max-width: 480px) {
|
187 |
+
.currency-box input,
|
188 |
+
.currency-select select,
|
189 |
+
.currency-select button {
|
|
|
|
|
190 |
width: 100%;
|
191 |
}
|
192 |
}
|