Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,28 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
.
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Reset */
|
| 2 |
+
body, h1, h2, p {
|
| 3 |
+
margin: 0;
|
| 4 |
+
padding: 0;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
body {
|
| 8 |
+
font-family: Arial, sans-serif;
|
| 9 |
+
text-align: center;
|
| 10 |
+
background-color: #f9f9f9;
|
| 11 |
+
color: #333;
|
| 12 |
}
|
| 13 |
|
| 14 |
+
header {
|
| 15 |
+
background-color: #4CAF50;
|
| 16 |
+
color: white;
|
| 17 |
+
padding: 20px;
|
| 18 |
}
|
| 19 |
|
| 20 |
+
header h1 {
|
| 21 |
+
font-size: 2.5rem;
|
|
|
|
|
|
|
|
|
|
| 22 |
}
|
| 23 |
|
| 24 |
+
header p {
|
| 25 |
+
font-size: 1rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
}
|
| 27 |
|
| 28 |
+
.upload-container {
|
| 29 |
+
margin: 20px auto;
|
| 30 |
+
padding: 20px;
|
| 31 |
+
border: 2px dashed #4CAF50;
|
| 32 |
+
display: inline-block;
|
| 33 |
+
border-radius: 10px;
|
| 34 |
+
background-color: #fff;
|
| 35 |
}
|
| 36 |
+
|
| 37 |
+
.upload-container input {
|
| 38 |
+
margin-bottom: 10px;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.upload-container button {
|
| 42 |
+
background-color: #4CAF50;
|
| 43 |
+
color: white;
|
| 44 |
+
border: none;
|
| 45 |
+
padding: 10px 20px;
|
| 46 |
+
border-radius: 5px;
|
| 47 |
+
cursor: pointer;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.upload-container button:hover {
|
| 51 |
+
background-color: #45a049;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
#result-container {
|
| 55 |
+
margin: 20px auto;
|
| 56 |
+
display: inline-block;
|
| 57 |
+
text-align: center;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
#result-container img {
|
| 61 |
+
max-width: 300px;
|
| 62 |
+
margin-top: 10px;
|
| 63 |
+
border: 2px solid #4CAF50;
|
| 64 |
+
border-radius: 10px;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.hidden {
|
| 68 |
+
display: none;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
footer {
|
| 72 |
+
margin-top: 20px;
|
| 73 |
+
padding: 10px 0;
|
| 74 |
+
background-color: #f1f1f1;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
footer a {
|
| 78 |
+
color: #4CAF50;
|
| 79 |
+
text-decoration: none;
|
| 80 |
+
}
|