1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-30 07:19:13 +02:00

restore font-weight and knock down font-size for .lead

This commit is contained in:
Mark Otto
2014-07-08 00:10:31 -07:00
parent d85895fda8
commit 97008c381a
9 changed files with 31 additions and 28 deletions

View File

@@ -21,7 +21,7 @@
var $body = $(document.body)
$body.scrollspy({
target: '.bs-docs-sidebar'
target: '.active .bs-docs-sidenav'
})
$window.on('load', function () {
$body.scrollspy('refresh')
@@ -33,28 +33,28 @@
})
// Sidenav affixing
setTimeout(function () {
var $sideBar = $('.bs-docs-sidebar')
// setTimeout(function () {
// var $sideBar = $('.bs-docs-sidebar')
$sideBar.affix({
offset: {
top: function () {
var offsetTop = $sideBar.offset().top
var sideBarMargin = parseInt($sideBar.children(0).css('margin-top'), 10)
var navOuterHeight = $('.bs-docs-nav').height()
// $sideBar.affix({
// offset: {
// top: function () {
// var offsetTop = $sideBar.offset().top
// var sideBarMargin = parseInt($sideBar.children(0).css('margin-top'), 10)
// var navOuterHeight = $('.bs-docs-nav').height()
return (this.top = offsetTop - navOuterHeight - sideBarMargin)
},
bottom: function () {
return (this.bottom = $('.bs-docs-footer').outerHeight(true))
}
}
})
}, 100)
// return (this.top = offsetTop - navOuterHeight - sideBarMargin)
// },
// bottom: function () {
// return (this.bottom = $('.bs-docs-footer').outerHeight(true))
// }
// }
// })
// }, 100)
setTimeout(function () {
$('.bs-top').affix()
}, 100)
// setTimeout(function () {
// $('.bs-top').affix()
// }, 100)
// theme toggler
;(function () {