Make reading articles more friendly, bigger screen and better fonts.
Hidden redundant things for Labuladong site by miao-or-mao
Details
Authormiao-or-mao
LicenseMIT
Categorylabuladong
Created
Updated
Size1.6 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.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;
}
}