Sin resumen de edición |
Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
/* https://stackoverflow.com/a/51053501 */ | /* https://stackoverflow.com/a/51053501 */ | ||
.showcase-container { | .showcase-container { | ||
width: 80%; | |||
margin: 0 auto; | |||
padding: 0; | |||
position: relative; | |||
} | } | ||
.showcase-container img { | .showcase-container img { | ||
display: block; | |||
width: 100%; | |||
height: auto; | |||
margin: 0 auto; | |||
max-width: 1200px; | |||
} | |||
.main-centered { | |||
position: absolute; | |||
top: 50%; | |||
left: 50%; | |||
transform: translate(-50%, -50%); | |||
font-size: 229%; | |||
padding: 10px 20px; | |||
color: #fff; | |||
} | } | ||
.centered { | h2.main-centered { | ||
border: none; | |||
} | } | ||
* { | * { |
Revisión del 13:31 10 oct 2022
/* https://stackoverflow.com/a/51053501 */
.showcase-container {
width: 80%;
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: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 229%;
padding: 10px 20px;
color: #fff;
}
h2.main-centered {
border: none;
}
* {
font-family: Ubuntu;
}
.bi-buttons a {
color: #fff !important;
}
.bi-buttons span {
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
display: block;
max-width: 30%;
margin: 5px;
}
.mega-header-title {
font-size: 229%;
width: 100%;
}
@media (max-width: 1000px) {
.mega-header-title {
font-size: 115%;
width: 75%;
}
.bi-buttons span {
display: inline-block;
}
}