Diferencia entre revisiones de «Usuario:Hasley/styles.css»

Sin resumen de edición
Sin resumen de edición
Línea 1: Línea 1:
* {
font-family: Ubuntu;
}
/* https://stackoverflow.com/a/51053501 */
/* https://stackoverflow.com/a/51053501 */
.showcase-container {
.showcase-container {
Línea 17: Línea 20:
.main-centered {
.main-centered {
position: absolute;
position: absolute;
top: 50%;
top: 30%;
left: 50%;
left: 40%;
transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
font-size: 229%;
font-size: 229%;
Línea 28: Línea 31:
h2.main-centered {
h2.main-centered {
border: none;
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%;
}
}


Línea 57: Línea 40:
.bi-buttons span {
.bi-buttons span {
display: inline-block;
display: inline-block;
}
.main-centered {
top: 50%;
left: 50%;
}
}
}
}

Revisión del 14:36 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: 50%;
		left: 50%;
	}
}