Sin resumen de edición |
Sin resumen de edición |
||
Línea 42: | Línea 42: | ||
} | } | ||
.main-centered { | .main-centered { | ||
top: | top: 40%; | ||
left: 50%; | left: 50%; | ||
} | } | ||
} | } |
Revisión del 14:38 10 oct 2022
* {
font-family: Ubuntu;
}
/* https://stackoverflow.com/a/51053501 */
.showcase-container {
width: 100%;
margin: 0 auto;
padding: 0;
position: relative;
}
.showcase-container img {
display: block;
width: 100%;
height: auto;
margin: 0 auto;
max-width: 1200px;
}
.main-centered {
position: absolute;
top: 30%;
left: 40%;
transform: translate(-50%, -50%);
font-size: 229%;
font-weight: bold;
padding: 10px 20px;
color: #fff;
}
h2.main-centered {
border: none;
}
@media (max-width: 1000px) {
.mega-header-title {
font-size: 115%;
width: 75%;
}
.bi-buttons span {
display: inline-block;
}
.main-centered {
top: 40%;
left: 50%;
}
}