generated from hjess/PythonTemplateProject
40 lines
691 B
CSS
40 lines
691 B
CSS
|
|
.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; }
|