Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
@@ -1,50 +1,76 @@
|
|
1 |
-
/*
|
2 |
-
|
3 |
-
font-family: Arial, sans-serif;
|
4 |
margin: 0;
|
5 |
padding: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
background-color: #1b5e20; /* Dark Green */
|
7 |
color: white;
|
8 |
display: flex;
|
9 |
flex-direction: column;
|
10 |
-
|
11 |
}
|
12 |
|
13 |
-
/* Navbar */
|
14 |
-
|
15 |
-
background-color: #
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
18 |
}
|
19 |
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
22 |
}
|
23 |
|
24 |
-
|
25 |
-
|
|
|
26 |
}
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
|
|
32 |
text-align: center;
|
|
|
|
|
33 |
}
|
34 |
|
35 |
-
|
36 |
-
|
|
|
|
|
37 |
}
|
38 |
|
39 |
-
|
40 |
-
|
|
|
41 |
}
|
42 |
|
43 |
/* Currency Converter Section */
|
44 |
-
|
|
|
|
|
45 |
background-color: white;
|
46 |
-
|
47 |
padding: 30px;
|
|
|
|
|
48 |
}
|
49 |
|
50 |
.currency-container {
|
@@ -58,89 +84,69 @@ body {
|
|
58 |
flex-direction: column;
|
59 |
}
|
60 |
|
61 |
-
.currency-
|
62 |
font-size: 16px;
|
63 |
-
|
64 |
}
|
65 |
|
66 |
-
|
67 |
-
.currency-input select {
|
68 |
padding: 10px;
|
69 |
-
|
70 |
-
border: 1px solid #
|
71 |
-
|
72 |
-
}
|
73 |
-
|
74 |
-
/* Swap Button */
|
75 |
-
#swap-btn {
|
76 |
-
background-color: #4CAF50; /* Green */
|
77 |
-
border: none;
|
78 |
-
padding: 12px;
|
79 |
-
color: white;
|
80 |
-
cursor: pointer;
|
81 |
-
font-size: 20px;
|
82 |
-
border-radius: 50%;
|
83 |
-
margin: 10px auto;
|
84 |
-
display: block;
|
85 |
-
width: 50px;
|
86 |
-
height: 50px;
|
87 |
}
|
88 |
|
89 |
-
|
90 |
-
background-color: #
|
91 |
-
}
|
92 |
-
|
93 |
-
/* Convert Button */
|
94 |
-
#convert-btn {
|
95 |
-
background-color: #4CAF50;
|
96 |
color: white;
|
97 |
-
padding:
|
98 |
-
|
99 |
border: none;
|
100 |
-
border-radius: 8px;
|
101 |
cursor: pointer;
|
102 |
-
|
103 |
}
|
104 |
|
105 |
-
|
106 |
-
background-color: #
|
107 |
}
|
108 |
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
text-align: center;
|
115 |
}
|
116 |
|
117 |
-
/*
|
118 |
-
|
119 |
-
|
|
|
120 |
padding: 30px;
|
121 |
-
color:
|
122 |
-
|
|
|
123 |
}
|
124 |
|
125 |
.steps {
|
126 |
display: flex;
|
127 |
-
|
128 |
gap: 20px;
|
129 |
}
|
130 |
|
131 |
.step {
|
132 |
-
|
|
|
|
|
133 |
}
|
134 |
|
135 |
-
.step
|
136 |
font-weight: bold;
|
137 |
-
|
138 |
}
|
139 |
|
140 |
-
.step
|
141 |
-
|
142 |
-
|
143 |
-
border-radius: 8px;
|
144 |
}
|
145 |
|
146 |
/* Footer */
|
@@ -148,26 +154,19 @@ footer {
|
|
148 |
background-color: #555;
|
149 |
color: white;
|
150 |
text-align: center;
|
151 |
-
padding: 10px;
|
152 |
-
|
153 |
-
|
154 |
-
footer a {
|
155 |
-
color: #4CAF50;
|
156 |
-
text-decoration: none;
|
157 |
-
}
|
158 |
-
|
159 |
-
footer a:hover {
|
160 |
-
text-decoration: underline;
|
161 |
}
|
162 |
|
163 |
-
/*
|
164 |
@media (max-width: 600px) {
|
165 |
-
.
|
166 |
flex-direction: column;
|
167 |
gap: 10px;
|
168 |
}
|
169 |
|
170 |
-
.
|
171 |
-
|
172 |
}
|
173 |
}
|
|
|
1 |
+
/* Basic Reset */
|
2 |
+
* {
|
|
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
+
box-sizing: border-box;
|
6 |
+
}
|
7 |
+
|
8 |
+
/* Body styling */
|
9 |
+
body {
|
10 |
+
font-family: Arial, sans-serif;
|
11 |
background-color: #1b5e20; /* Dark Green */
|
12 |
color: white;
|
13 |
display: flex;
|
14 |
flex-direction: column;
|
15 |
+
align-items: center;
|
16 |
}
|
17 |
|
18 |
+
/* Navbar Styling */
|
19 |
+
.navbar {
|
20 |
+
background-color: #2c6e2f; /* Dark Green */
|
21 |
+
width: 100%;
|
22 |
+
position: fixed;
|
23 |
+
top: 0;
|
24 |
+
left: 0;
|
25 |
+
padding: 10px 0;
|
26 |
+
z-index: 1000;
|
27 |
}
|
28 |
|
29 |
+
.navbar-content {
|
30 |
+
display: flex;
|
31 |
+
justify-content: center;
|
32 |
+
align-items: center;
|
33 |
+
gap: 20px;
|
34 |
}
|
35 |
|
36 |
+
.navbar .logo {
|
37 |
+
width: 50px;
|
38 |
+
height: 50px;
|
39 |
}
|
40 |
|
41 |
+
.navbar .welcome-text {
|
42 |
+
color: white;
|
43 |
+
font-size: 18px;
|
44 |
+
}
|
45 |
+
|
46 |
+
/* Headline Section */
|
47 |
+
.headline-section {
|
48 |
+
background-color: #2c6e2f; /* Dark Green */
|
49 |
text-align: center;
|
50 |
+
padding: 50px 20px;
|
51 |
+
width: 100%;
|
52 |
}
|
53 |
|
54 |
+
.headline {
|
55 |
+
font-size: 36px;
|
56 |
+
font-weight: bold;
|
57 |
+
color: white;
|
58 |
}
|
59 |
|
60 |
+
.explanation {
|
61 |
+
font-size: 18px;
|
62 |
+
color: #ddd;
|
63 |
}
|
64 |
|
65 |
/* Currency Converter Section */
|
66 |
+
.converter-container {
|
67 |
+
width: 100%;
|
68 |
+
max-width: 800px;
|
69 |
background-color: white;
|
70 |
+
margin-top: 150px;
|
71 |
padding: 30px;
|
72 |
+
border-radius: 10px;
|
73 |
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
74 |
}
|
75 |
|
76 |
.currency-container {
|
|
|
84 |
flex-direction: column;
|
85 |
}
|
86 |
|
87 |
+
.currency-labels label {
|
88 |
font-size: 16px;
|
89 |
+
color: #333;
|
90 |
}
|
91 |
|
92 |
+
input, select {
|
|
|
93 |
padding: 10px;
|
94 |
+
border-radius: 5px;
|
95 |
+
border: 1px solid #ddd;
|
96 |
+
margin-bottom: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
}
|
98 |
|
99 |
+
button {
|
100 |
+
background-color: #2c6e2f;
|
|
|
|
|
|
|
|
|
|
|
101 |
color: white;
|
102 |
+
padding: 10px;
|
103 |
+
border-radius: 5px;
|
104 |
border: none;
|
|
|
105 |
cursor: pointer;
|
106 |
+
font-size: 16px;
|
107 |
}
|
108 |
|
109 |
+
button:hover {
|
110 |
+
background-color: #1a4727;
|
111 |
}
|
112 |
|
113 |
+
button#swap-btn {
|
114 |
+
width: 50px;
|
115 |
+
height: 50px;
|
116 |
+
border-radius: 50%;
|
117 |
+
margin: 10px auto;
|
|
|
118 |
}
|
119 |
|
120 |
+
/* Steps Section */
|
121 |
+
.steps-container {
|
122 |
+
width: 100%;
|
123 |
+
max-width: 800px;
|
124 |
padding: 30px;
|
125 |
+
background-color: #f0f0f0; /* Light Grey */
|
126 |
+
margin-top: 40px;
|
127 |
+
border-radius: 10px;
|
128 |
}
|
129 |
|
130 |
.steps {
|
131 |
display: flex;
|
132 |
+
flex-direction: column;
|
133 |
gap: 20px;
|
134 |
}
|
135 |
|
136 |
.step {
|
137 |
+
background-color: #dcdcdc; /* Grey */
|
138 |
+
padding: 20px;
|
139 |
+
border-radius: 10px;
|
140 |
}
|
141 |
|
142 |
+
.step h3 {
|
143 |
font-weight: bold;
|
144 |
+
color: #2c6e2f;
|
145 |
}
|
146 |
|
147 |
+
.step p {
|
148 |
+
font-size: 16px;
|
149 |
+
color: #333;
|
|
|
150 |
}
|
151 |
|
152 |
/* Footer */
|
|
|
154 |
background-color: #555;
|
155 |
color: white;
|
156 |
text-align: center;
|
157 |
+
padding: 10px 0;
|
158 |
+
width: 100%;
|
159 |
+
margin-top: 40px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
}
|
161 |
|
162 |
+
/* Responsive Design */
|
163 |
@media (max-width: 600px) {
|
164 |
+
.navbar-content {
|
165 |
flex-direction: column;
|
166 |
gap: 10px;
|
167 |
}
|
168 |
|
169 |
+
.headline-section, .converter-container, .steps-container {
|
170 |
+
padding: 20px;
|
171 |
}
|
172 |
}
|