Files
LMSGI-2024-25/Unidad_03_HTML/HTML/HarryPotter/css/index.css
2024-10-28 13:59:54 +01:00

85 lines
1.1 KiB
CSS

body {
background: white;
font-family: 'Lato', sans-serif;
}
.anchoContenedorPrincipal {
width: 90%;
}
.centrarDiv {
margin-left: auto;
margin-right: auto;
}
#divPrincipal {
background: turquoise;
vertical-align: top;
}
#imgBanner {
display: inline-block;
width: 25%;
}
#textBanner {
display: inline-block;
background: white;
vertical-align: top;
}
.fila {
text-align: center;
background: violet;
margin-top: 5px;
}
.tarjeta {
margin-right: auto;
margin-left: auto;
display: inline-block;
border: 1px solid #000000;
width: 23%;
vertical-align: top;
height: 230px;
}
.tarjeta img {
width: 100%;
height: 150px;
}
.tarjeta .descripcion {
height: 75px;
background: white;
}
.tarjeta .descripcion span {
vertical-align: middle;
}
#menu {
background: black;
text-align: center;
}
#menu li{
display: inline-block;
color: white;
width: 100px;
}
#menu li:hover {
background: #757575;
}
#menu a {
color: yellow;
text-decoration: underline;
}
#menu a:visited {
color: yellow;
text-decoration: underline;
}