
/* MAIN LAYOUT
 * The main layout uses the float attributes to have a traditional layout
 * with the header, footer, the nav bar on the left, and articles in the middle
 */

body
{
  width: 70%;
  margin-left : auto;
  margin-right: auto;
}

header
{
  border-width: 1px;
  border-color: black;
  border-style: none none solid none;

  margin: 10px;
  padding: 10px;
}

nav
{
  float: left;
  width: 140px;

  padding-top: 20px;
  padding-bottom: 20px;
}

footer
{
  border-top: 1px solid black;

  clear: both;
  text-align: center;

  margin: 10px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
}

article
{
  overflow: hidden;
  border-left: 1px solid black;

  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 140px;
  padding: 20px;
}

aside
{
  text-align: center;
  border-radius: 10px;
  float: right;
  border: 1px solid black;
  margin: 10px;
  padding: 10px;
}

/* NAV BAR
 * Add some style to the nav bar
 */

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 140px;
}

nav li a {
  display: block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
}

nav li a:hover {
  color: white;
  background-color: #555;
  text-decoration: none;
}

/* BIBTEX STYLE
 * Try and lessen the horror that is produced y the bibtex2html binary
 * TODO !
 */

/* NESTED LISTS
 * Particularly used for the listings in teaching and music
 */

ul ul
{
  margin-top: 5px;
  margin-bottom: 10px;
}

ul p
{
  margin-top: 5px;
  margin-bottom: 10px;
}

/* TEXT AND LINKS
 * Juste some minor alterations to the classic style
 */

a
{
  color: blue;
  text-decoration: none;
}

a:hover
{
  text-decoration: underline;
}

p
{
  text-align: justify;
  text-indent: 0;
}

.address
{
  margin: 30px;
  color: green;
}

/* BLOG POST NAVIGATION */
.blognav
{
  width: 100%;
}

.blogmov
{
  width: 50%;
  text-align: center;
}
