112 lines
1.9 KiB
CSS
112 lines
1.9 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
.container {
|
|
max-width: 500px;
|
|
width: 90%;
|
|
background: #ffffff;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
form {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
input[type="file"] {
|
|
display: block;
|
|
margin: 0 auto 15px auto;
|
|
font-size: 18px;
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
border: 2px solid #007bff;
|
|
border-radius: 5px;
|
|
background-color: #f4f4f4;
|
|
}
|
|
|
|
input[type="file"]:hover {
|
|
border-color: #0056b3;
|
|
}
|
|
|
|
button {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
padding: 15px 25px;
|
|
font-size: 18px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
/* Style for the Back Button */
|
|
.back-button {
|
|
background-color: red;
|
|
color: white;
|
|
padding: 10px 20px;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
border-radius: 5px;
|
|
display: inline-block;
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.back-button:hover {
|
|
background-color: darkred;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.container {
|
|
padding: 15px;
|
|
}
|
|
h1 {
|
|
font-size: 20px;
|
|
}
|
|
input[type="file"] {
|
|
font-size: 16px;
|
|
padding: 8px;
|
|
}
|
|
button, .back-button {
|
|
font-size: 14px;
|
|
padding: 10px 20px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 360px) {
|
|
.container {
|
|
width: 95%;
|
|
padding: 10px;
|
|
}
|
|
h1 {
|
|
font-size: 18px;
|
|
margin-bottom: 15px;
|
|
}
|
|
input[type="file"] {
|
|
font-size: 14px;
|
|
padding: 6px;
|
|
}
|
|
button, .back-button {
|
|
font-size: 12px;
|
|
padding: 8px 16px;
|
|
}
|
|
}
|
|
|