Skip to content

自用:segmentfault固定目录 by arden

Details

Authorarden

LicenseNo License

Categorysegmentfault.com

Created

Updated

Size781 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

segmentfault固定目录

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         自用:segmentfault固定目录
@version      20220420.07.35
@namespace    userstyles.world/user/arden
@description  segmentfault固定目录
@author       arden
@license      No License
==/UserStyle== */

@-moz-document domain("segmentfault.com") {
/* 展开目录 */
#collapseTarget{
    max-height: none !important;
}
/* 目录不随页面滚动 */
#root > div.article-content.pt-3.pt-sm-0.container > div.row > div.col-xl-auto.w-xl-300.d-none.d-xl-block.p-0.right-side.col-12 > div:nth-child(3) > div{
    position: fixed !important;
    top: 105px !important;
    transform: none !important;  /*目录跟随 时,也能固定位置*/
    width: 450px !important;
}

/* 删除关注作者卡片 */
#author{
    display: none !important;
}



}

Reviews

No reviews yet.