Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,95 +1,161 @@
|
|
| 1 |
/* General Styles */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
body {
|
| 3 |
-
|
| 4 |
-
|
| 5 |
}
|
| 6 |
|
| 7 |
-
/* Navbar */
|
| 8 |
.navbar {
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
width: 100%;
|
| 15 |
-
z-index: 1000;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
.navbar .
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
}
|
| 23 |
|
| 24 |
-
.
|
| 25 |
-
|
| 26 |
-
|
| 27 |
}
|
| 28 |
|
| 29 |
/* Headline Section */
|
| 30 |
.headline {
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
}
|
| 37 |
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
background-color: #fff;
|
| 41 |
-
padding: 20px;
|
| 42 |
-
display: flex;
|
| 43 |
-
justify-content: center;
|
| 44 |
}
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
padding: 20px;
|
| 50 |
-
border-radius: 10px;
|
| 51 |
-
text-align: center;
|
| 52 |
-
width: 300px;
|
| 53 |
}
|
| 54 |
|
| 55 |
-
/*
|
| 56 |
-
.
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
}
|
| 62 |
|
| 63 |
-
.
|
| 64 |
-
|
| 65 |
}
|
| 66 |
|
| 67 |
-
.step-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
margin: 10px auto;
|
| 72 |
-
border-radius: 10px;
|
| 73 |
-
width: 250px;
|
| 74 |
-
text-align: left;
|
| 75 |
}
|
| 76 |
|
| 77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
.footer {
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
|
|
|
|
|
|
|
|
|
| 83 |
}
|
| 84 |
|
| 85 |
/* Responsive Design */
|
| 86 |
@media (max-width: 768px) {
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
}
|
|
|
|
| 1 |
/* General Styles */
|
| 2 |
+
* {
|
| 3 |
+
margin: 0;
|
| 4 |
+
padding: 0;
|
| 5 |
+
box-sizing: border-box;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
body {
|
| 9 |
+
font-family: Arial, sans-serif;
|
| 10 |
+
line-height: 1.6;
|
| 11 |
}
|
| 12 |
|
| 13 |
+
/* Navbar Styles */
|
| 14 |
.navbar {
|
| 15 |
+
background-color: #006400; /* Dark Green */
|
| 16 |
+
padding: 15px 50px;
|
| 17 |
+
display: flex;
|
| 18 |
+
justify-content: space-between;
|
| 19 |
+
align-items: center;
|
|
|
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
+
.navbar .logo {
|
| 23 |
+
color: white;
|
| 24 |
+
font-size: 24px;
|
| 25 |
+
font-weight: bold;
|
| 26 |
}
|
| 27 |
|
| 28 |
+
.navbar .greeting {
|
| 29 |
+
color: white;
|
| 30 |
+
font-size: 18px;
|
| 31 |
}
|
| 32 |
|
| 33 |
/* Headline Section */
|
| 34 |
.headline {
|
| 35 |
+
background-color: #006400; /* Dark Green */
|
| 36 |
+
color: white;
|
| 37 |
+
text-align: center;
|
| 38 |
+
padding: 50px 20px;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.headline h1 {
|
| 42 |
+
font-size: 36px;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.headline p {
|
| 46 |
+
font-size: 18px;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
/* Main Content Section */
|
| 50 |
+
.main-content {
|
| 51 |
+
background-color: white;
|
| 52 |
+
padding: 20px 50px;
|
| 53 |
+
margin-top: 30px;
|
| 54 |
+
display: flex;
|
| 55 |
+
justify-content: center;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.converter {
|
| 59 |
+
display: flex;
|
| 60 |
+
flex-direction: column;
|
| 61 |
+
align-items: center;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
input, select, button {
|
| 65 |
+
margin: 10px;
|
| 66 |
+
padding: 10px;
|
| 67 |
+
font-size: 16px;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
button {
|
| 71 |
+
background-color: #4CAF50; /* Green */
|
| 72 |
+
color: white;
|
| 73 |
+
border: none;
|
| 74 |
+
cursor: pointer;
|
| 75 |
}
|
| 76 |
|
| 77 |
+
button:hover {
|
| 78 |
+
background-color: #45a049;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
}
|
| 80 |
|
| 81 |
+
#result {
|
| 82 |
+
margin-top: 20px;
|
| 83 |
+
font-size: 18px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
}
|
| 85 |
|
| 86 |
+
/* Steps Section */
|
| 87 |
+
.steps {
|
| 88 |
+
background-color: #006400; /* Dark Green */
|
| 89 |
+
padding: 30px;
|
| 90 |
+
color: white;
|
| 91 |
+
text-align: center;
|
| 92 |
}
|
| 93 |
|
| 94 |
+
.steps h2 {
|
| 95 |
+
font-size: 30px;
|
| 96 |
}
|
| 97 |
|
| 98 |
+
.step-container {
|
| 99 |
+
display: flex;
|
| 100 |
+
justify-content: space-around;
|
| 101 |
+
margin-top: 20px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
}
|
| 103 |
|
| 104 |
+
.step {
|
| 105 |
+
background-color: #e0e0e0; /* Light Gray */
|
| 106 |
+
padding: 20px;
|
| 107 |
+
width: 25%;
|
| 108 |
+
border-radius: 8px;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
.step h3 {
|
| 112 |
+
font-weight: bold;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
.step p {
|
| 116 |
+
font-size: 16px;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
/* Footer Section */
|
| 120 |
.footer {
|
| 121 |
+
background-color: #808080; /* Gray */
|
| 122 |
+
color: white;
|
| 123 |
+
padding: 20px;
|
| 124 |
+
text-align: center;
|
| 125 |
+
position: fixed;
|
| 126 |
+
bottom: 0;
|
| 127 |
+
width: 100%;
|
| 128 |
}
|
| 129 |
|
| 130 |
/* Responsive Design */
|
| 131 |
@media (max-width: 768px) {
|
| 132 |
+
.navbar {
|
| 133 |
+
padding: 10px 20px;
|
| 134 |
+
}
|
| 135 |
|
| 136 |
+
.headline h1 {
|
| 137 |
+
font-size: 28px;
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
.main-content {
|
| 141 |
+
padding: 20px;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
.converter {
|
| 145 |
+
width: 100%;
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
.step-container {
|
| 149 |
+
flex-direction: column;
|
| 150 |
+
align-items: center;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.step {
|
| 154 |
+
width: 80%;
|
| 155 |
+
margin-bottom: 20px;
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
.footer {
|
| 159 |
+
padding: 15px;
|
| 160 |
+
}
|
| 161 |
}
|