From 894a4ea12c18bbdf4ae1c95f89e3fc1cf7a6e4c1 Mon Sep 17 00:00:00 2001 From: Thomas Park Date: Thu, 1 Oct 2015 22:33:20 -0400 Subject: add table of contents to sections, closes #519 --- assets/css/custom.min.css | 2 +- assets/less/custom.less | 10 +++++++++- cerulean/index.html | 16 ++++++++++++++++ cosmo/index.html | 16 ++++++++++++++++ custom/index.html | 16 ++++++++++++++++ cyborg/index.html | 16 ++++++++++++++++ darkly/index.html | 16 ++++++++++++++++ default/index.html | 16 ++++++++++++++++ flatly/index.html | 16 ++++++++++++++++ journal/index.html | 16 ++++++++++++++++ lumen/index.html | 16 ++++++++++++++++ paper/index.html | 16 ++++++++++++++++ readable/index.html | 16 ++++++++++++++++ sandstone/index.html | 16 ++++++++++++++++ simplex/index.html | 16 ++++++++++++++++ slate/index.html | 16 ++++++++++++++++ spacelab/index.html | 16 ++++++++++++++++ superhero/index.html | 16 ++++++++++++++++ united/index.html | 16 ++++++++++++++++ yeti/index.html | 16 ++++++++++++++++ 20 files changed, 298 insertions(+), 2 deletions(-) diff --git a/assets/css/custom.min.css b/assets/css/custom.min.css index 32e755cd..3f009d77 100644 --- a/assets/css/custom.min.css +++ b/assets/css/custom.min.css @@ -1 +1 @@ -body{padding-top:50px}body>.navbar{-webkit-transition:background-color 300ms ease-in;transition:background-color 300ms ease-in}@media (min-width:768px){body>.navbar-transparent{background-color:transparent}body>.navbar-transparent .navbar-nav>.open>a{background-color:transparent!important}}#home{padding-top:0}#home .navbar-brand{padding:13.5px 15px 12.5px}#home .navbar-brand>img{display:inline;margin:0 10px;height:100%}#banner{min-height:300px;border-bottom:none}.page-header h1{font-size:4em}.bs-docs-section{margin-top:8em}.bs-component{position:relative}.bs-component .modal{position:relative;top:auto;right:auto;left:auto;bottom:auto;z-index:1;display:block}.bs-component .modal-dialog{width:90%}.bs-component .popover{position:relative;display:inline-block;width:220px;margin:20px}#source-button{position:absolute;top:0;right:0;z-index:100;font-weight:700}.nav-tabs{margin-bottom:15px}.progress{margin-bottom:10px}footer{margin:5em 0}footer li{float:left;margin-right:1.5em;margin-bottom:1.5em}footer p{clear:left;margin-bottom:0}.splash{padding:9em 0 2em;background-color:#141d27;background-image:url(../img/bg.jpg);background-size:cover;background-attachment:fixed;color:#fff;text-align:center}.splash .logo{width:160px}.splash h1{font-size:3em}.splash #social{margin:2em 0}.splash .alert{margin:2em 0}.section-tout{padding:4em 0 3em;border-bottom:1px solid rgba(0,0,0,.05);background-color:#eaf1f1}.section-tout .fa{margin-right:.5em}.section-tout p{margin-bottom:3em}.section-preview{padding:4em 0 4em}.section-preview .preview{margin-bottom:4em;background-color:#eaf1f1}.section-preview .preview .image{position:relative}.section-preview .preview .image:before{box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);position:absolute;top:0;left:0;width:100%;height:100%;content:"";pointer-events:none}.section-preview .preview .options{padding:1em 2em 2em;border:1px solid rgba(0,0,0,.05);border-top:none;text-align:center}.section-preview .preview .options p{margin-bottom:2em}.section-preview .dropdown-menu{text-align:left}.section-preview .lead{margin-bottom:2em}@media (max-width:767px){.section-preview .image img{width:100%}}.sponsor{text-align:center}.sponsor a:hover{text-decoration:none}@media (max-width:767px){.splash{padding-top:4em}.splash .logo{width:100px}.splash h1{font-size:2em}#banner{margin-bottom:2em;text-align:center}} \ No newline at end of file +body{padding-top:50px}body>.navbar{-webkit-transition:background-color 300ms ease-in;transition:background-color 300ms ease-in}@media (min-width:768px){body>.navbar-transparent{background-color:transparent}body>.navbar-transparent .navbar-nav>.open>a{background-color:transparent!important}}#home{padding-top:0}#home .navbar-brand{padding:13.5px 15px 12.5px}#home .navbar-brand>img{display:inline;margin:0 10px;height:100%}#banner{min-height:300px;border-bottom:none}.table-of-contents{margin-top:1em}.page-header h1{font-size:4em}.bs-docs-section{margin-top:6em}.bs-docs-section h1{padding-top:100px}.bs-component{position:relative}.bs-component .modal{position:relative;top:auto;right:auto;left:auto;bottom:auto;z-index:1;display:block}.bs-component .modal-dialog{width:90%}.bs-component .popover{position:relative;display:inline-block;width:220px;margin:20px}#source-button{position:absolute;top:0;right:0;z-index:100;font-weight:700}.nav-tabs{margin-bottom:15px}.progress{margin-bottom:10px}footer{margin:5em 0}footer li{float:left;margin-right:1.5em;margin-bottom:1.5em}footer p{clear:left;margin-bottom:0}.splash{padding:9em 0 2em;background-color:#141d27;background-image:url(../img/bg.jpg);background-size:cover;background-attachment:fixed;color:#fff;text-align:center}.splash .logo{width:160px}.splash h1{font-size:3em}.splash #social{margin:2em 0}.splash .alert{margin:2em 0}.section-tout{padding:4em 0 3em;border-bottom:1px solid rgba(0,0,0,.05);background-color:#eaf1f1}.section-tout .fa{margin-right:.5em}.section-tout p{margin-bottom:3em}.section-preview{padding:4em 0 4em}.section-preview .preview{margin-bottom:4em;background-color:#eaf1f1}.section-preview .preview .image{position:relative}.section-preview .preview .image:before{box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);position:absolute;top:0;left:0;width:100%;height:100%;content:"";pointer-events:none}.section-preview .preview .options{padding:1em 2em 2em;border:1px solid rgba(0,0,0,.05);border-top:none;text-align:center}.section-preview .preview .options p{margin-bottom:2em}.section-preview .dropdown-menu{text-align:left}.section-preview .lead{margin-bottom:2em}@media (max-width:767px){.section-preview .image img{width:100%}}.sponsor{text-align:center}.sponsor a:hover{text-decoration:none}@media (max-width:767px){.splash{padding-top:4em}.splash .logo{width:100px}.splash h1{font-size:2em}#banner{margin-bottom:2em;text-align:center}} \ No newline at end of file diff --git a/assets/less/custom.less b/assets/less/custom.less index 53735f3e..885f96cc 100644 --- a/assets/less/custom.less +++ b/assets/less/custom.less @@ -36,6 +36,10 @@ body { border-bottom: none; } +.table-of-contents { + margin-top: 1em; +} + .page-header { h1 { @@ -44,7 +48,11 @@ body { } .bs-docs-section { - margin-top: 8em; + margin-top: 6em; + + h1 { + padding-top: 100px; + } } .bs-component { diff --git a/cerulean/index.html b/cerulean/index.html index b8306199..62587d34 100644 --- a/cerulean/index.html +++ b/cerulean/index.html @@ -113,6 +113,22 @@ +
+ +