Sha256: ecbf3092e45f4fa7837c5937ce69a8299f745ae75994dbdb901ecba0d4fb882a

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

.post,
.page {
  h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
  }
}

.post-title {
  margin-bottom: 0;
}
.post-title ~ .post-meta {
  margin-bottom: var(--spacer-2);
}

.page-title {
  margin-bottom: var(--spacer-2);
}

.post-meta {
  color: var(--body-color-light);
  font-size: .85em;
}

#markdown-toc {
  padding: var(--spacer) var(--spacer-2);
  margin: var(--spacer-2) 0;
  border: solid var(--border-color);
  border-width: 1px 0;

  &::before {
    display: block;
    margin-left: calc(var(--spacer-2) * -1);
    content: "Table of Contents";
    font-weight: bold;
  }
}

.post-tags-section {
  display: block;
  padding: var(--spacer) 0;
}

.post-tags-icon {
  display: inline-block;
  margin-right: var(--spacer);
}

.post-tags {
  display: inline-block;
  list-style: none;
  padding: 0;
  margin: 0;

  li {
    display: inline-block;
    margin-right: var(--spacer);

    a {
      color: inherit;
      text-decoration: none;

      &:hover,
      &:focus {
        color: var(--body-bg);
        background-color: var(--link-hover-color);
      }
    }
  }
}

.post-tag {
  padding: .1em .5em;
  border: 1px solid var(--border-color);
  border-radius: .8em;
}

.related {
  padding: var(--spacer) 0;
  margin-top: var(--spacer-2);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);

  h2 {
    margin-top: 0;
  }
}

.related-posts {
  padding-left: 0;
  margin: 0;
  list-style: none;

  a {
    text-decoration: none;

    small {
      color: var(--body-color-light);
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-scaffold-0.1.0 _sass/scaffold/_post.scss