text-align: center;
}
/* 左侧导航信息 */
/*
.portal {
background: rgba(255,255,255,0.5);
}
.portal li:hover {
background: rgba(255,255,255,0.7);
}
*/
.portal{
transition: all .3s;
}
.portal:hover {
background: rgba(255,255,255,0.7);
}
/*
#mw-panel:hover {
background: rgba(255,255,255,0.5);
}
*/
/* 新版首页DIV */
.navbox .TabLabel {
text-align: left;
}
body {
background:var(--themeimg) 0 0 no-repeat;
background-position:center;
background-attachment:fixed;
background-size:cover;
border-top:none;
font-family:var(--fontfamily)
}
#mw-page-base {
background:none!important
}
#content:before {
content:'';
left:0;
height:var(--bgtop);
width:calc(100% - 90px);
padding:0 45px;
margin-top:-45px;
display:block;
position:absolute;
background:url(https://s2.ax1x.com/2019/11/28/QFB2X4.png)left top no-repeat,url(https://mcbbs-wiki.cn/images/c/cf/body_top-right.png)right top no-repeat,url(https://s2.ax1x.com/2019/11/28/QFBc1U.png)top repeat-x content-box
}
#content:after {
content:'';
left:0;
height:var(--bgtop);
width:calc(100% - 90px);
padding:0 45px;
bottom:0px;
margin-bottom:-45px;
display:block;
position:absolute;
background:url(https://s2.ax1x.com/2019/11/28/QFcINd.png)left bottom no-repeat,url(https://mcbbs-wiki.cn/images/e/e9/body_bottom-right.png)right bottom no-repeat,url(https://s2.ax1x.com/2019/11/28/QFco4A.png)bottom repeat-x content-box
}
#content {
padding:0 calc(var(--bgtop) * 1.5);
margin-right:var(--bgleft);
overflow:visible;
position:relative;
background:url(https://www.mcbbs.net/template/mcbbs/image/bg_border_left.png) left top repeat-y,url(https://mcbbs-wiki.cn/images/1/13/bg_border_right.png) right top repeat-y;
background-color:var(--bgcolor);
min-height: 500px;
}
#left-navigation {
margin-top:calc(32px + var(--bgtop));
margin-left:calc(176px + var(--bgtop) * 1.5)
}
#right-navigation {
margin-top:calc(32px + var(--bgtop));
margin-right:calc(var(--bgtop) + var(--bgleft))
}
#left-navigation li,#right-navigation #p-views li {
background-image:linear-gradient(0deg,var(--linecolor) 0%,var(--bgcolor) 30%)
}
#left-navigation li.selected,#right-navigation #p-views li.selected {
background-image:linear-gradient(0deg,var(--linecolor) 0%,var(--bgcolor) 30%,white 100%)
}
#left-navigation li:first-child,#right-navigation li:first-child {
border-left:1px solid var(--linecolor)
}
#left-navigation li:last-child,#right-navigation li:last-child {
border-right:1px solid var(--linecolor)
}
#p-cactions .menu li {
border:1px solid var(--linecolor);
background-color:var(--lightcolor);/*右侧收起来的几个选项*/
}
#left-navigation div,#left-navigation ul,#left-navigation span,#right-navigation div,#right-navigation ul,#right-navigation span,#p-cactions-label{
background:none!important
}
#firstHeading {
margin-top:var(--bgtop)
}
#p-personal {
width:100%;
position:fixed;
top:0;
right:0;
padding:6px 16px;
background:url(https://www.mcbbs.net/template/mcbbs/image/top_bg.png);
background-size:contain;
opacity: 0.6;/*因为是fixed的顶部栏,所以在章节跳转的时候会挡住第一行字*/
transition: opacity 0.5s ease;
}
#p-personal:hover {
opacity: 1;
}
#p-personal ul {
float:right;
}
#catlinks,pre,table.wikitable,li.gallerybox div.thumb,.toc,.mw-warning,.toccolours,table.navbox,#simpleSearch {
background-color:var(--lightcolor)
}
fieldset,ul,li,a,span,em,pre,h1,h2,h3,h4,h5,h6 {
border-color:var(--linecolor)!important
}
.diff-deletedline {
border-color:#ffe49c!important
}
.diff-addedline {
border-color:#a3d3ff!important
}
#catlinks {
margin-bottom:2px
}
::selection {
background:lightblue;
color:black
}
::-moz-selection {
background:lightblue;
color:black
}
input,select {
background-color:var(--lightcolor);
border:1px solid var(--linecolor)
}
h1,h2,h3,h4,h5,h6 {
font-family:var(--fontfamily)!important
}
/* 页脚 */
#footer {
padding-bottom:0;
margin-top:35px;
transition: all .3s;
}
#footer:hover {
background: rgba(255,255,255,0.7);/*鼠标滑过,背景变白*/
}
|