/* This CSS file governs all files in the Averages webspace */

 /* * * * * * * * * * * * * */
/* body (define defaults) */

body  {
	background-color: cornsilk;
	background-image: url('pics/logo2-BlanchedAlmond3b.png');
	background-repeat: repeat-y;
	color: MidnightBlue;
	line-height: 140%;
	font-family: "Palatino Linotype", Verdana, serif;
	font-size: 130%;
}

 /* * * * * * * */
/*   headings  */

h1  {  /* e.g. D & D Webspace */
	color: White;
	background-color: Firebrick;
	letter-spacing: 3px;
	font-family: Candara, Verdana, "Segoe UI", Arial, SanSerif;
	font-size: 180%;
	text-align:right;
	margin-left:0em;
	padding: 7px 14px 7px 14px;  /* T R B L */
}

h2  {  /* e.g. Averages */
	letter-spacing: 1.75px;
	font-size: 160%;
	margin-left:4em;
}

h3  {  /* e.g. Dave's Reckoning */
	letter-spacing: 1.4px;
	font-size: 130%;
	font-variant:small-caps;
	margin-left:6em;
}

p {
	margin-left: 10em;
	margin-right: 5em;
}

 /* * * * * * * */
/*   tables    */

table {
	border-collapse: collapse;
	margin-left: 10em;
	margin-right: 5em;
	font-family: "Palatino Linotype", Verdana, serif;
	font-size: 100%;
	/*border: 1px solid black;*/
}

/* remove after debugging */
/*th, td {
	border: 1px solid black; 
}*/

/* partition */
table.partition {
	border-style:none;
	border-width:1px;
	font-family: Verdana, "Segoe UI", Arial, SanSerif;
	color: black;
	margin-left:15em;
}
table.partition tr:nth-child(odd) {
	border-top-style: dotted;
	border-color: DarkGray;
	border-width:1px;
	background-color: Lavender;
}
table.partition tr:nth-child(even) {
	border-top-style: dotted;
	border-color: DarkGray;
	border-width:1px;
	background-color: LightBlue;
}
table.partition td {
	padding: 7px 14px 7px 14px;  /* T R B L */
	text-align:center;
}

 /* * * * * * * */
/*   classes   */

/* equations  */
.equation {
	text-align: center;
	margin-right:5em;
	margin-left:8em;
	width:auto;
	font-size:150%;
	white-space:nowrap; /* prevent wrapping */
}

/* simultaneous equs */
.simultaneous {
	border-left:6px double MidnightBlue;
}

/*  stuff being rooted */
.overbar {
    display: inline-block;
    border-top: 0.06em solid currentColor;
    padding-top: 0.04em;
    line-height: 1;
    vertical-align: middle;
}


/* pad instead of &nbsp; */
.pad {
    padding: 0 .15em;
}

/* center-align */
.centered-text {
    text-align:center;
}

/* fancy border */
.fancy {
	border: 1px solid black;
	padding-top: 0.3em;
	padding-bottom: 0.3em
}

 /* * * * * * */
/*   image   */
img {
	width: 60%; height: auto;
	float: right;
}


