Demo:https://world.kurisucat.com/
/* 背景 */
/*@media (min-width: 992px) {
background: url("https://api.yimian.xyz/img?type=moe&R18=true&?size=720-*x*");
background-repeat:no-repeat;
background-attachment:fixed;
background-position: center;
background-size: cover;
}
*/
/* 滚动条优化 */
/* 滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸 */
::-webkit-scrollbar
{
width: 5px;
height: 5px;
background-color: rgba(0,0,0,0.0);
backdrop-filter: blur(10px);
}
/* 滚动条轨道 */
::-webkit-scrollbar-track
{
/*-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);*/
background-color: rgba(0,0,0,0.3);
backdrop-filter: blur(10px);
}
/* 滑块 */
::-webkit-scrollbar-thumb
{
background-color: rgba(51, 102, 255, 1);
}
/* 取消横幅关闭 */
.Hero-close {
display:none;
}
/* 发帖按钮 */
.IndexPage-newDiscussion {
background: linear-gradient(124deg, #35C0F0, #3366FF);
color: #fff;
}
.IndexPage-newDiscussion when (@config-dark-mode = true) {
background: linear-gradient(124deg, #00276e, #0007db);
color: #fff;
}
/* 搜索高亮 */
mark {
background: #FFE300 !important;
padding: 2px 7px;
border-radius: 7px;
box-shadow: 0px 1px 5px rgba(0,0,0,0.2) !important;
margin: 3px;
/* margin-left: 2.5px; */
/* margin-right: 2.5px; */
color: black !important;
}
mark when (@config-dark-mode = true) {
background: #0072ff !important;
padding: 2px 7px;
border-radius: 7px;
box-shadow: 0px 1px 5px rgba(0,0,0,0.2) !important;
margin: 3px;
/* margin-left: 2.5px; */
/* margin-right: 2.5px; */
color: white !important;
}
/* 玄学优化 */
.DiscussionListItem-title {line-height: 1.9;}
/* 移动端隐藏 */
@media screen and (max-width: 1200px) {
.item-onlineUsers{display:none!important;}
.item-forumStatisticsWidget{display:none!important;}
.item-lastDiscussionViewers{display:none!important;}
}
/* 欢迎 优化 */
.backgrwb {
box-shadow: #000 0px 0px 0px 0px!important;
border-radius: 0px!important;
width: 200px!important;
height: 98%!important;
}
.containerwb {
margin-top: -9px!important;
/* margin-bottom: 20px; */
width: 94%!important;
height: 98%!important;
}
.textinfo {
color: #222222!important;
}
/* 公告条优化 */
.AfruxWidgets-topWidgetSection {
margin: 12px;
}
@media (max-width: 767px){
.AfruxWidgets-topWidgetSection {
margin: 5px;
}}
/* Hero 优化 */
.carousel__slide-title {
font-size: 35px!important;
line-height: 1!important;
}
.carousel__slide-description {
margin: 0.4rem auto 0!important;
line-height: 0.9!important;
}
.carousel__slide-button {
border: 3px solid #fff!important;
border-radius: 8px!important;
padding: 0.5rem 1rem!important;
text-decoration: none;
transition: all .8s cubic-bezier(0, -0.18, 0, 0.92)!important;
backdrop-filter: blur(10px);
}
.carousel {
min-height: 35vh!important;
}
.carousel__control {
border-radius: 38%!important;
width: 7px!important;
height: 7px!important;
margin: 0px 15px 0px 0px!important;
transition: all .8s cubic-bezier(0, -0.18, 0, 0.92)!important;
}
/* 顶栏修改 */
/*header#header {background: #fff!important;
button.Dropdown-toggle.Button.Button--flat {color: #222!important;}
a#home-link {color: #222!important;}
.Search-input input {background: rgba(0,0,0,0.1)!important;}
.Button:active, .Button.active, .open>.Dropdown-toggle.Button {background-color: rgba(0,0,0,0.2)!important;}
.Button:hover, .Button:focus, .Button.focus {background-color: rgba(0,0,0,0.2)!important;}
}*/
@media (min-width: 768px){.scrolled .App-header {box-shadow: 0 0px 0px rgb(0,0,0,0.0);}}
/* 手机端搜索框优化 */
@media (max-width: 767px){ .item-search {
margin-top: 0px!important;
margin-bottom: 0px!important;
}}
/* 修改手机端点击反馈 */
.DiscussionListItem a {
-webkit-tap-highlight-color: rgba(0,0,0,0.0);
}
/* 移除政治元素 */
i[data-name=":flag_tw:"] {visibility:hidden!important;}
i[data-name=":flag_hk:"] {visibility:hidden!important;}
/* 编辑器高度100 */
@media (max-width: 767px){
.Composer:not(.minimized) {
height: auto !important;
}}
/* 黑暗模式隐藏一些东西 */
.item-welcomeBox when (@config-dark-mode = true){
display:none!important;
}
/* 黑暗模式优化 */
.DiscussionHero--colored when (@config-dark-mode = true){
color: #fff!important;
}
/* 滚动条优化 */
/* 尝试修复一些滚动条的问题 */
html {
overflow-y: overlay!important;
}
body {
width: 100vw;
overflow: auto;
}