Widget:TalkToc:修订间差异

跳到导航 跳到搜索
删除857字节 、​ 2021年8月14日 (星期六)
无编辑摘要
imported>=海豚=
无编辑摘要
imported>=海豚=
无编辑摘要
第261行: 第261行:
            }).join(', ')).attr("href", "#tocBox");
            }).join(', ')).attr("href", "#tocBox");
          }
          }
         $('.cbutton').parent().append(' <' + 'a class="disableWidgetTalkToc"><' + '/a>');
         $('.disableWidgetTalkToc').on('click', function() {
           localStorage.setItem('widgetTalkToc', 'disable');
           $(this).text('禁用成功!刷新页面中……');
           setTimeout(location.reload.bind(location), 150);
         });
          $tocBox.css({
          $tocBox.css({
            position: 'relative',
            position: 'relative',
第370行: 第364行:
.widgetTalkTocEnable #toc div.tocText {
.widgetTalkTocEnable #toc div.tocText {
    display: inline-block;
    display: inline-block;
}
.widgetTalkTocEnable
/* 节操酱的beg */
.widgetTalkTocEnable #content ol,
.widgetTalkTocEnable #content ul {
   margin: 0 !important;
   padding: 0.3em 0 0 1.6em !important;
}
.widgetTalkTocEnable #toc .toclevel-1>ul {
   padding-left: 0 !important;
}
.widgetTalkTocEnable
/* 由于节操酱的beg导致分类那边有秘制空白 */
.widgetTalkTocEnable #content #catlinks ol,
.widgetTalkTocEnable #content #catlinks ul {
   padding: 0 !important;
}
}
#toc:not(.toc-custom),
#toc:not(.toc-custom),
匿名用户

导航菜单