@import "posts/reset.css";
@import "posts/syntax.css";
@import "posts/markdown.css";

@font-face {
  font-family: ubuntu;
  src: url("../fonts/ubuntu.ttf");
}

body {
  font-family: ubuntu;
  letter-spacing: 0;
  font-weight: 400;
  font-style: normal;
  text-rendering: optimizeLegibility;
  color: rgba(0, 0, 0, .8);
  font-size: 18px;
  line-height: 1.4;
  width: 100%;
  height: 100%;
  background-color: #FAFAFA;
}

#header {
  width: 100%;
  background-color: #FFFFFF;
  border-bottom: 2px solid #F0F0F0;
}

#header__content {
  width: 650px;
  margin: -12px auto;
  padding-top: 42px;
  padding-bottom: 42px;
}

#header__info h1 {
  margin-left: 7px;
  color: rgba(0, 0, 0, .8);
  cursor: pointer;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  font-size: 2em;
}

#header__info p {
  margin-left: 10px;
  font-size: 16px;
  line-height: 1.4;
  margin-top: 4px;
  margin-right: 120px;
  word-break: break-word;
  word-wrap: break-word;
  height: 100px;
}

#header__info img {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  float: right;
  margin-top: -90px;
  margin-right: 12px;
}

#header__nav {
  border-top: 1px solid #F3F3F3;
  padding-left: 5px;
  padding-bottom: 7px;
}

#header__nav li {
  float: left;
  padding: 13px 20px 15px 0;
  color: rgba(0, 0, 0, .44);
}

#header__nav li a:hover {
  color: rgba(0, 0, 0, .6);
}

#content {
  width: 100%;
  padding-top: 25px;
}

#content__column {
  width: 650px;
  margin: auto;
}

.post {
  background-color: #FFFFFF;
  border: 1px solid #E8E8E8;
  padding: 20px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.post__title {
  color: rgba(0, 0, 0, .8);
  font-size: 1.8em;
}

.post__text {
  margin-top: 10px;
}

.post__postfix {
  margin-top: 7px;
  font-size: 0.7em;
  color: rgba(0, 0, 0, .44);
}

.archive__post__date {
  margin-top: 7px;
  font-size: 0.7em;
  color: rgba(0, 0, 0, .44);
}

.post__postfix--separator {
  padding-right: .45em;
  padding-left: .45em;
}

.post__postfix--separator::after {
  content: "·";
}

.post__postfix a:hover {
  color: rgba(0, 0, 0, .6);
}

.more_posts {
  background-color: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 3px;
  margin-bottom: 12px;
  text-align: center;
  font-size: 1.3em;
}

.more_posts a {
  text-decoration: none !important;
}

.archive__block {
  background-color: #FFFFFF;
  border: 1px solid #E8E8E8;
  padding: 20px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.archive__year {
  margin: 0 !important;
  color: rgba(0, 0, 0, .8);
  font-size: 1.8em;
}

#single {
  background-color: #FFFFFF;
  border: 1px solid #E8E8E8;
  padding: 20px;
  border-radius: 3px;
}

.single__title {
  margin: 0;
  color: rgba(0, 0, 0, .8);
  font-size: 1.8em;
}

.single__date {
  margin-top: 7px;
  font-size: 0.8em;
  color: rgba(0, 0, 0, .44);
}

#single p {
  margin-top: 12px;
}

#footer {
  width: 100%;
  text-align: center;
  margin: 15px;
}

@media screen and (max-width: 650px) {
  #content__column {
    width: 100%;
  }

  #header__content {
    width: 100%;
  }

  #header__info p {
    width: 60%;
  }

  #header__info h1 {
    width: 90%;
  }

  #header__nav {
    padding-left: 15px;
  }
}