﻿@char-set "utf-8";
@import "cw_layout.css";
/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Tutorial 2
   Case Problem 2
   
   Civil War History Style Sheet
   Author: Andrew Lord
   Date:   9/28/26
   
   Filename: cw_styles.css

*/


/* Structural Styles */

html{
	background-color: rgb(151,151,151);
}
body{
	font-family:Verdana, Geneva, sans-serif;
	background-color: rgb(180, 180, 223);
}
h1, h2{
	font-weight: normal;
}
nav a{
	text-decoration: none;
}
footer{
	color: white;
	background-color: rgb(101,101,101);
	font-size: 0.8em;
	text-align: center;
	padding-top: 1px;
	padding-bottom: 1px;
}

/* Body Header Styles */

body > header {
	background-color: rgb(97,97,211);
}
header > h1 {
	font-family: Limelight, cursive;
	font-size: 4vw;
	margin: 0px;
	color: rgba(255,255,255,0.8);
}

h1 > span {
	color: rgba(255,255,255,0.4);
}

/* Navigation Styles */

nav#mainLinks > a {
	padding-top: 5px;
	padding-bottom: 5px;
}
nav#mainLinks > a:visited, nav#mainLinks > a:link {
	color:white;
}
nav#mainLinks > a:hover, nav#mainLinks > a:active {
	color:rgba(255,255,255,0.8);
	background-color:rgba(51,51,51,0.5);
}


/* Outline Styles */

nav#outline {
	color: rgb(51,51,51);
	font-size: 0.8em;
}
nav#outline > h1 {
	text-align: center;
}
nav#outline > ol {
	line-height: 2em;
	margin: 0 5 0 5;
	list-style-type: upper-roman;
}
nav#outline > ol > li > ol{
	list-style-type: upper-latin;
}
nav#outline a:hover, nav#outline a:visited {
	color: rgb(97,97,211);
	text-decoration:underline;
}

/* Section Styles */

section{
	background-color: rgb(220, 220, 220);
}

section header h1 {
	font-size: 2.2em;
	padding-left: 10px;
}

/* Article Styles */

article{
	font-size: 1.4em;
}
article p:first-of-type::first-letter{
	font-size: 2em;
	text-align: vertical-align;
}

/* Aside Styles */

aside{
	font-size: 0.9em;
}

aside h1{
	font-size:1.4em;
	text-align: horizontal;
}