Update style.css
Browse files
style.css
CHANGED
@@ -1,216 +1,126 @@
|
|
1 |
/* General Styles */
|
2 |
body {
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
5 |
}
|
6 |
|
7 |
-
/* Navbar */
|
8 |
.navbar {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
16 |
}
|
17 |
|
18 |
-
.navbar
|
19 |
-
|
20 |
-
justify-content: space-between;
|
21 |
-
align-items: center;
|
22 |
}
|
23 |
|
24 |
.welcome-message {
|
25 |
-
|
26 |
-
opacity: 0.8;
|
27 |
-
}
|
28 |
-
|
29 |
-
/* Headline Section */
|
30 |
-
.headline {
|
31 |
-
background-color: #004d26;
|
32 |
-
color: #fff;
|
33 |
-
text-align: center;
|
34 |
-
padding: 40px 20px;
|
35 |
-
margin-top: 50px;
|
36 |
-
}
|
37 |
-
|
38 |
-
/* Converter Section */
|
39 |
-
.converter-section {
|
40 |
-
background-color: #fff;
|
41 |
-
padding: 20px;
|
42 |
-
display: flex;
|
43 |
-
justify-content: center;
|
44 |
-
}
|
45 |
-
|
46 |
-
.converter-box {
|
47 |
-
background-color: #fff;
|
48 |
-
border: 2px solid #004d26;
|
49 |
-
padding: 20px;
|
50 |
-
border-radius: 10px;
|
51 |
-
text-align: center;
|
52 |
-
width: 300px;
|
53 |
}
|
54 |
|
55 |
/* How to Use Section */
|
56 |
.how-to-use {
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
.how-to-use h2 {
|
64 |
-
font-weight: bold;
|
65 |
-
}
|
66 |
-
|
67 |
-
.step-box {
|
68 |
-
background-color: #f0f0f0;
|
69 |
-
color: #000;
|
70 |
-
padding: 20px;
|
71 |
-
margin: 10px auto;
|
72 |
-
border-radius: 10px;
|
73 |
-
width: 250px;
|
74 |
-
text-align: left;
|
75 |
-
}
|
76 |
-
|
77 |
-
|
78 |
-
/* Responsive Design */
|
79 |
-
@media (max-width: 768px) {
|
80 |
-
.navbar .welcome-message {
|
81 |
-
display: none;
|
82 |
-
}
|
83 |
-
|
84 |
-
.converter-box,
|
85 |
-
.step-box {
|
86 |
-
width: 100%;
|
87 |
-
}
|
88 |
}
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
background-color: #006400; /* Dark Green */
|
93 |
color: white;
|
94 |
-
text-align: center;
|
95 |
-
padding: 50px 20px;
|
96 |
}
|
97 |
|
98 |
-
.
|
99 |
-
|
|
|
|
|
100 |
}
|
101 |
|
102 |
-
.
|
103 |
-
|
|
|
|
|
|
|
104 |
}
|
105 |
|
106 |
-
|
107 |
-
|
108 |
-
background-color: white;
|
109 |
-
padding: 20px 50px;
|
110 |
-
margin-top: 30px;
|
111 |
-
display: flex;
|
112 |
-
justify-content: center;
|
113 |
}
|
114 |
|
|
|
115 |
.converter {
|
116 |
-
|
117 |
-
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
119 |
}
|
120 |
|
121 |
-
input, select
|
122 |
-
margin: 10px;
|
123 |
padding: 10px;
|
|
|
124 |
font-size: 16px;
|
|
|
|
|
|
|
125 |
}
|
126 |
|
127 |
-
button {
|
128 |
-
|
|
|
129 |
color: white;
|
130 |
border: none;
|
|
|
|
|
131 |
cursor: pointer;
|
132 |
}
|
133 |
|
134 |
-
button:hover {
|
135 |
-
background-color: #
|
136 |
-
}
|
137 |
-
|
138 |
-
#result {
|
139 |
-
margin-top: 20px;
|
140 |
-
font-size: 18px;
|
141 |
-
}
|
142 |
-
|
143 |
-
/* Steps Section */
|
144 |
-
.steps {
|
145 |
-
background-color: #006400; /* Dark Green */
|
146 |
-
padding: 30px;
|
147 |
-
color: white;
|
148 |
-
text-align: center;
|
149 |
-
}
|
150 |
-
|
151 |
-
.steps h2 {
|
152 |
-
font-size: 30px;
|
153 |
-
}
|
154 |
-
|
155 |
-
.step-container {
|
156 |
-
display: flex;
|
157 |
-
justify-content: space-around;
|
158 |
-
margin-top: 20px;
|
159 |
}
|
160 |
|
161 |
-
|
162 |
-
|
|
|
163 |
padding: 20px;
|
164 |
-
|
165 |
-
border-radius: 8px;
|
166 |
-
}
|
167 |
-
|
168 |
-
.step h3 {
|
169 |
-
font-weight: bold;
|
170 |
}
|
171 |
|
172 |
-
|
173 |
-
|
174 |
}
|
175 |
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
color: #000;
|
181 |
-
text-align: center;
|
182 |
-
padding: 10px 20px;
|
183 |
}
|
184 |
|
185 |
/* Responsive Design */
|
186 |
-
@media (max-width: 768px) {
|
187 |
-
.
|
188 |
-
padding: 10px 20px;
|
189 |
-
}
|
190 |
-
|
191 |
-
.headline h1 {
|
192 |
-
font-size: 28px;
|
193 |
-
}
|
194 |
-
|
195 |
-
.main-content {
|
196 |
-
padding: 20px;
|
197 |
-
}
|
198 |
-
|
199 |
-
.converter {
|
200 |
-
width: 100%;
|
201 |
-
}
|
202 |
-
|
203 |
-
.step-container {
|
204 |
flex-direction: column;
|
205 |
align-items: center;
|
206 |
}
|
207 |
|
208 |
.step {
|
209 |
width: 80%;
|
210 |
-
margin
|
211 |
-
}
|
212 |
-
|
213 |
-
.footer {
|
214 |
-
padding: 15px;
|
215 |
}
|
216 |
}
|
|
|
1 |
/* General Styles */
|
2 |
body {
|
3 |
+
font-family: Arial, sans-serif;
|
4 |
+
margin: 0;
|
5 |
+
padding: 0;
|
6 |
+
background-color: #f4f4f4;
|
7 |
+
color: #333;
|
8 |
}
|
9 |
|
10 |
+
/* Navbar Styles */
|
11 |
.navbar {
|
12 |
+
background-color: #006400;
|
13 |
+
color: white;
|
14 |
+
display: flex;
|
15 |
+
justify-content: space-between;
|
16 |
+
align-items: center;
|
17 |
+
padding: 10px 20px;
|
18 |
+
position: fixed;
|
19 |
+
width: 100%;
|
20 |
+
top: 0;
|
21 |
+
z-index: 10;
|
22 |
}
|
23 |
|
24 |
+
.navbar h1 {
|
25 |
+
margin: 0;
|
|
|
|
|
26 |
}
|
27 |
|
28 |
.welcome-message {
|
29 |
+
font-size: 16px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
31 |
|
32 |
/* How to Use Section */
|
33 |
.how-to-use {
|
34 |
+
margin-top: 80px;
|
35 |
+
padding: 20px;
|
36 |
+
text-align: center;
|
37 |
+
background-color: white;
|
38 |
+
transition: background-color 0.5s ease;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
40 |
|
41 |
+
.how-to-use.in-view {
|
42 |
+
background-color: #006400;
|
|
|
43 |
color: white;
|
|
|
|
|
44 |
}
|
45 |
|
46 |
+
.steps {
|
47 |
+
display: flex;
|
48 |
+
justify-content: space-around;
|
49 |
+
margin-top: 20px;
|
50 |
}
|
51 |
|
52 |
+
.step {
|
53 |
+
width: 30%;
|
54 |
+
padding: 15px;
|
55 |
+
background-color: #e0e0e0;
|
56 |
+
border-radius: 10px;
|
57 |
}
|
58 |
|
59 |
+
.step h3 {
|
60 |
+
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
|
61 |
}
|
62 |
|
63 |
+
/* Currency Converter Section */
|
64 |
.converter {
|
65 |
+
margin: 20px auto;
|
66 |
+
width: 80%;
|
67 |
+
max-width: 600px;
|
68 |
+
text-align: center;
|
69 |
+
background-color: white;
|
70 |
+
padding: 30px;
|
71 |
+
border-radius: 10px;
|
72 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
73 |
}
|
74 |
|
75 |
+
.converter input, .converter select {
|
|
|
76 |
padding: 10px;
|
77 |
+
margin: 10px;
|
78 |
font-size: 16px;
|
79 |
+
width: 100%;
|
80 |
+
border: 1px solid #ccc;
|
81 |
+
border-radius: 5px;
|
82 |
}
|
83 |
|
84 |
+
.converter button {
|
85 |
+
padding: 10px 20px;
|
86 |
+
background-color: #006400;
|
87 |
color: white;
|
88 |
border: none;
|
89 |
+
border-radius: 5px;
|
90 |
+
font-size: 16px;
|
91 |
cursor: pointer;
|
92 |
}
|
93 |
|
94 |
+
.converter button:hover {
|
95 |
+
background-color: #004d00;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
}
|
97 |
|
98 |
+
/* Footer Styles */
|
99 |
+
footer {
|
100 |
+
background-color: #f0f0f0;
|
101 |
padding: 20px;
|
102 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
103 |
}
|
104 |
|
105 |
+
footer p {
|
106 |
+
margin: 0;
|
107 |
}
|
108 |
|
109 |
+
.social-media a {
|
110 |
+
margin: 0 10px;
|
111 |
+
text-decoration: none;
|
112 |
+
color: #333;
|
|
|
|
|
|
|
113 |
}
|
114 |
|
115 |
/* Responsive Design */
|
116 |
+
@media screen and (max-width: 768px) {
|
117 |
+
.steps {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
flex-direction: column;
|
119 |
align-items: center;
|
120 |
}
|
121 |
|
122 |
.step {
|
123 |
width: 80%;
|
124 |
+
margin: 10px 0;
|
|
|
|
|
|
|
|
|
125 |
}
|
126 |
}
|