diff options
| author | Mark Otto <[email protected]> | 2017-05-27 17:37:03 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-05-27 17:37:03 -0700 |
| commit | 33b322e9b529ca9c72df649ac890b2bfe4758a0d (patch) | |
| tree | cafe43354297a77f4ffa48eec7dcb16c8a65aad8 /docs | |
| parent | ded32a682a0388313898469d49382d2b381fceea (diff) | |
| download | bootstrap-33b322e9b529ca9c72df649ac890b2bfe4758a0d.tar.xz bootstrap-33b322e9b529ca9c72df649ac890b2bfe4758a0d.zip | |
position the markdown toc on the right for larger screens
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/scss/_content.scss | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/assets/scss/_content.scss b/docs/assets/scss/_content.scss index 335bfba07..5af79c689 100644 --- a/docs/assets/scss/_content.scss +++ b/docs/assets/scss/_content.scss @@ -5,6 +5,25 @@ // .bd-content { + @include media-breakpoint-up(xl) { + padding-right: 20%; + + #contents { + display: none; + } + #markdown-toc { + position: fixed; + top: 5rem; + right: 0; + width: 20%; + max-height: calc(100vh - 8rem); + padding-right: 1.5rem; + padding-left: 3rem; + overflow-y: auto; + font-size: .85rem; + } + } + > table { width: 100%; max-width: 100%; |
