CSS
CSS (Cascading Style Sheets) is a style sheet language used to describe the presentation, formatting, and layout of a document written in a markup language, most commonly HTML. It is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.
The CSS code used to stylize this website is below:
@charset "utf-8";
/* CSS Document */
html
{
height: 100%;
margin:0;
padding:0;
background-color:#cdcdcd;
}
body
{
margin:0px 0px 0px 0px;
padding:0px 0px 0px 0px;
height:101%;
font-family:Calibri,Arial;
font-size:14px;
font-weight:normal;
}
header, footer
{
margin:0 auto;
padding:0 auto;
width:750px;
background-color:#FFF;
}
main
{
margin:0 auto;
padding:0 auto;
width:750px;
background-color:#FFF;
}
content
{
float:left;
margin:0 auto;
padding:0 auto;
width:600px;
}
nav
{
float:left;
margin:0 auto;
padding:0 auto;
width:150px;
}
h1
{
font-size: 20px;
color: navy;
padding: 3px;
margin-left: 5px;
}
h2
{
font-size: 18px;
color: navy;
padding: 3px;
margin-left: 8px;
}
h3
{
font-size: 16px;
color: black;
padding: 3px;
margin-left: 12px;
}
p
{
font-size: 14px;
line-height: 15px;
color: navy;
padding: 3px;
margin: 5px;
}
p a:hover
{
font-size: 14px;
line-height: 15px;
color: maroon;
}
content ul li
{
font-size: 14px;
line-height: 13px;
color: black;
padding: 3px;
margin: 8px;
list-style-type:none;
}
nav ul
{
font-size: 15px;
line-height: 18px;
color: black;
margin: 0px 0px 0px 5px;
padding: 0;
list-style-type:none;
text-underline:single;
}
nav ul li
{
font-size: 15px;
line-height: 18px;
color: black;
margin: 5px;
list-style-type:none;
text-underline:single;
}
nav ul li a
{
font-size: 15px;
line-height: 18px;
color: black;
margin: 2px;
list-style-type:none;
}
nav ul li a:hover
{
font-size: 15px;
line-height: 18px;
color: teal;
margin: 2px;
list-style-type:none;
}
footer p
{
font-size: 16px;
line-height: 22px;
color: navy;
padding: 0px 0px 0px 0px;
margin: 0px 5px 0px 5px;
}