generated from hjess/PythonTemplateProject
Sync
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 30s
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 30s
This commit is contained in:
39
static/css/carousel.css
Normal file
39
static/css/carousel.css
Normal file
@@ -0,0 +1,39 @@
|
||||
.carousel-container {
|
||||
position: relative;
|
||||
max-width: 600px;
|
||||
margin: auto;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.carousel-slide img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.capa {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left: 10px;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
color: white;
|
||||
padding: 5px 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.nav-button {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 10px;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.nav-left { left: 10px; }
|
||||
.nav-right { right: 10px; }
|
||||
Reference in New Issue
Block a user