
/**
 * @file
 * CSS for Jeff Geerling's website blog.
 */

/* Blog listings */
.view-blog .node .comment-add {
  display: none;
}

/* Blog images */
.node--type-blog-post .insert-image {
  margin: 0 auto;
  display: block;
}

/* Node bottom region */
.region-node-bottom {
  background-color: #efefef;
  padding: 1em 1.5em;
  margin: 2em 8em;
}

.region-node-bottom h2 {
  margin-top: .1em;
}

.view-related-content ul {
  font-size: .9em;
  margin: 0;
}

/* Tags */
.field--name-field-tags {
  margin: 1em 0;
}

.field--name-field-tags .field__item {
  display: inline;
}

.field--name-field-tags .field__item a {
  background: #eee;
  color: #444;
  font-size: .7em;
  font-family: Helvetica, Arial, sans-serif;
  display: inline-block;
  height: 23px;
  line-height: 22px;
  padding: 0 8px 0 16px;
  position: relative;
  margin: 0 10px 10px 0;
  text-decoration: none;
}

.field--name-field-tags .field__item a::before {
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
  content: '';
  height: 4px;
  left: 6px;
  position: absolute;
  width: 4px;
  top: 9px;
}

.field--name-field-tags .field__item a:hover {
  background-color: #333;
  color: #fff;
}

/* Comments */
.field--type-comment {
  background-color: #f6f6ef;
  padding: 1em 1.5em;
  margin: 0;
}

.field--type-comment h2.title {
  margin-top: .1em;
}

.indented {
  margin-left: 2.5em;
}

.indented .indented .indented .indented {
  margin-left: 0;
}

.comment {
  font-size: .9em;
  margin: 1em 0;
}

.comment:last-child {
  margin-bottom: 0;
}

.comment p {
  line-height: 1.4em;
}

.comment code {
  background-color: transparent;
}

.node__submitted,
.comment__submitted {
  margin-bottom: .5em;
}

.node__submitted,
.comment__submitted,
.comment .links {
  font-size: .85em;
  color: #777;
  margin-top: .5em;
}

.node__submitted a,
.comment__submitted a,
.node__submitted a:visited
.comment__submitted a:visited {
  text-decoration: none;
  color: #444;
}

.comment .links a,
.comment .links a:visited {
  color: #444;
  text-transform: lowercase;
}

/* Comment Form */
body:not(.page-comment-edit) .comment-form .filter-wrapper {
  display: none;
}

/* Responsive Styles -------------------------------------------------------- */
@media screen and (max-width: 800px) {
  .region-node-bottom {
    margin: 2em 0;
  }
}
