Sha256: 18cd55800d1a311b758521e236838e0cb0c331f52730efa1a0ef6f0f5e7c9404

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

.markdown-body {
  // 400
  font-weight: $font-weight-normal;

  a {
    color: $theme-link;

    &:hover {
      color: $theme-link-hover;
    }

    code,
    tt {
      color: $theme-link;
    }
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: $head-font;
  }

  table {
    // 14px
    font-size: $body-font-size;
  }

  // ruby highlight fixed
  figure {
    margin: 0;
  }

  // improved
  code,
  tt {
    font-size: $font-size-small;
    border: $border;
    color: $theme-red;
    background-color: darken($theme-white, 2%);
  }

  pre {
    > code {
      color: $theme-black;
    }
  }

  .anchor {
    // overwrite
    float: none;
    padding-right: 0;
    margin-left: 3px;
  }

  .highlight pre,
  pre {
    font-size: $font-size-small;
    border: $border;
    // from rouge highlight
    background-color: #f8f8f8;
  }

  div.highlighter-rouge {
    position: relative;

    &:after {
      position: absolute;
      right: 0;
      top: 0;
      font-family: $mono-font;
      font-size: $font-size-small;
      content: attr(data-lang);
      padding: 2px 5px 0px;
      color: lighten($text-gray-light, 25%);
    }
  }

  // search
  .search-results {
    li {
      list-style: none;
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-rtd-theme-2.0.5 _sass/class/markdown-body.scss