﻿header.blog-header {
  border: none;
  text-align: center;
  margin: 0 0 3em;

  a {
    font-size: 4em;
  }
}

.post {
  header {
    h1 {
      margin: 0 0 3px;
    }

    div {
      &.bh {
        font-size: .75em;
        opacity: .8;
        margin-bottom: 1em;
      }

      a {
        margin-left: 10px;
      }

      .categories {
        margin: 0;
        padding: 10px;
        display: inline;

        a {
          margin: 0;
        }

        li {
          display: inline;

          &:not(:first-child):not(:last-child):after {
            content: ", ";
          }
        }
      }
    }
  }

  abbr {
    border: none;
  }

  h2 {
    margin-bottom: 0;
    font-size: 1.3em;
  }

  h3 {
    margin-bottom: 0;
    font-size: 1.1em;
  }

  div[itemprop=articleBody] {
    border-bottom: 1px solid #d3d3d3;
    padding-bottom: .5em;
    margin-bottom: 2em;
    -ms-text-size-adjust: 150%;
  }
}

#comments article div p {
  &:after, &:before {
    content: "";
    top: 10px;
    border-style: solid;
    border-width: 9px 9px 9px 0;
    position: absolute;
  }
}

.post p {
  padding: 0.2em 0;
}

#comments article {
  position: relative;
  max-height: 9999px;
  overflow: hidden;
  -webkit-transition: height .5s ease-in-out;
  -moz-transition: height .5s ease-in-out;
  -o-transition: height .5s ease-in-out;
  transition: height 0.5s ease-in-out;

  div {
    padding-left: 70px;

    p {
      border: 1px solid #d3d3d3;
      border-radius: 5px;
      padding: 7px;
      position: relative;

      &:before {
        left: -10px;
        border-color: transparent #d3d3d3;
      }

      &:after {
        left: -9px;
        border-color: transparent #fff;
      }
    }
  }

  &.self div p {
    background: #f7f7f7;

    &:after {
      border-color: transparent #f7f7f7;
    }
  }

  [itemprop=commentText] {
    margin: 0;
  }

  img {
    border-radius: 5px;
    position: absolute;
    top: 19px;
  }

  [itemprop=commentTime] {
    display: block;
    text-align: right;
    font-size: 0.7em;
  }

  [itemprop=creator] {
    font-size: .8em;
    margin-left: 7px;
  }

  [itemprop=approvalWarning] {
    margin-left: 70px;
    font-size: .6em;
    background-color: rgba(255, 255, 0, 0.5);
    padding: 5px;
  }
}

#commentform {
  margin-top: 2em;
}

#status {
  margin-left: 1em;
}

.nextpost {
  float: right;
  text-align: right;
}

.prevpost {
  float: left;
  text-align: left;
}

.post .jumbotron {
  margin-bottom: 0;
}