practica6/css/style.css @ 7c4eb267
cde18bcf | Hermilo Medardo Montoya Fuentes | *{
|
|
margin: 0;
|
|||
padding: 0;
|
|||
}
|
|||
body{
|
|||
position: relative;
|
|||
background-color: rgb(207, 204, 255);
|
|||
font-family: 'Trebuchet MS', Arial, sans-serif;
|
|||
color: #181818;
|
|||
}
|
|||
.texto-justificado{
|
|||
text-align: justify;
|
|||
}
|
|||
table, th, td{
|
|||
border: 0px;
|
|||
border-collapse: collapse;
|
|||
}
|
|||
th, td{
|
|||
padding: 30px;
|
|||
}
|
|||
td{
|
|||
text-align: center;
|
|||
}
|
|||
header{
|
|||
background: url('https://st2.depositphotos.com/10440072/43941/i/450/depositphotos_439412992-stock-photo-beautiful-tropical-beach-banner-white.jpg')
|
|||
}
|
|||
header h1{
|
|||
font-family:'Comic Sans MS';
|
|||
color:rgb(19, 5, 5);
|
|||
font-size: 2.5em;
|
|||
font-weight: 1000;
|
|||
}
|
|||
#titulo{
|
|||
display: inline-block;
|
|||
}
|
|||
#logo, header h1{
|
|||
display: inline-block;
|
|||
margin-bottom: 0px;
|
|||
height: 150px;
|
|||
}
|
|||
nav{
|
|||
display: inline-block;
|
|||
width: 100%;
|
|||
height: 40px;
|
|||
text-align: right;
|
|||
background-color: rgb(243, 237, 237);
|
|||
}
|
|||
nav ul{
|
|||
list-style-type: none;
|
|||
}
|
|||
nav li{
|
|||
display:inline-block;
|
|||
margin-right: 15px;
|
|||
}
|
|||
nav a{
|
|||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|||
font: 1.3em;
|
|||
color: #0a0a0a;
|
|||
padding-bottom: 3px;
|
|||
text-decoration: none;
|
|||
}
|
|||
nav a:hover{
|
|||
color: #f78d14;
|
|||
border-bottom: 3px solid #568ef7;
|
|||
}
|
|||
img {
|
|||
width: 300px; /* Ajusta el tamaño de las imágenes */
|
|||
height: 200px; /* Ajusta el tamaño de las imágenes */
|
|||
object-fit: cover; /* Asegura que las imágenes se ajusten sin distorsionarse */
|
|||
}
|
|||
article{
|
|||
padding: 10px;
|
|||
}
|
|||
section{
|
|||
padding: 10px;
|
|||
margin-left: auto;
|
|||
margin-right: auto;
|
|||
float: left;
|
|||
width: 75%;
|
|||
}
|
|||
aside{
|
|||
padding: 5px;
|
|||
font-style: italic;
|
|||
float: right;
|
|||
width: 22%;
|
|||
border: 2px solid;
|
|||
}
|
|||
footer{
|
|||
float: left;
|
|||
position: relative;
|
|||
bottom: 0;
|
|||
width: 100%;
|
|||
height: 80px;
|
|||
box-sizing: border-box;
|
|||
border-top: 2px solid #000;
|
|||
background-color: rgb(255, 228, 107);
|
|||
color: rgb(15, 15, 15);
|
|||
text-align: center;
|
|||
padding-top: 10px;
|
|||
}
|