MCBBS Wiki欢迎您共同参与编辑!在参与编辑之前请先阅读Wiki方针

如果在编辑的过程中遇到了什么问题,可以去讨论板提问。

为了您能够无阻碍地参与编辑 未验证/绑定过邮箱的用户,请尽快绑定/验证

MCBBS Wiki GitHub群组已上线!

您可以在回声洞中发表吐槽!

服务器状态监控。点击进入

本站由MCBBS用户自行搭建,与MCBBS及东银河系漫游指南(北京)科技有限公司没有从属关系。点此了解 MCBBS Wiki 不是什么>>

MediaWiki:Vector.css:修订间差异

跳到导航 跳到搜索
添加779字节 、​ 2021年4月5日 (星期一)
修改代码结构,适配vector的变化
(小改动)
(修改代码结构,适配vector的变化)
}
 
/* 背景 */
body {
background: var(--themeimg) 0 0 no-repeat;
background-position: center;
background-attachment: fixed;
background-size: cover;
border-top: none;
font-family: var(--fontfamily);
}
 
body * {
border-color: var(--linecolor);
}
 
/* 左侧栏 */
#mw-panel {
position: fixed;
padding: 0;
position: relative;
background-image: none;
font-size: 1rem;
line-height: 1.3rem;
}
 
/* 最顶部的信息栏 */
body {
#p-personal {
background: var(--themeimg) 0 0 no-repeat;
width: 100%;
background-position: center;
background-attachmentposition: fixed;
background-sizetop: cover0;
border-topright: none0;
height: 1.5rem;
font-family: var(--fontfamily);
padding: 0.5rem 1rem;
background: url(https://www.mcbbs.net/template/mcbbs/image/top_bg.png);
background-size: contain;
opacity: 0.5;
font-size: 1rem;
transition-duration: 0.3s;
transition-timing-function: ease;
transition-delay: 0.5s;
}
 
#p-personal:hover {
body * {
opacity: 1;
border-color: var(--linecolor);
transition-delay: 0s;
}
 
#p-personal ul {
#content {
topfloat: calc(right;
46px + 3rem);
padding: 1px 69px;
margin-right: 0.5rem;
margin-bottom: calc(92px + 1rem);
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;
border: none;
border-width: 0;
}
 
#p-personal ul li {
#content::after, #content::before {
contentheight: ""1rem;
leftmargin-top: 0;
heightmargin-bottom: 46px0;
font-size: 0.9rem;
width: calc(100% - 92px);
paddingline-height: 0 46px1rem;
display: block;
position: absolute;
}
 
#content::before {
top: -46px;
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 {
bottom: -46px;
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;
}
 
/* 顶部栏 */
#mw-head {
top: calc(
}
 
#mw-head #left-navigation nav,
#mw-head #left-navigation div,
#mw-head #left-navigation ul,
#mw-head #left-navigation span,
#mw-head #left-navigation a,
#mw-head #right-navigation nav,
#mw-head #right-navigation div,
#mw-head #right-navigation ul,
#mw-head #right-navigation span {,
#mw-head #right-navigation a {
background-image: none;
background-color: transparent;
#mw-head #left-navigation ul li,
#mw-head #right-navigation ul li {
height: 2.7rem;
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 20%);
}
font-size: 0.875rem;
padding-top: 1rem;
text-align: center;
}
 
#mw-head #right-navigation ul li.icon a {
padding-top: 2.5rem;
}
 
#mw-head #left-navigation ul.menu li,
#mw-head #right-navigation ul.menu li {
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 12%);
}
 
#mw-head #left-navigation ul.menu li:hover,
#mw-head #right-navigation ul.menu li:hover {
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 6%);
}
 
}
 
/* 主体 */
#p-personal {
#content {
width: 100%;
positiontop: fixed;calc(
46px + top: 03rem);
rightmin-height: 0400px;
heightpadding: 1.5rem1px 69px;
margin-left: 11rem;
padding: 0.5rem 1rem;
margin-right: 0.5rem;
background: url(https://www.mcbbs.net/template/mcbbs/image/top_bg.png);
margin-bottom: calc(92px + 5rem);
background-size: contain;
opacityoverflow: 0.5visible;
font-sizeposition: 1remrelative;
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;
transition-duration: 0.3s;
background-color: var(--bgcolor);
transition-timing-function: ease;
transition-delayborder: 0.5snone;
border-width: 0;
}
 
#content::after, #content::before {
#p-personal:hover {
opacitycontent: 1"";
transition-delayleft: 0s0;
height: 46px;
width: calc(100% - 92px);
padding: 0 46px;
display: block;
position: absolute;
}
 
#content::before {
#p-personal ul {
floattop: right-46px;
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 {
#p-personal ul li {
heightbottom: 1rem-46px;
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;
margin-top: 0;
margin-bottom: 0;
font-size: 0.9rem;
line-height: 1rem;
}
 
/* 页脚 */
@media screen and (max-width: 982px) {
#mw-panelfooter {
leftpadding-bottom: 0;
margin-top: 46px;
}
clear: both;
transition: all 0.3s;
}
 
#footer:hover {
/*鼠标滑过,背景变白*/
background: rgba(255, 255, 255, 0.7);
}
 
/* 滚动公告 */
.topsign {
position: relative;
}
 
/* 适配 */
#footer {
@media screen and (max-width: 982px) {
padding-bottom: 0;
#mw-panel {
transition: all 0.3s;
left: 0;
}
}
 
#content {
#footer:hover {
margin-left: 10rem;
background: rgba(255, 255, 255, 0.7);
margin-right: 0;
/*鼠标滑过,背景变白*/
}
}
 
我们提供服务需要使用Cookie。您使用我们的服务,即表示您同意我们使用Cookie。

导航菜单