Stylus 样式
1、半透明、圆角、极光背景
CSSbody
{
flex: 1;
background: url(https://z3.ax1x.com/2021/07/08/ROw9Fe.jpg)no-repeat center center!important;
/*可以自定义图片地址。可以使用洛谷图床。*/
background-size: cover!important;
background-attachment: fixed!important;
}
.lg-article,
.lg-summary,
.card,
pre,
#app > div.main-container > main > div > section.side > div > a > img,
.am-panel
{
background-color: rgba(255, 255, 255, .6)!important;
border-radius: 10px!important;
}
.popup,
.button[data-v-66021821]
{
background-color: rgba(255, 255, 255, .6)!important;
}
.lfe-body,
.header-layout.tiny[data-v-109e0409],
.background,
#app > nav > div:nth-child(1),
code,
.float,
.float-bottom
{
background: rgba(255, 255, 255, 0)!important;
}
h1,
h2,
h3,
h4,
h5,
h6,
.card-header
{
border-bottom: #eeeeee80!important;
}
.am-comment-hd,
.user-header-top
{
border-top-left-radius: 10px;
border-top-right-radius: 10px;
background-color: #F8F8F899!important;
}
.am-comment-bd
{
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
background-color: rgba(255, 255, 255, .6)!important;
}
.header-link
{
color: rgb(211, 211, 211)!important;
}
.am-comment-main
{
border-radius: 10px;
}
#app > div.main-container > div.wrapper.wrapped.lfe-body.header-layout.tiny > div.container > nav
{
position: absolute!important;
}
.user-nav
{
position: absolute;
right: 4em;
top: 0;
padding: .5em 1em;
color: #333;
background-color: rgba(255, 255, 255, .6);
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
/*滚动条里面轨道*/
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 0%);
border-radius: 8px;
}
/*滚动条里面小方块*/
::-webkit-scrollbar-thumb {
border-radius: 8px;
background: #bbb;
-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 25%);
}