修改漫画阅读界面
www.dm5.com - 2023/3/18 14:15:08 by lanesun
Details
Authorlanesun
LicenseNo License
Categorywww.dm5.com
Created
Updated
Size2.4 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 www.dm5.com - 2023/3/18 14:15:08
@namespace github.com/openstyles/stylus
@version 1.0.0
@description 修改漫画阅读界面
@author Lane Sun
==/UserStyle== */
@-moz-document regexp("https\\:\\/\\/www\\.dm5\\.com\\/m\\d+.*") {
.view-main {
margin: 0 !important;
border-bottom: #2f2f2f solid 2px;
background: #000000;
}
.footer {
display: none;
}
#cp_image {
height: 100vh;
max-width: 100vw;
object-fit: contain;
}
.view-header-2 {
height: initial;
line-height: initial;
position: fixed !important;
left: 8px;
top: 8px;
width: initial;
background: #2a2a2a;
padding: 4px 8px;
border-radius: 4px;
border: #444444 solid 1px;
box-shadow: #00000044 0 2px 8px;
margin: 0 !important;
display: flex !important;
}
.view-header-2 .back {
display: none;
}
.right-bar {
display: none;
}
.new-tip.normal {
display: none;
}
.view-paging {
transition: opacity 200ms;
margin: 0 !important;
height: initial;
line-height: initial;
cursor: default;
position: fixed;
left: 50%;
bottom: 8px;
transform: translateX(-50%);
background: #2a2a2a;
padding: 4px;
border-radius: 4px;
border: #444444 solid 1px;
font-size: 0.9rem;
box-shadow: #00000044 0 2px 8px;
color: #ffffff66;
opacity: 0.1;
z-index: 1000;
}
.view-paging:hover {
opacity: 1;
}
.view-paging .container {
display: flex !important;
width: max-content;
}
.chapterpager {
display: flex !important;
}
.view-paging a, .view-paging span {
transition: all 200ms;
background: none;
border: #0066dd00 solid 1px;
margin: 1px;
padding: 0 7px;
font-size: 0.9rem !important;
border-radius: 3px;
color: #ffffff66;
cursor: default;
}
.view-paging a.current, .view-paging span.current {
transition: none;
background: #0066dd88;
color: #ffffff;
}
.view-paging a:hover {
transition: none;
background: none;
border-color: #0066dd;
color: #0088ff;
}
}