Sha256: 4acb05b8afc6cc570afa83ba9f69f8cf73c41968601fe72def38eaf93260d2ce

Contents?: true

Size: 1.6 KB

Versions: 1

Compression:

Stored size: 1.6 KB

Contents

.markdown-body {
  .d-lang {
    position: relative;

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

  // 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,
  dt {
    font-family: $head-font;
  }

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

  // ruby highlight fixed, TODO: line number display
  figure {
    margin: 0;
  }

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

  // improved
  code,
  tt {
    font-size: $font-size-small;
    border: $border;
    color: $theme-code-inline;
    background-color: $theme-code-inline-background;
  }

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

  .highlight pre,
  pre {
    font-size: $font-size-small;
    border: $border;
    background-color: $theme-code-background;
  }

  div.highlighter-rouge {
    @extend .d-lang;
  }

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

  // improved checkbox
  .task-list-item-checkbox {
    margin-right: 3px;
  }

  // improved mermaid
  // .mermaid:not([data-processed="true"])
  .mermaid {
    font-size: $font-size-small;
    font-family: $mono-font;
    white-space: pre;
    @extend .d-lang;
    // mdl
    @include shadow-2dp();
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

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