ASDV-WebDev/Semester 1/Chapter ZIPs/HTML/chapter8/9/CasitaExample/casita.css

55 lines
1.3 KiB
CSS

2023-02-23 14:54:03 +07:00
* { box-sizing: border-box; }
body { background-color: #330000;
font-family: Verdana, Arial, sans-serif;
}
#wrapper { width: 960px;
margin: auto;
background-color: #F4E8BC;
color: #330000;
box-shadow: 5px 5px 5px #000000;
}
h1 { background-image: url(images/logo.gif);
background-repeat: no-repeat;
background-color: #F4E8BC;
height: 130px;
font-family: Georgia, "Times New Roman", serif;
font-size: 4.5em;
padding-left: 220px;
padding-top: 20px;
text-shadow: 3px 3px 3px #90745D;
margin-bottom: 0;
}
nav { padding-top: 10px;
float: left;
width: 200px;
}
nav ul { list-style-type: none;
padding-left: 20px;
}
nav li { padding-bottom: 5px;
font-weight: bold;
}
nav a { text-decoration: none; }
nav a:link { color: #330000; }
nav a:visited{ color: #90745D; }
nav a:hover { color: #3F4632; }
main { background-color: #FFFFCC;
margin-left: 200px;
padding: 1px 20px 20px 20px;
min-height: 300px;
display: block;
}
main img { float: right;
padding: 20px;
}
footer { background-color: #FFFFCC;
margin-left: 200px;
padding: 20px;
text-align: center;
font-size: small;
font-style: italic;
}