55 lines
1016 B
CSS
55 lines
1016 B
CSS
.columns {
|
|
height: 100vh;
|
|
overflow: hidden; }
|
|
|
|
.section {
|
|
position: relative; }
|
|
|
|
.carousel .image img {
|
|
height: auto;
|
|
/* Set a fixed height */
|
|
width: fit-content;
|
|
/* Maintain aspect ratio */
|
|
overflow: hidden;
|
|
object-fit: contain; }
|
|
|
|
.slider {
|
|
overflow: hidden; }
|
|
|
|
.slider-navigation-previous {
|
|
display: none; }
|
|
|
|
.slider-navigation-next {
|
|
display: none; }
|
|
|
|
.overlay {
|
|
z-index: 10;
|
|
opacity: 1;
|
|
position: absolute;
|
|
right: 10%;
|
|
/* Extending full width */
|
|
bottom: 10%;
|
|
width: 30%;
|
|
height: 20%;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
/* Voile clair */
|
|
display: flex;
|
|
justify-content: center;
|
|
/* Center content horizontally */
|
|
align-items: center;
|
|
/* Center content vertically */
|
|
text-align: center; }
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.overlay {
|
|
z-index: 10;
|
|
opacity: 1;
|
|
position: relative;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
/* Voile clair */ } }
|