mangaspaces / static /styles.css
koesan's picture
Upload 2 files
04d0e70 verified
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background: url('/static/wallpaper.jpg') no-repeat center center fixed;
background-size: cover;
color: #ffffff;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.menu {
position: absolute;
top: 10px;
left: 10px;
background-color: #000000;
padding: 10px;
border-radius: 5px;
cursor: pointer;
color: white;
text-align: center;
width: 70px;
height: 20px;
}
.menu-options {
display: none;
position: absolute;
top: 40px;
left: 0px;
background-color: rgba(0, 0, 0, 0.9);
padding: 5px;
border-radius: 5px;
width: 80px;
max-height: 300px;
overflow-y: auto;
}
.menu:hover .menu-options {
display: block;
}
.menu-options button {
display: block;
background: none;
border: none;
color: white;
padding: 5px;
cursor: pointer;
width: 100%;
text-align: left;
}
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
justify-content: center;
align-items: center;
}
.modal-content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.8);
padding: 20px;
border-radius: 10px;
width: 300px;
text-align: center;
}
.modal-content input {
width: 93%;
padding: 10px;
margin: 10px 0;
border-radius: 5px;
border: none;
background-color: #1e1e1e;
color: white;
}
.modal-content button {
background-color: #eb142a;
color: white;
border: none;
padding: 15px;
width: 250px;
height: 45px;
border-radius: 5px;
cursor: pointer;
}
.modal-content button:hover {
background-color: #c01022;
}
.close-btn {
background-color: #eb142a;
margin-top: 10px;
}
.close-btn:hover {
background-color: #c01022;
}
.product-container {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.product {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.8);
padding: 15px;
border-radius: 5px;
width: 30%;
text-align: center;
}
.product h3 {
margin-bottom: 10px;
}
.product p {
margin-bottom: 15px;
}
.product button {
background-color: #eb142a;
color: white;
border: none;
padding: 15px;
width: 250px;
height: 50px;
border-radius: 5px;
cursor: pointer;
}
.product button:hover {
background-color: #c01022;
}
main {
background-color: rgba(0, 0, 0, 0.8);
padding: 20px;
max-width: 600px;
margin: auto;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
text-align: center;
}
header h1 {
font-size: 2em;
color: #eb142a;
}
label, select, input[type="file"], button {
display: block;
width: 100%;
margin: 10px 0;
font-size: 1rem;
}
select, input[type="file"] {
padding: 10px;
border: none;
border-radius: 5px;
background-color: #1e1e1e;
color: #ffffff;
}
button, #download-link, #reset-button {
padding: 12px;
border: none;
border-radius: 5px;
background-color: #eb142a;
color: #ffffff;
font-size: 1rem;
cursor: pointer;
text-decoration: none;
text-align: center;
width: 100%;
margin-top: 10px;
}
button:hover, #download-link:hover, #reset-button:hover {
background-color: #c01022;
}
#download-link {
background-color: #28a745;
}
#download-link:hover {
background-color: #218838;
}
#loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: none;
justify-content: center;
align-items: center;
z-index: 9999;
}
#loading-overlay .spinner {
width: 50px;
height: 50px;
border: 6px solid rgba(255, 255, 255, 0.3);
border-top: 6px solid #ffffff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
main {
margin: 20px;
padding: 15px;
}
header h1 {
font-size: 1.5em;
}
}