Update style.css
Browse files
style.css
CHANGED
|
@@ -1,46 +1,83 @@
|
|
| 1 |
body {
|
| 2 |
font-family: Arial, sans-serif;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
text-align: center;
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
}
|
| 8 |
|
| 9 |
.container {
|
| 10 |
max-width: 400px;
|
| 11 |
-
margin:
|
| 12 |
-
background: #
|
| 13 |
padding: 20px;
|
| 14 |
border-radius: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
}
|
| 16 |
|
| 17 |
label {
|
| 18 |
display: block;
|
| 19 |
-
margin: 10px
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
input {
|
| 23 |
width: 100%;
|
| 24 |
-
padding:
|
| 25 |
-
margin-
|
| 26 |
-
border: none;
|
| 27 |
border-radius: 5px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
| 29 |
|
| 30 |
button {
|
| 31 |
-
|
| 32 |
-
color: white;
|
| 33 |
-
border: none;
|
| 34 |
padding: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
border-radius: 5px;
|
| 36 |
cursor: pointer;
|
| 37 |
}
|
| 38 |
|
| 39 |
button:hover {
|
| 40 |
-
background
|
| 41 |
}
|
| 42 |
|
| 43 |
#result {
|
| 44 |
margin-top: 20px;
|
| 45 |
-
font-size:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
}
|
|
|
|
| 1 |
body {
|
| 2 |
font-family: Arial, sans-serif;
|
| 3 |
+
margin: 0;
|
| 4 |
+
padding: 0;
|
| 5 |
+
background-color: #1d1d1d;
|
| 6 |
+
color: #fff;
|
| 7 |
text-align: center;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.header {
|
| 11 |
+
background-color: #333;
|
| 12 |
+
padding: 10px;
|
| 13 |
+
font-size: 14px;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
.header a {
|
| 17 |
+
color: #ff9800;
|
| 18 |
+
text-decoration: none;
|
| 19 |
}
|
| 20 |
|
| 21 |
.container {
|
| 22 |
max-width: 400px;
|
| 23 |
+
margin: 20px auto;
|
| 24 |
+
background: #292929;
|
| 25 |
padding: 20px;
|
| 26 |
border-radius: 10px;
|
| 27 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
form {
|
| 31 |
+
text-align: left;
|
| 32 |
}
|
| 33 |
|
| 34 |
label {
|
| 35 |
display: block;
|
| 36 |
+
margin-top: 10px;
|
| 37 |
+
font-weight: bold;
|
| 38 |
}
|
| 39 |
|
| 40 |
input {
|
| 41 |
width: 100%;
|
| 42 |
+
padding: 10px;
|
| 43 |
+
margin-top: 5px;
|
|
|
|
| 44 |
border-radius: 5px;
|
| 45 |
+
border: none;
|
| 46 |
+
background: #444;
|
| 47 |
+
color: #fff;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
input::placeholder {
|
| 51 |
+
color: #ccc;
|
| 52 |
}
|
| 53 |
|
| 54 |
button {
|
| 55 |
+
width: 100%;
|
|
|
|
|
|
|
| 56 |
padding: 10px;
|
| 57 |
+
margin-top: 20px;
|
| 58 |
+
background: #ff9800;
|
| 59 |
+
color: #fff;
|
| 60 |
+
border: none;
|
| 61 |
border-radius: 5px;
|
| 62 |
cursor: pointer;
|
| 63 |
}
|
| 64 |
|
| 65 |
button:hover {
|
| 66 |
+
background: #e68a00;
|
| 67 |
}
|
| 68 |
|
| 69 |
#result {
|
| 70 |
margin-top: 20px;
|
| 71 |
+
font-size: 16px;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.footer {
|
| 75 |
+
margin-top: 20px;
|
| 76 |
+
padding: 10px;
|
| 77 |
+
font-size: 14px;
|
| 78 |
+
color: #ff9800;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
.footer p {
|
| 82 |
+
margin: 5px 0;
|
| 83 |
}
|