Test / static /styles.css
3v324v23's picture
Update Comic123 with local comic folder files
83e35a7
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
/* Removed background video styles for simple theme */
.carousel {
width: 100%;
height: 100vh;
overflow: hidden;
}
.carousel-item {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.carousel-item.active {
opacity: 1;
}
.carousel-item img {
width: 100%;
height: 100%;
object-fit: contain;
background: #000;
}
.box {
position: absolute;
top: 0;
left: 0;
width: 40%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
transition: all 0.5s ease-in-out;
opacity: 0;
transform: translateX(-100%);
}
.box.visible {
opacity: 1;
transform: translateX(0);
}
.box h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
.box p {
font-size: 1.2rem;
margin-bottom: 2rem;
text-align: center;
}
.box button {
padding: 0.5rem 2rem;
margin: 3rem;
font-size: 1.2rem;
border: none;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
.box button:hover {
box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 1px #000000,
0 0 2px #000000, 0 0 3px #000000, 0 0 3px #000000;
}
.box button:active {
color: #000;
}
.button-container {
display: flex;
}
.icon-button {
border: none;
background: none;
padding: 0;
margin-right: 10px;
border-radius: 0.5rem;
}
.icon-button img {
width: 50px;
height: 50px;
}
.submit-button {
border-radius: 25px;
background-color: #e67800;
}
#link-input {
padding: 10px;
}
#preview-container {
width: 60%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
margin-left: auto;
position: relative;
}
#video-container,
#iframe-container {
width: 100%;
height: 100%;
position: absolute;
top: 0;
display: flex;
justify-content: center;
align-items: center;
}
#video-preview,
#iframe-preview {
width: 100%;
max-width: 80%;
border-radius: 15px;
display: none;
z-index: 2;
}
#title{
font-family: "Bungee Spice", sans-serif;
font-weight: 400;
font-style: normal;
}
@keyframes fade {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
}
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.box,
#preview-container {
width: 100%;
max-width: 100%;
}
}