Hidden redundant things for Labuladong site by miao-or-mao

Install Get Stylus Write a review

Details

Authormiao-or-mao

LicenseMIT

Created

Updated

Categorylabuladong

Statistics

Learn how we calculate statistics in the FAQ.

Total views12

Total installs0

Weekly installs0

Description

Make reading articles more friendly, bigger screen and better fonts.

Notes

Userstyle doesn't have notes.

History

Daily snapshots of style statistics.

No style history. Come back in a couple of days.

Source code

/* ==UserStyle==
@name         Hidden redundant things for Labuladong site
@version      20220806.02.50
@namespace    userstyles.world/user/miao-or-mao
@description  Make reading articles more friendly, bigger screen and better fonts.
@author       miao-or-mao
@license      MIT
==/UserStyle== */

@-moz-document url-prefix("https://labuladong.github.io"), domain("https://labuladong.github.io") {
body {
    font-family: system-ui, -apple-system, "San Francisco", "Helvetica", "PingFang SC", "Source Han Sans SC", "Microsoft Yahei", "Arial", sans-serif;
}

img[src*="souyisou"] {
    display: none !important;
}

section#body {
    margin-left: 180px;
}

section#body .padding.highlightable {
    padding: 0 1rem;
}

section#body #top-bar {
    display: none;
    height: 0 !important;
    width: 0 !important;
    visibility: hidden !important;
    z-index: -1000 !important;
}


section#body #navigation {
    display: none;
    height: 0 !important;
    width: 0 !important;
    visibility: hidden !important;
    z-index: -1000 !important;
}

nav#sidebar {
    max-width: 150px;
    font-size: 13px;
}

nav#sidebar a {
    font-size: 14px !important;
}

#body-inner {
    overflow: auto !important;
    max-height: 99999999px !important;
}

div#body-inner #read_all_wrapper,
div#body-inner #read_all_wrapper #read_all_mask,
div#body-inner #read_all_wrapper #read_all_btn {
    display: none;
    margin: -999999px !important;
    height: 0 !important;
    width: 0 !important;
    visibility: hidden !important;
    z-index: -1000 !important;
}
}

Reviews

No reviews yet.