/******************************************************************************
 geometry
 ******************************************************************************/

* {
  margin: 0;
  padding: 0;
  border-width: 1px;
}

#canvas {
  width: 800px;
  margin: 0 auto;
}

#banner {
  padding-top: 40px;
  padding-bottom: 40px;
}

#title {
  padding-bottom: 20px;
}

#navbar {
  width: 100%;
  list-style-type: none;
}

#navbar li {
  display: inline;
}

#navbar a {
  padding: 10px;
}

#content {
  padding-bottom: 20px;
}

.post {
  padding-bottom: 10px;
}

.header {
  position: relative;
  height: 40px;
  margin-bottom: 30px;
}

.header .title {
  position: absolute;
  bottom: -2px;
}

.header .category {
  position: absolute;
  bottom: 0px;
  right: 0px;
}

.header .timestamp {
  position: absolute;
  bottom: -24px;
  right: 0px;
}

@-moz-document url-prefix() {
  .header .title { bottom: 0px; }
  .header .category { bottom: 0px; }
  .header .timestamp { bottom: -23px; }
}

.paging {
  position: relative;
  height: 30px;
  margin-bottom: 10px;
}

.paging .newer {
  position: absolute;
}

.paging .older {
  position: absolute;
  right: 0px;
  text-align: right;
}

.archive .item {
  position: relative;
  margin-bottom: 10px;
  height: 32px;
}

.archive .timestamp {
  position: absolute;
  bottom: 4px;
  left: 0px;
}

.archive .title {
  position: absolute;
  bottom: 0px;
  left: 120px;
}

.archive .category {
  position: absolute;
  bottom: 4px;
  right: 0px;
}

@-moz-document url-prefix() {
  .archive .timestamp { bottom: 2px; }
  .archive .title { bottom: -2px; }
  .archive .category { bottom: 2px; }
}

h1, h2, h3, h4 {
  margin-bottom: 10px;
}

.spacer {
  margin-bottom: 20px;
}

/******************************************************************************
 fonts
 ******************************************************************************/

@font-face {
    font-family: 'OswaldLight';
    src: url('fonts/Oswald/Oswald-Light.eot'); /* IE9 Compat Modes */
    src: url('fonts/Oswald/Oswald-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/Oswald/Oswald-Light.woff') format('woff'), /* Modern Browsers */
         url('fonts/Oswald/Oswald-Light.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/Oswald/Oswald-Light.svg#Oswald-Light') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'MerriweatherLight';
    src: url('/fonts/Merriweather/Merriweather-Light.eot'); /* IE9 Compat Modes */
    src: url('/fonts/Merriweather/Merriweather-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/Merriweather/Merriweather-Light.woff') format('woff'), /* Modern Browsers */
         url('/fonts/Merriweather/Merriweather-Light.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/Merriweather/Merriweather-Light.svg#Merriweather') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

* {
  font-family: MerriweatherLight;
}

#banner * {
  font-family: OswaldLight;
  text-align: center;
}

#title {
  font-size: 42px;
}

.title {
  font-size: 22px;
}

#navbar a {
  font-size: 24px;
}

#content {
  font-size: 18px;
  line-height: 1.5;
}

.post .category * {
  font-size: 14px;
  text-align: right;
}

.post .timestamp {
  font-size: 14px;
  text-align: right;
}

.paging * {
  font-family: OswaldLight;
}

.archive * {
  font-size: 16px;
}

.archive .category {
  text-align: right;
}

.archive .title * {
  font-size: 20px;
}

h1, h2, h3, h4 {
  font-weight: normal;
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

/******************************************************************************
 colors
 ******************************************************************************/

* {
  background: #333;
  color: #ccc;
  border-color: #690;
}

a,
a:link,
a:visited {
  color: #690;
}

a:active,
a:hover {
  color: #9c0;
}

a.heading,
a.heading:link,
a.heading:visited {
  color: #f90;
}

a.heading:active,
a.heading:hover {
  color: #fb0;
}

#banner * {
  background-color: rgba(0, 0, 0, 0);
}

.header * {
  background-color: rgba(0, 0, 0, 0);
}

#title, .title, h1, h2, h3, h4 {
  color: #f90;
}

.timestamp {
  color: #666;
}

/******************************************************************************
 decoration
 ******************************************************************************/

.header {
  border-bottom-style: solid;
}

article em {
  margin-right: 3px;
}

a,
a:link,
a:visited {
  text-decoration: none;
}