feat(custom-css): new custom css

This commit is contained in:
Dillon
2020-02-02 14:43:29 +08:00
parent 8cdacbd4e2
commit 517b734347
28 changed files with 129 additions and 61 deletions

View File

@@ -123,7 +123,7 @@ jQuery(function($) {
_Blog._initToc = function() {
const $toc = $('#post-toc');
if ($toc.length && $toc.css('display') !== 'none') {
const SPACING = 100;
const SPACING = 80;
const $footer = $('#post-footer');
const minTop = $toc.position().top;;
const mainTop = $('main').position().top;