/* Improve the general styling of the blog. */

h1 {
  margin-top: 2em !important;
}

h2 {
  margin-top: 1em !important;
}

h1:first-child, h2:first-child {
  margin-top: 0 !important;
}

body :link, body :link:hover, body :visited {
  border-bottom: none !important;
}


/* Make the table of contents stand out. */

.wiki-toc-inline {
  display: inline-block !important;

  padding: 1em !important;

  background-color: #F7F7F7 !important;
  border: 1px solid #D7D7D7 !important;
}

.wiki-toc-inline h4 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;

  text-align: center !important;
}

.wiki-toc-inline ol {
  margin-bottom: 0 !important;
  padding-left: 2em !important;
}


/* Prevent the footer from overlapping the sidebar. Perhaps there is a better way? */

div#main {
  min-height: 400px !important;
}


/* Override the default style for the front-page blog posts */

div.blogflash {
  width: 25% !important;
  min-width: 300px !important;

  margin: 0em 0em 2em 2em !important;
  padding: 1em 1em !important;
}

.blog-list-title {
  font-size: large !important;
}

.blog ul.metainfo {
  margin-bottom: 1em !important;
}

.blog ul.metainfo li.metacategories {
  display: none !important;
}

.blog ul.metainfo li.metaauthor {
  display: none !important;
}