Update style.css
Browse files
style.css
CHANGED
@@ -3,192 +3,141 @@ body {
|
|
3 |
font-family: Arial, sans-serif;
|
4 |
margin: 0;
|
5 |
padding: 0;
|
6 |
-
background-color: #
|
|
|
7 |
}
|
8 |
|
9 |
/* Navbar */
|
10 |
.navbar {
|
11 |
background-color: #004d00; /* Dark Green */
|
12 |
-
padding: 10px;
|
13 |
-
position: fixed;
|
14 |
-
top: 0;
|
15 |
-
width: 100%;
|
16 |
-
z-index: 100;
|
17 |
-
}
|
18 |
-
|
19 |
-
.navbar .logo {
|
20 |
display: flex;
|
21 |
justify-content: flex-start;
|
22 |
align-items: center;
|
|
|
|
|
|
|
|
|
23 |
}
|
24 |
|
25 |
-
.
|
26 |
-
|
27 |
-
height: auto;
|
28 |
}
|
29 |
|
30 |
/* Headline */
|
31 |
.headline {
|
|
|
32 |
text-align: center;
|
33 |
background-color: #004d00; /* Dark Green */
|
34 |
color: white;
|
35 |
-
padding:
|
36 |
}
|
37 |
|
38 |
.headline h1 {
|
|
|
39 |
font-size: 36px;
|
40 |
-
margin-bottom: 10px;
|
41 |
}
|
42 |
|
43 |
.headline p {
|
44 |
font-size: 18px;
|
45 |
}
|
46 |
|
47 |
-
/* Content */
|
48 |
.content {
|
49 |
-
|
50 |
-
|
51 |
-
align-items: center;
|
52 |
-
margin-top: 80px;
|
53 |
-
padding: 30px;
|
54 |
-
}
|
55 |
-
|
56 |
-
.converter-container {
|
57 |
background-color: white;
|
58 |
-
padding:
|
59 |
border-radius: 10px;
|
60 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
61 |
-
width: 100%;
|
62 |
-
max-width: 500px;
|
63 |
}
|
64 |
|
65 |
-
|
66 |
-
.currency-
|
67 |
-
|
68 |
-
flex-direction: column;
|
69 |
margin-bottom: 15px;
|
70 |
}
|
71 |
|
72 |
-
.currency-box label,
|
73 |
-
|
|
|
74 |
font-weight: bold;
|
|
|
75 |
margin-bottom: 5px;
|
76 |
}
|
77 |
|
78 |
-
.currency-box input,
|
79 |
-
|
80 |
-
|
81 |
width: 100%;
|
82 |
-
|
|
|
83 |
border: 1px solid #ccc;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
}
|
85 |
|
86 |
-
/* Swap Button */
|
87 |
.swap-btn {
|
88 |
-
|
89 |
-
|
90 |
-
font-size: 18px;
|
91 |
padding: 10px;
|
|
|
|
|
92 |
border-radius: 50%;
|
93 |
-
|
94 |
-
margin: 0 10px;
|
95 |
display: flex;
|
96 |
justify-content: center;
|
97 |
align-items: center;
|
98 |
}
|
99 |
|
100 |
-
.
|
101 |
-
background-color: #
|
102 |
-
}
|
103 |
-
|
104 |
-
.swap-btn i {
|
105 |
-
font-size: 20px;
|
106 |
-
}
|
107 |
-
|
108 |
-
/* Convert Button */
|
109 |
-
#convert-btn {
|
110 |
-
background-color: #004d00; /* Dark Green */
|
111 |
color: white;
|
112 |
-
padding: 12px 20px;
|
113 |
-
font-size: 18px;
|
114 |
-
width: 100%;
|
115 |
-
border-radius: 5px;
|
116 |
border: none;
|
|
|
|
|
|
|
117 |
cursor: pointer;
|
118 |
}
|
119 |
|
120 |
-
#convert-btn:hover {
|
121 |
-
background-color: #003d00;
|
122 |
-
}
|
123 |
-
|
124 |
-
/* Result Display */
|
125 |
-
#result {
|
126 |
-
font-size: 18px;
|
127 |
-
margin-top: 20px;
|
128 |
-
text-align: center;
|
129 |
-
}
|
130 |
-
|
131 |
-
/* How to Use */
|
132 |
-
.how-to-use {
|
133 |
-
background-color: #f1f1f1;
|
134 |
-
padding: 50px 20px;
|
135 |
-
text-align: center;
|
136 |
-
}
|
137 |
-
|
138 |
-
.how-to-use h2 {
|
139 |
-
font-size: 28px;
|
140 |
-
margin-bottom: 20px;
|
141 |
-
}
|
142 |
-
|
143 |
.steps {
|
144 |
display: flex;
|
145 |
-
justify-content:
|
146 |
flex-wrap: wrap;
|
147 |
}
|
148 |
|
149 |
.step {
|
150 |
-
background-color: #
|
151 |
-
padding:
|
152 |
margin: 10px;
|
153 |
-
width: 250px;
|
154 |
border-radius: 5px;
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
.step h3 {
|
159 |
-
font-size: 18px;
|
160 |
-
margin-bottom: 10px;
|
161 |
}
|
162 |
|
163 |
/* Footer */
|
164 |
.footer {
|
165 |
background-color: #333;
|
166 |
color: white;
|
167 |
-
padding: 20px;
|
168 |
text-align: center;
|
169 |
-
|
170 |
-
|
171 |
-
.footer p {
|
172 |
-
margin: 5px;
|
173 |
}
|
174 |
|
175 |
/* Responsive Design */
|
176 |
@media (max-width: 768px) {
|
177 |
-
.currency-select {
|
178 |
-
display: flex;
|
179 |
-
flex-direction: column;
|
180 |
-
}
|
181 |
-
|
182 |
-
.currency-group, .currency-box {
|
183 |
-
width: 100%;
|
184 |
-
}
|
185 |
-
|
186 |
.steps {
|
187 |
flex-direction: column;
|
188 |
}
|
189 |
|
190 |
-
.
|
191 |
-
|
192 |
}
|
193 |
}
|
194 |
|
|
|
3 |
font-family: Arial, sans-serif;
|
4 |
margin: 0;
|
5 |
padding: 0;
|
6 |
+
background-color: #f5f5f5;
|
7 |
+
box-sizing: border-box;
|
8 |
}
|
9 |
|
10 |
/* Navbar */
|
11 |
.navbar {
|
12 |
background-color: #004d00; /* Dark Green */
|
13 |
+
padding: 10px 20px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
display: flex;
|
15 |
justify-content: flex-start;
|
16 |
align-items: center;
|
17 |
+
position: fixed;
|
18 |
+
width: 100%;
|
19 |
+
top: 0;
|
20 |
+
left: 0;
|
21 |
}
|
22 |
|
23 |
+
.logo img {
|
24 |
+
height: 40px;
|
|
|
25 |
}
|
26 |
|
27 |
/* Headline */
|
28 |
.headline {
|
29 |
+
margin-top: 70px;
|
30 |
text-align: center;
|
31 |
background-color: #004d00; /* Dark Green */
|
32 |
color: white;
|
33 |
+
padding: 20px;
|
34 |
}
|
35 |
|
36 |
.headline h1 {
|
37 |
+
margin: 0;
|
38 |
font-size: 36px;
|
|
|
39 |
}
|
40 |
|
41 |
.headline p {
|
42 |
font-size: 18px;
|
43 |
}
|
44 |
|
45 |
+
/* Main Content */
|
46 |
.content {
|
47 |
+
margin: 40px auto;
|
48 |
+
max-width: 600px;
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
background-color: white;
|
50 |
+
padding: 20px;
|
51 |
border-radius: 10px;
|
52 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
|
|
|
53 |
}
|
54 |
|
55 |
+
.currency-box,
|
56 |
+
.currency-group,
|
57 |
+
.steps {
|
|
|
58 |
margin-bottom: 15px;
|
59 |
}
|
60 |
|
61 |
+
.currency-box label,
|
62 |
+
.currency-group label,
|
63 |
+
.steps h3 {
|
64 |
font-weight: bold;
|
65 |
+
display: block;
|
66 |
margin-bottom: 5px;
|
67 |
}
|
68 |
|
69 |
+
.currency-box input,
|
70 |
+
.currency-group select,
|
71 |
+
.currency-box button {
|
72 |
width: 100%;
|
73 |
+
padding: 10px;
|
74 |
+
margin: 5px 0;
|
75 |
border: 1px solid #ccc;
|
76 |
+
border-radius: 5px;
|
77 |
+
box-sizing: border-box;
|
78 |
+
}
|
79 |
+
|
80 |
+
.currency-group select,
|
81 |
+
.currency-box input {
|
82 |
+
width: 100%;
|
83 |
}
|
84 |
|
|
|
85 |
.swap-btn {
|
86 |
+
font-size: 24px;
|
87 |
+
cursor: pointer;
|
|
|
88 |
padding: 10px;
|
89 |
+
background-color: #004d00;
|
90 |
+
border: none;
|
91 |
border-radius: 50%;
|
92 |
+
color: white;
|
|
|
93 |
display: flex;
|
94 |
justify-content: center;
|
95 |
align-items: center;
|
96 |
}
|
97 |
|
98 |
+
.converter-container button {
|
99 |
+
background-color: #004d00;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
color: white;
|
|
|
|
|
|
|
|
|
101 |
border: none;
|
102 |
+
padding: 15px;
|
103 |
+
border-radius: 5px;
|
104 |
+
width: 100%;
|
105 |
cursor: pointer;
|
106 |
}
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
.steps {
|
109 |
display: flex;
|
110 |
+
justify-content: space-between;
|
111 |
flex-wrap: wrap;
|
112 |
}
|
113 |
|
114 |
.step {
|
115 |
+
background-color: #f0f0f0;
|
116 |
+
padding: 15px;
|
117 |
margin: 10px;
|
|
|
118 |
border-radius: 5px;
|
119 |
+
width: 30%;
|
120 |
+
text-align: center;
|
121 |
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
|
122 |
}
|
123 |
|
124 |
/* Footer */
|
125 |
.footer {
|
126 |
background-color: #333;
|
127 |
color: white;
|
|
|
128 |
text-align: center;
|
129 |
+
padding: 20px;
|
130 |
+
margin-top: 40px;
|
|
|
|
|
131 |
}
|
132 |
|
133 |
/* Responsive Design */
|
134 |
@media (max-width: 768px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
.steps {
|
136 |
flex-direction: column;
|
137 |
}
|
138 |
|
139 |
+
.step {
|
140 |
+
width: 100%;
|
141 |
}
|
142 |
}
|
143 |
|