diff options
| author | Mark Otto <[email protected]> | 2018-06-21 07:31:38 +0300 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2018-07-11 23:30:46 -0700 |
| commit | 0e920ce3f481a23c00c22c10565463ce58c0aac2 (patch) | |
| tree | b66e8c4bf2244d3b71d7f2e6f2376ae528f6bd93 /docs/4.1/examples/offcanvas/offcanvas.css | |
| parent | 9e126b26a863505b048bc927c6c6f731d42d2ba4 (diff) | |
| download | bootstrap-0e920ce3f481a23c00c22c10565463ce58c0aac2.tar.xz bootstrap-0e920ce3f481a23c00c22c10565463ce58c0aac2.zip | |
Reorganize docs for easier deploys
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
Diffstat (limited to 'docs/4.1/examples/offcanvas/offcanvas.css')
| -rw-r--r-- | docs/4.1/examples/offcanvas/offcanvas.css | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/docs/4.1/examples/offcanvas/offcanvas.css b/docs/4.1/examples/offcanvas/offcanvas.css deleted file mode 100644 index 7edfa0bc9..000000000 --- a/docs/4.1/examples/offcanvas/offcanvas.css +++ /dev/null @@ -1,79 +0,0 @@ -html, -body { - overflow-x: hidden; /* Prevent scroll on narrow devices */ -} - -body { - padding-top: 56px; -} - -@media (max-width: 991.98px) { - .offcanvas-collapse { - position: fixed; - top: 56px; /* Height of navbar */ - bottom: 0; - left: 100%; - width: 100%; - padding-right: 1rem; - padding-left: 1rem; - overflow-y: auto; - visibility: hidden; - background-color: #343a40; - transition-timing-function: ease-in-out; - transition-duration: .3s; - transition-property: left, visibility; - } - .offcanvas-collapse.open { - left: 0; - visibility: visible; - } -} - -.nav-scroller { - position: relative; - z-index: 2; - height: 2.75rem; - overflow-y: hidden; -} - -.nav-scroller .nav { - display: -ms-flexbox; - display: flex; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-bottom: 1rem; - margin-top: -1px; - overflow-x: auto; - color: rgba(255, 255, 255, .75); - text-align: center; - white-space: nowrap; - -webkit-overflow-scrolling: touch; -} - -.nav-underline .nav-link { - padding-top: .75rem; - padding-bottom: .75rem; - font-size: .875rem; - color: #6c757d; -} - -.nav-underline .nav-link:hover { - color: #007bff; -} - -.nav-underline .active { - font-weight: 500; - color: #343a40; -} - -.text-white-50 { color: rgba(255, 255, 255, .5); } - -.bg-purple { background-color: #6f42c1; } - -.border-bottom { border-bottom: 1px solid #e5e5e5; } - -.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); } - -.lh-100 { line-height: 1; } -.lh-125 { line-height: 1.25; } -.lh-150 { line-height: 1.5; } |
