Sha256: 29fe90b9c36c833e98f24b4bdf6397932bad175d0029c5e968a180f072728340
Contents?: true
Size: 1.23 KB
Versions: 1
Compression:
Stored size: 1.23 KB
Contents
.sidebar { color: $theme-white; background: $theme-menu-background; a { text-decoration: none; } li { list-style: none; } } .toctree { color: #9b9b9b; a { color: #d9d9d9; padding: 0.5em; &:hover { background: $theme-mask-white; } &:active { background: $theme-menu-active-background; } } .fa { margin-right: 2px; } .caption { color: lighten($theme-blue, 15%); font-weight: $font-weight-bold; line-height: 32px; } } // layout .toc { > ul { @extend .d-none; } @for $level from 1 through 11 { &.level-#{$level}.current { > a { padding-left: 1.5em * ($level - 1 + 0.5); background: var(--toc-#{$level}); } > ul { @extend .d-block; background: var(--toc-#{$level + 1}); } .level-#{$level + 1} > a { padding-left: 1.5em * ($level + 0.5); } } } } .toc { &.current { & > a { .fa-plus-square-o { @extend .fa-minus-square-o; } } a { color: #404040; &.current { font-weight: bold; background: $theme-white; border-top: 1px solid var(--toc-2); border-bottom: 1px solid var(--toc-2); } } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-rtd-theme-2.0.0.pre.beta1 | _sass/class/sidebar-wrap.scss |