@import url(https://fonts.googleapis.com/css?family=Lustria);

body {
  background: url(data:image/jpeg;base64,[encoded data, 37748 characters]) repeat scroll 0 0 transparent;
  font-family: 'Lustria', serif;
  font-weight: 400;
  margin: 0 auto;
  max-width: 450px;
  padding-top: 70px;
  position: relative;
  width: 80%;
  font-size: 0.9em;
}

article {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}

article {
  background-color: #FFFFFF;
  border: 12px solid #3A3A3A;
  border-radius: 10px 10px 10px 10px;
  max-width: 450px;
  padding: 0 15px;
  width: 80%;
}

h1 {
  width: 84%;
  font-size: 1.6em;
}

article p:nth-of-type(1) {
  font-size: 1.2em;
  color: red;
}

footer {
  margin: 0 auto;
  max-width: 450px;
  position: absolute;
  top: 90px;
  width: 80%;
  right: 0;
}

footer p {
  zoom: 1;
  background-color: #FFFFFF;
  box-shadow: 1px 1px 3px #989898;
  font-size: 0.9em;
  max-width: 318px;
  padding: 4px 7px;
  position: absolute;
  right: -106px;
  top: 0;
  transform: rotate(34.5deg);
}

footer p:before {
  background-color: #999999;
  box-shadow: 1px 1px 2px #000000;
  content: "";
  display: block;
  height: 30px;
  left: 0;
  opacity: 0.5;
  position: absolute;
  top: -13px;
  width: 7px;
  transform: rotate(34.5deg);
  zoom: 1;
}

footer p:after {
  background-color: #999999;
  box-shadow: 1px 1px 2px #000000;
  content: "";
  height: 30px;
  opacity: 0.5;
  position: absolute;
  right: 0;
  width: 7px;
  transform: rotate(34.5deg);
  zoom: 1;
}

footer a {
  text-decoration: none;
}

a, a:visited {
  color: #F00;
  border-bottom: 1px dotted #F5D5CD;
}

a:active, a:hover {
  border-bottom: 1px dotted #F00;
}

/* ie 8 and lower hackery as they don't support proper rotates and filters conflict with ms-transform. So we simply remove those css styles and have the footer sit at the bottom */
*+html footer p {
  position: static;
  background: none;
}

*+html footer {
  position: static;
  background-color: #fff;
  margin-top: 10px;
}

@media \0screen {
  footer p:before, footer p:after {
    display: none;
  }

  footer p {
    position: static;
    background: none;
  }

  footer {
    position: static;
    background-color: #fff;
  }
}

#gravatar {
  position: relative;
  float: left;
  margin-top: 1em;
  margin-right: 1em;
  border: 1px solid #ddd;
}
