Sha256: c06a071ac5af8bed4ccfb09a1d7dedc1b89587e71d536b6eaf5d16f316ef8cd6

Contents?: true

Size: 1.11 KB

Versions: 10

Compression:

Stored size: 1.11 KB

Contents

/*
  Style for page Category and Tag
*/

.dash {
  margin: 0 0.5rem 0.6rem 0.5rem;
  border-bottom: 2px dotted var(--dash-color);
}

#page-category,
#page-tag {
  ul > li {
    line-height: 1.5rem;
    padding: 0.6rem 0;

    &::before { /* dot */
      background: #999999;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      display: block;
      content: "";
      position: relative;
      top: 0.6rem;
      margin-right: 0.5rem;
    }

    > a { /* post's title */
      @extend %no-bottom-border;

      font-size: 1.1rem;
    }

    > span:last-child {
      white-space: nowrap;
    } /* post's date */
  }
}

#page-tag h1 > i { /* tag icon */
  font-size: 1.2rem;
}

#page-category h1 > i {
  font-size: 1.25rem;
}

#page-category,
#page-tag,
#access-lastmod {
  a:hover {
    @extend %link-hover;

    margin-bottom: -1px; /* Avoid jumping */
  }
}

@media all and (max-width: 576px) {
  #page-category,
  #page-tag {
    ul > li {
      &::before {
        margin: 0 0.5rem;
      }

      > a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
}

Version data entries

10 entries across 10 versions & 5 rubygems

Version Path
custom-chirpy-5.5.2 _sass/layout/category-tag.scss
jekyll-theme-chirpy-5.5.2 _sass/layout/category-tag.scss
jekyll-theme-chirpy-5.5.1 _sass/layout/category-tag.scss
jekyll-theme-chirpy-5.5.0 _sass/layout/category-tag.scss
jekyll-theme-chirpy-customized-by-alazaroc-5.4.0 _sass/layout/category-tag.scss
dev-jekyll-theme-1.0.0 _sass/layout/category-tag.scss
jekyll-theme-chirpy-5.4.0 _sass/layout/category-tag.scss
jekyll-theme-chirpy-5.3.2 _sass/layout/category-tag.scss
jekyll-theme-chirpy-5.3.1 _sass/layout/category-tag.scss
jekyll-theme-chirpy-clarkezone-5.3.2 _sass/layout/category-tag.scss