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:
@@ -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 () {
|
||||
|
Reference in New Issue
Block a user