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

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

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

MCBBS Wiki GitHub群组已上线!

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

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

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

MediaWiki:Vector.css:修订间差异

来自MCBBS Wiki
跳到导航 跳到搜索
无编辑摘要
无编辑摘要
第178行: 第178行:


/* 旧版书页样式 */
/* 旧版书页样式 */
body.skin-vector.skin-vector-legacy {
body.skin-vector.skin-vector-legacy #mw-panel {
/* MediaWiki 默认样式修正 */ }
/* 左侧栏 */
position: fixed;
body.skin-vector.skin-vector-legacy #mw-panel {
width: 8rem;
/* 左侧栏 */
position: fixed;
left: 0.5rem;
width: 8rem;
top: 3rem;
left: 0.5rem;
padding: 0 1rem 0.5rem 1rem;
background-color: #fff9;
top: 3rem;
padding: 0 1rem 0.5rem 1rem;
border: 1px solid #ccc;
border-radius: 4px; }
background-color: #fff9;
body.skin-vector.skin-vector-legacy #mw-panel #p-logo {
border: 1px solid #ccc;
border-radius: 4px; }
width: 10rem;
height: 10rem;
body.skin-vector.skin-vector-legacy #mw-panel #p-logo {
width: 10rem;
margin-top: -14px;
height: 10rem;
margin-left: -1rem; }
body.skin-vector.skin-vector-legacy #mw-panel #p-logo a {
margin-top: -14px;
margin-left: -1rem; }
background-size: contain; }
body.skin-vector.skin-vector-legacy #mw-panel #p-logo a {
body.skin-vector.skin-vector-legacy #mw-panel #p-logo + .portal {
background-size: contain; }
margin-top: 0; }
body.skin-vector.skin-vector-legacy #mw-panel #p-logo + .portal {
body.skin-vector.skin-vector-legacy #mw-panel #p-logo + .portal .vector-menu-content {
margin-top: 0; }
margin-left: 0; }

body.skin-vector.skin-vector-legacy #mw-panel #p-logo + .portal .vector-menu-content {
body.skin-vector.skin-vector-legacy .mw-prefs-buttons {
margin-left: 0; }
background-color: #fbf2db; }
body.skin-vector.skin-vector-legacy .mw-prefs-buttons {

background-color: #fbf2db; }
body.skin-vector.skin-vector-legacy .oo-ui-tabSelectWidget-framed {
body.skin-vector.skin-vector-legacy .oo-ui-tabSelectWidget-framed {
background-color: #e3c99e; }
background-color: #e3c99e; }

body.skin-vector.skin-vector-legacy #p-personal {
body.skin-vector.skin-vector-legacy #p-personal {
/* 最顶部的信息栏 */
/* 最顶部的信息栏 */
width: 100%;
position: fixed;
width: 100%;
top: 0;
position: fixed;
right: 0;
top: 0;
height: 2.5rem;
right: 0;
padding: 0.5rem 1rem;
height: 2.5rem;
padding: 0.5rem 1rem;
background-image: var(--theme-topbar-img);
background-size: contain;
background-image: var(--theme-topbar-img);
background-size: contain;
box-sizing: border-box;
opacity: 0.5;
box-sizing: border-box;
font-size: 1rem;
opacity: 0.5;
font-size: 1rem;
transition: opacity 0.3s ease 0.5s; }
transition: opacity 0.3s ease 0.5s; }
body.skin-vector.skin-vector-legacy #p-personal:hover {
body.skin-vector.skin-vector-legacy #p-personal:hover {
opacity: 1;
transition-delay: 0s; }
opacity: 1;
transition-delay: 0s; }
body.skin-vector.skin-vector-legacy #p-personal ul {
body.skin-vector.skin-vector-legacy #p-personal ul {
float: right; }
float: right; }
body.skin-vector.skin-vector-legacy #p-personal ul li {
body.skin-vector.skin-vector-legacy #p-personal ul li {
height: 1rem;
margin-top: 0;
height: 1rem;
margin-bottom: 0;
margin-top: 0;
font-size: 0.9rem;
margin-bottom: 0;
line-height: 1rem; }
font-size: 0.9rem;
line-height: 1rem; }
body.skin-vector.skin-vector-legacy #p-personal #pt-notifications-alert,
body.skin-vector.skin-vector-legacy #p-personal #pt-notifications-notice {
body.skin-vector.skin-vector-legacy #p-personal #pt-notifications-alert,
body.skin-vector.skin-vector-legacy #p-personal #pt-notifications-notice {
margin-right: 0; }
margin-right: 0; }
body.skin-vector.skin-vector-legacy .ve-ui-toolbar-floating > .oo-ui-toolbar-bar {

/* 顶部的信息栏遮挡可视化编辑器 */
body.skin-vector.skin-vector-legacy .ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
top: 2.5rem; }
/* 顶部的信息栏遮挡可视化编辑器 */
body.skin-vector.skin-vector-legacy #mw-head {
top: 2.5rem; }
/* 顶部栏 */

top: calc( 46px + 3rem);
body.skin-vector.skin-vector-legacy #mw-head {
padding: 0 57px 0 69px;
/* 顶部栏 */
width: calc(100% - 126px); }
top: calc( 46px + 3rem);
body.skin-vector.skin-vector-legacy #mw-head #left-navigation,
padding: 0 57px 0 69px;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation {
margin-top: 0rem; }
width: calc(100% - 126px); }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation nav,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation div,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation {
margin-top: 0rem; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation span,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation nav,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation a,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation div,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation nav,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation div,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation span,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation a,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation span,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation nav,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation a {
body.skin-vector.skin-vector-legacy #mw-head #right-navigation div,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul,
background-image: none;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation span,
background-color: transparent; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation li,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation a {
background-image: none;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation li {
border-left: none;
background-color: transparent; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation li,
border-right: none; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation li:first-child,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation li {
border-left: none;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation li:first-child {
border-left: 1px solid var(--linecolor); }
border-right: none; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation li:last-child,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation li:first-child,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation li:last-child {
body.skin-vector.skin-vector-legacy #mw-head #right-navigation li:first-child {
border-right: 1px solid var(--linecolor); }
border-left: 1px solid var(--linecolor); }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation li:last-child,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li {
body.skin-vector.skin-vector-legacy #mw-head #right-navigation li:last-child {
height: 2.7rem;
border-right: 1px solid var(--linecolor); }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li,
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 20%); }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li:hover,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li {
height: 2.7rem;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li:hover {
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 12%); }
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 20%); }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li a,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li:hover,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li a {
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li:hover {
font-size: 0.875rem;
padding-top: 1rem;
text-align: center; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li.icon a,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li.icon a {
padding-top: 2.5rem; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul.menu li,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul.menu li {
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 12%); }
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 12%); }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul.menu li:hover,
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li a,
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul.menu li:hover {
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li a {
font-size: 0.875rem;
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 6%); }
padding-top: 1rem;
body.skin-vector.skin-vector-legacy #mw-head #p-cactions .menu li {
border: 1px solid var(--linecolor);
text-align: center; }
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li.icon a,
background-color: var(--lightcolor); }
body.skin-vector.skin-vector-legacy #content {
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li.icon a {
padding-top: 2.5rem; }
/* 主体 */
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul.menu li,
top: calc( 46px + 3rem);
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul.menu li {
min-height: 400px;
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 12%); }
padding: 1px 69px;
body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul.menu li:hover,
margin-left: 11rem;
body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul.menu li:hover {
margin-right: 0.5rem;
background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 6%); }
margin-bottom: calc(92px + 5rem);
body.skin-vector.skin-vector-legacy #mw-head #p-cactions .menu li {
overflow: visible;
border: 1px solid var(--linecolor);
position: relative;
background: var(--book-border-left) left top repeat-y, var(--book-border-right) right top repeat-y;
background-color: var(--lightcolor); }

background-color: var(--bgcolor);
body.skin-vector.skin-vector-legacy #content {
border: none;
/* 主体 */
border-width: 0; }
top: calc( 46px + 3rem);
body.skin-vector.skin-vector-legacy #content::after, body.skin-vector.skin-vector-legacy #content::before {
content: '';
min-height: 400px;
left: 0;
padding: 1px 69px;
height: 46px;
margin-left: 11rem;
margin-right: 0.5rem;
width: calc(100% - 92px);
margin-bottom: calc(92px + 5rem);
padding: 0 46px;
display: block;
overflow: visible;
position: absolute; }
position: relative;
background: var(--book-border-left) left top repeat-y, var(--book-border-right) right top repeat-y;
body.skin-vector.skin-vector-legacy #content::before {
background-color: var(--bgcolor);
top: -46px;
border: none;
background: var(--book-border-left-top) left top no-repeat, var(--book-border-right-top) right top no-repeat, var(--book-border-top) top repeat-x content-box; }
border-width: 0; }
body.skin-vector.skin-vector-legacy #content::after {
body.skin-vector.skin-vector-legacy #content::after, body.skin-vector.skin-vector-legacy #content::before {
bottom: -46px;
content: '';
background: var(--book-border-left-bottom) left bottom no-repeat, var(--book-border-right-bottom) right bottom no-repeat, var(--book-border-bottom) bottom repeat-x content-box; }
left: 0;
body.skin-vector.skin-vector-legacy #footer {
/* 页脚 */
height: 46px;
width: calc(100% - 92px);
padding-bottom: 0;
margin-top: 46px;
padding: 0 46px;
clear: both;
display: block;
transition: all 0.3s; }
position: absolute; }
body.skin-vector.skin-vector-legacy #footer:hover {
body.skin-vector.skin-vector-legacy #content::before {
top: -46px;
/*鼠标滑过,背景变白*/
background: var(--book-border-left-top) left top no-repeat, var(--book-border-right-top) right top no-repeat, var(--book-border-top) top repeat-x content-box; }
background: rgba(255, 255, 255, 0.7); }
body.skin-vector.skin-vector-legacy #content::after {
@media screen and (max-width: 982px) {
bottom: -46px;
body.skin-vector.skin-vector-legacy {
background: var(--book-border-left-bottom) left bottom no-repeat, var(--book-border-right-bottom) right bottom no-repeat, var(--book-border-bottom) bottom repeat-x content-box; }
/* 适配 */ }

body.skin-vector.skin-vector-legacy #mw-panel {
body.skin-vector.skin-vector-legacy #footer {
left: 0; }
/* 页脚 */
body.skin-vector.skin-vector-legacy #content {
margin-left: 10rem;
padding-bottom: 0;
margin-right: 0; } }
margin-top: 46px;
clear: both;
body.skin-vector.skin-vector-legacy #mw-page-base,
transition: all 0.3s; }
body.skin-vector.skin-vector-legacy #mw-head-base {
body.skin-vector.skin-vector-legacy #footer:hover {
background-color: transparent;
/*鼠标滑过,背景变白*/
opacity: 0;
background: rgba(255, 255, 255, 0.7); }
display: none;

height: 0; }
@media screen and (max-width: 982px) {
body.skin-vector.skin-vector-legacy fieldset,
body.skin-vector.skin-vector-legacy ul,
body.skin-vector.skin-vector-legacy {
/* 适配 */ }
body.skin-vector.skin-vector-legacy li,
body.skin-vector.skin-vector-legacy a,
body.skin-vector.skin-vector-legacy #mw-panel {
left: 0; }
body.skin-vector.skin-vector-legacy span,
body.skin-vector.skin-vector-legacy em,
body.skin-vector.skin-vector-legacy #content {
margin-left: 10rem;
body.skin-vector.skin-vector-legacy pre,
margin-right: 0; } }
body.skin-vector.skin-vector-legacy h1,

body.skin-vector.skin-vector-legacy h2,
body.skin-vector.skin-vector-legacy h3,
body.skin-vector.skin-vector-legacy #mw-page-base,
body.skin-vector.skin-vector-legacy h4,
body.skin-vector.skin-vector-legacy #mw-head-base {
background-color: transparent;
body.skin-vector.skin-vector-legacy h5,
opacity: 0;
body.skin-vector.skin-vector-legacy h6 {
display: none;
border-color: var(--linecolor) !important; }
height: 0; }

body.skin-vector.skin-vector-legacy fieldset,
body.skin-vector.skin-vector-legacy ul,
body.skin-vector.skin-vector-legacy li,
body.skin-vector.skin-vector-legacy a,
body.skin-vector.skin-vector-legacy span,
body.skin-vector.skin-vector-legacy em,
body.skin-vector.skin-vector-legacy pre,
body.skin-vector.skin-vector-legacy h1,
body.skin-vector.skin-vector-legacy h2,
body.skin-vector.skin-vector-legacy h3,
body.skin-vector.skin-vector-legacy h4,
body.skin-vector.skin-vector-legacy h5,
body.skin-vector.skin-vector-legacy h6 {
border-color: var(--linecolor) !important; }


:root {
:root {
第482行: 第490行:
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li {
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li {
background-image: none; }
background-image: none; }
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li a {
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li:not(.new) a {
color: #4caf50; }
color: #4caf50; }
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li.selected a {
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li.selected a {

2022年11月11日 (五) 17:48的版本

@charset "UTF-8";
/* 初版源代码:用户:Salt_lovely/Vector.scss  */
/* 今版源代码:https://github.com/mcbbs-wiki/mcbbs-wiki-widget-repo  */
:root {
  --theme-color: #a8cdff;
  --theme-bg-img: url(//mcbbs.wiki/salt/summer/body_bg.jpg);
  --theme-topbar-img: url(//mcbbs.wiki/salt/summer/top_bg.png);
  /*左上图片*/
  --book-border-left-top: url(//mcbbs.wiki/salt/book/left-top.png);
  /*上方图片*/
  --book-border-top: url(//mcbbs.wiki/salt/book/top.png);
  /*右上图片*/
  --book-border-right-top: url(//mcbbs.wiki/salt/book/right-top.png);
  /*左侧图片*/
  --book-border-left: url(//mcbbs.wiki/salt/book/left.png);
  /*右侧图片*/
  --book-border-right: url(//mcbbs.wiki/salt/book/right.png);
  /*左下图片*/
  --book-border-left-bottom: url(//mcbbs.wiki/salt/book/left-bottom.png);
  /*下方图片*/
  --book-border-bottom: url(//mcbbs.wiki/salt/book/bottom.png);
  /*右下图片*/
  --book-border-right-bottom: url(//mcbbs.wiki/salt/book/right-bottom.png);
  --bgtop: 46px;
  --bgleft: 20px;
  --lightcolor: #fdf6e6;
  --bgcolor: #fbf2dc;
  --bgcolor1: #e9d3ad;
  --bgcolor2: #e7d3b1;
  --bgcolor3: #e9cb97;
  --linecolor: #cfb78e;
  --fontfamily: sans-serif, 'Microsoft Yahei', apple color emoji, segoe ui emoji,
    segoe ui symbol;
  --fontfamily2: 'Linux Libertine', 'Georgia', 'Times', serif, sans-serif,
    Tahoma;
  --articlefont: Lora, 'Palatino Linotype', 'Book Antiqua', 'New York',
    'DejaVu serif', 'Source Han Serif', 'Source Han Serif SC';
  --delete-linecolor: #ffe49c;
  --add-linecolor: #a3d3ff;
  --selection-color: lightblue;
  --selection-font-color: #000; }

/* 背景 */
body {
  background: var(--theme-bg-img) 0 0 no-repeat var(--theme-color);
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  border-top: none;
  font-family: var(--fontfamily); }
  body * {
    border-color: var(--linecolor); }

/* 左侧栏 */
#mw-panel .portal {
  /*面板折叠相关样式功能*/
  padding: 0.75rem 0 0 0;
  margin: 0; }
  #mw-panel .portal:hover {
    background-color: transparent; }
  #mw-panel .portal > h1,
  #mw-panel .portal > h2,
  #mw-panel .portal > h3,
  #mw-panel .portal > h4,
  #mw-panel .portal > h5,
  #mw-panel .portal > h6 {
    margin: 0;
    padding: 0;
    position: relative;
    background-image: none;
    font-size: 1rem;
    line-height: 1.3rem;
    cursor: pointer; }
    #mw-panel .portal > h1::after,
    #mw-panel .portal > h2::after,
    #mw-panel .portal > h3::after,
    #mw-panel .portal > h4::after,
    #mw-panel .portal > h5::after,
    #mw-panel .portal > h6::after {
      position: absolute;
      bottom: 0;
      right: 0;
      opacity: 0;
      font-size: 0.75rem;
      line-height: 1.3rem;
      transition: 0.3s ease; }
    #mw-panel .portal > h1:hover::after,
    #mw-panel .portal > h2:hover::after,
    #mw-panel .portal > h3:hover::after,
    #mw-panel .portal > h4:hover::after,
    #mw-panel .portal > h5:hover::after,
    #mw-panel .portal > h6:hover::after {
      opacity: 0.9; }
  #mw-panel .portal .vector-menu-content {
    padding-top: 0;
    margin-left: 0;
    border-top: 2px solid var(--linecolor) !important;
    background-image: none;
    transition: max-height 0.3s ease;
    overflow: hidden; }
    #mw-panel .portal .vector-menu-content li {
      padding: 0;
      font-size: 0.9rem;
      line-height: 1.2rem; }
      #mw-panel .portal .vector-menu-content li a {
        width: 100%;
        display: inline-block; }
  #mw-panel .portal.salt-close > h1::after,
  #mw-panel .portal.salt-close > h2::after,
  #mw-panel .portal.salt-close > h3::after,
  #mw-panel .portal.salt-close > h4::after,
  #mw-panel .portal.salt-close > h5::after,
  #mw-panel .portal.salt-close > h6::after {
    content: '点击展开'; }
  #mw-panel .portal.salt-close .vector-menu-content {
    max-height: 0px; }
  #mw-panel .portal.salt-open > h1::after,
  #mw-panel .portal.salt-open > h2::after,
  #mw-panel .portal.salt-open > h3::after,
  #mw-panel .portal.salt-open > h4::after,
  #mw-panel .portal.salt-open > h5::after,
  #mw-panel .portal.salt-open > h6::after {
    content: '点击收起'; }
  #mw-panel .portal.salt-open .vector-menu-content {
    max-height: var(--salt-open-height, 100vh); }

/* 其他适配 */
#catlinks,
pre,
table.wikitable,
li.gallerybox div.thumb,
.toc,
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
.mw-warning,
.toccolours,
table.navbox,
#simpleSearch {
  background-color: var(--lightcolor); }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fontfamily) !important; }

#firstHeading {
  margin-top: var(--bgtop); }

.diff-deletedline {
  border-color: var(--delete-linecolor) !important; }

.diff-addedline {
  border-color: var(--add-linecolor) !important; }

#catlinks {
  margin-bottom: 2px; }

::selection {
  background: var(--selection-color);
  color: var(--selection-font-color); }

::-moz-selection {
  background: var(--selection-color);
  color: var(--selection-font-color); }

input,
select {
  background-color: var(--lightcolor);
  border: 1px solid var(--linecolor); }

body.mw-special-Preferences #siteNotice {
  display: none; }

.ve-active #bodyContent {
  background-color: #ffffff; }

/* 旧版书页样式 */
body.skin-vector.skin-vector-legacy #mw-panel {
  /* 左侧栏 */
  position: fixed;
  width: 8rem;
  left: 0.5rem;
  top: 3rem;
  padding: 0 1rem 0.5rem 1rem;
  background-color: #fff9;
  border: 1px solid #ccc;
  border-radius: 4px; }
  body.skin-vector.skin-vector-legacy #mw-panel #p-logo {
    width: 10rem;
    height: 10rem;
    margin-top: -14px;
    margin-left: -1rem; }
    body.skin-vector.skin-vector-legacy #mw-panel #p-logo a {
      background-size: contain; }
    body.skin-vector.skin-vector-legacy #mw-panel #p-logo + .portal {
      margin-top: 0; }
      body.skin-vector.skin-vector-legacy #mw-panel #p-logo + .portal .vector-menu-content {
        margin-left: 0; }

body.skin-vector.skin-vector-legacy .mw-prefs-buttons {
  background-color: #fbf2db; }

body.skin-vector.skin-vector-legacy .oo-ui-tabSelectWidget-framed {
  background-color: #e3c99e; }

body.skin-vector.skin-vector-legacy #p-personal {
  /* 最顶部的信息栏 */
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  background-image: var(--theme-topbar-img);
  background-size: contain;
  box-sizing: border-box;
  opacity: 0.5;
  font-size: 1rem;
  transition: opacity 0.3s ease 0.5s; }
  body.skin-vector.skin-vector-legacy #p-personal:hover {
    opacity: 1;
    transition-delay: 0s; }
  body.skin-vector.skin-vector-legacy #p-personal ul {
    float: right; }
    body.skin-vector.skin-vector-legacy #p-personal ul li {
      height: 1rem;
      margin-top: 0;
      margin-bottom: 0;
      font-size: 0.9rem;
      line-height: 1rem; }
  body.skin-vector.skin-vector-legacy #p-personal #pt-notifications-alert,
  body.skin-vector.skin-vector-legacy #p-personal #pt-notifications-notice {
    margin-right: 0; }

body.skin-vector.skin-vector-legacy .ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
  /* 顶部的信息栏遮挡可视化编辑器 */
  top: 2.5rem; }

body.skin-vector.skin-vector-legacy #mw-head {
  /* 顶部栏 */
  top: calc( 46px + 3rem);
  padding: 0 57px 0 69px;
  width: calc(100% - 126px); }
  body.skin-vector.skin-vector-legacy #mw-head #left-navigation,
  body.skin-vector.skin-vector-legacy #mw-head #right-navigation {
    margin-top: 0rem; }
    body.skin-vector.skin-vector-legacy #mw-head #left-navigation nav,
    body.skin-vector.skin-vector-legacy #mw-head #left-navigation div,
    body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul,
    body.skin-vector.skin-vector-legacy #mw-head #left-navigation span,
    body.skin-vector.skin-vector-legacy #mw-head #left-navigation a,
    body.skin-vector.skin-vector-legacy #mw-head #right-navigation nav,
    body.skin-vector.skin-vector-legacy #mw-head #right-navigation div,
    body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul,
    body.skin-vector.skin-vector-legacy #mw-head #right-navigation span,
    body.skin-vector.skin-vector-legacy #mw-head #right-navigation a {
      background-image: none;
      background-color: transparent; }
    body.skin-vector.skin-vector-legacy #mw-head #left-navigation li,
    body.skin-vector.skin-vector-legacy #mw-head #right-navigation li {
      border-left: none;
      border-right: none; }
      body.skin-vector.skin-vector-legacy #mw-head #left-navigation li:first-child,
      body.skin-vector.skin-vector-legacy #mw-head #right-navigation li:first-child {
        border-left: 1px solid var(--linecolor); }
      body.skin-vector.skin-vector-legacy #mw-head #left-navigation li:last-child,
      body.skin-vector.skin-vector-legacy #mw-head #right-navigation li:last-child {
        border-right: 1px solid var(--linecolor); }
    body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li,
    body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li {
      height: 2.7rem;
      background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 20%); }
      body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li:hover,
      body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li:hover {
        background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 12%); }
      body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li a,
      body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li a {
        font-size: 0.875rem;
        padding-top: 1rem;
        text-align: center; }
      body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul li.icon a,
      body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul li.icon a {
        padding-top: 2.5rem; }
    body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul.menu li,
    body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul.menu li {
      background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 12%); }
      body.skin-vector.skin-vector-legacy #mw-head #left-navigation ul.menu li:hover,
      body.skin-vector.skin-vector-legacy #mw-head #right-navigation ul.menu li:hover {
        background-image: linear-gradient(0deg, var(--linecolor) 0%, var(--bgcolor) 6%); }
  body.skin-vector.skin-vector-legacy #mw-head #p-cactions .menu li {
    border: 1px solid var(--linecolor);
    background-color: var(--lightcolor); }

body.skin-vector.skin-vector-legacy #content {
  /* 主体 */
  top: calc( 46px + 3rem);
  min-height: 400px;
  padding: 1px 69px;
  margin-left: 11rem;
  margin-right: 0.5rem;
  margin-bottom: calc(92px + 5rem);
  overflow: visible;
  position: relative;
  background: var(--book-border-left) left top repeat-y, var(--book-border-right) right top repeat-y;
  background-color: var(--bgcolor);
  border: none;
  border-width: 0; }
  body.skin-vector.skin-vector-legacy #content::after, body.skin-vector.skin-vector-legacy #content::before {
    content: '';
    left: 0;
    height: 46px;
    width: calc(100% - 92px);
    padding: 0 46px;
    display: block;
    position: absolute; }
  body.skin-vector.skin-vector-legacy #content::before {
    top: -46px;
    background: var(--book-border-left-top) left top no-repeat, var(--book-border-right-top) right top no-repeat, var(--book-border-top) top repeat-x content-box; }
  body.skin-vector.skin-vector-legacy #content::after {
    bottom: -46px;
    background: var(--book-border-left-bottom) left bottom no-repeat, var(--book-border-right-bottom) right bottom no-repeat, var(--book-border-bottom) bottom repeat-x content-box; }

body.skin-vector.skin-vector-legacy #footer {
  /* 页脚 */
  padding-bottom: 0;
  margin-top: 46px;
  clear: both;
  transition: all 0.3s; }
  body.skin-vector.skin-vector-legacy #footer:hover {
    /*鼠标滑过,背景变白*/
    background: rgba(255, 255, 255, 0.7); }

@media screen and (max-width: 982px) {
  body.skin-vector.skin-vector-legacy {
    /* 适配 */ }
    body.skin-vector.skin-vector-legacy #mw-panel {
      left: 0; }
    body.skin-vector.skin-vector-legacy #content {
      margin-left: 10rem;
      margin-right: 0; } }

body.skin-vector.skin-vector-legacy #mw-page-base,
body.skin-vector.skin-vector-legacy #mw-head-base {
  background-color: transparent;
  opacity: 0;
  display: none;
  height: 0; }

body.skin-vector.skin-vector-legacy fieldset,
body.skin-vector.skin-vector-legacy ul,
body.skin-vector.skin-vector-legacy li,
body.skin-vector.skin-vector-legacy a,
body.skin-vector.skin-vector-legacy span,
body.skin-vector.skin-vector-legacy em,
body.skin-vector.skin-vector-legacy pre,
body.skin-vector.skin-vector-legacy h1,
body.skin-vector.skin-vector-legacy h2,
body.skin-vector.skin-vector-legacy h3,
body.skin-vector.skin-vector-legacy h4,
body.skin-vector.skin-vector-legacy h5,
body.skin-vector.skin-vector-legacy h6 {
  border-color: var(--linecolor) !important; }

:root {
  --linecolor: #ccc; }

/* 新版书页样式 */
body.skin-vector:not(.skin-vector-legacy) .mw-header {
  background-color: #4caf50;
  padding: 0 50px;
  margin-top: 0;
  box-shadow: 2px 2px 8px rgba(76, 175, 80, 0.35), -2px 2px 8px rgba(76, 175, 80, 0.35);
  --linecolor: #ffffff00; }
  body.skin-vector:not(.skin-vector-legacy) .mw-header a.mw-ui-button span {
    color: white; }

body.skin-vector:not(.skin-vector-legacy) #mw-sidebar-button:before,
body.skin-vector:not(.skin-vector-legacy) .oo-ui-icon-bell.mw-echo-notifications-badge,
body.skin-vector:not(.skin-vector-legacy) .oo-ui-icon-tray.mw-echo-notifications-badge,
body.skin-vector:not(.skin-vector-legacy) .mw-ui-icon-wikimedia-userAvatar:before,
body.skin-vector:not(.skin-vector-legacy) .mw-ui-icon-wikimedia-userAvatar:after,
body.skin-vector:not(.skin-vector-legacy) .mw-ui-icon-wikimedia-search:before {
  opacity: 1;
  filter: invert(100%); }

@media screen and (max-width: 720px) {
  body.skin-vector:not(.skin-vector-legacy) #mw-sidebar-button {
    display: none; } }

body.skin-vector:not(.skin-vector-legacy) .mw-footer-container {
  margin-left: 0px !important;
  margin-right: 0px !important;
  background-color: #4caf50;
  max-width: none;
  padding-top: 0;
  padding-bottom: 40px;
  padding-left: 60px;
  padding-right: 60px; }

body.skin-vector:not(.skin-vector-legacy) #footer-info li {
  color: #fff; }

body.skin-vector:not(.skin-vector-legacy) #footer a {
  color: white;
  text-decoration: underline; }

body.skin-vector:not(.skin-vector-legacy) .mw-footer {
  border-top-width: 0px; }

body.skin-vector:not(.skin-vector-legacy) .mw-page-container {
  padding: 0.05px 0px;
  max-width: none; }

@media screen and (max-width: 1440px) {
  body.skin-vector:not(.skin-vector-legacy) .mw-workspace-container {
    margin-left: 20px;
    margin-right: 20px; } }

@media screen and (min-width: 1000px) {
  body.skin-vector:not(.skin-vector-legacy) .mw-page-container {
    padding-left: 0px;
    padding-right: 0px; } }

body.skin-vector:not(.skin-vector-legacy) .mw-body {
  border-top: none;
  min-height: 650px;
  border-radius: 0.4rem;
  margin-top: 20px;
  margin-bottom: 10px;
  box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, 0.1);
  padding-left: 20px;
  padding-right: 20px; }

body.skin-vector:not(.skin-vector-legacy) .mw-content-container {
  max-width: none; }

body.skin-vector:not(.skin-vector-legacy) .mw-article-toolbar-container {
  max-width: none; }

body.skin-vector:not(.skin-vector-legacy) .mw-checkbox-hack-checkbox:checked
~ .mw-workspace-container
.mw-content-container {
  margin-left: 11.5em; }

body.skin-vector:not(.skin-vector-legacy) .mw-checkbox-hack-checkbox:checked
~ .mw-workspace-container
.mw-article-toolbar-container {
  margin-left: 11.5em; }

body.skin-vector:not(.skin-vector-legacy) .mw-footer-container .mw-content-container {
  margin-left: auto !important; }

body.skin-vector:not(.skin-vector-legacy) #mw-head .vector-menu-dropdown h3 {
  background-image: none; }

body.skin-vector:not(.skin-vector-legacy) #p-personal .vector-menu-content {
  margin-top: 5px;
  border-radius: 10px;
  padding: 5px 3px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 12px 0px; }

body.skin-vector:not(.skin-vector-legacy) #p-cactions .vector-menu-content {
  border-radius: 10px;
  border: 1px white solid;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 12px 0px;
  margin-top: 10px; }
  body.skin-vector:not(.skin-vector-legacy) #p-cactions .vector-menu-content li a {
    color: #4caf50; }
  body.skin-vector:not(.skin-vector-legacy) #p-cactions .vector-menu-content h3 {
    background-image: none !important; }

body.skin-vector:not(.skin-vector-legacy) .vector-user-links .vector-user-menu-more #pt-userpage-2 span {
  color: white; }

body.skin-vector:not(.skin-vector-legacy) .vector-menu-content-item-logout {
  border: none; }

body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs {
  background-image: none; }
  body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs .selected {
    background: #ffffff;
    border-bottom-color: orange !important;
    border-bottom-width: 3px;
    border-bottom-style: solid; }
  body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs a {
    background-image: none; }
  body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li {
    background-image: none; }
    body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li:not(.new) a {
      color: #4caf50; }
    body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li.selected a {
      color: #000000; }

@media screen and (max-width: 720px) {
  body.skin-vector:not(.skin-vector-legacy) #mw-panel {
    display: none; } }

body.skin-vector:not(.skin-vector-legacy) #mw-panel {
  left: 0;
  background-image: none;
  border-right: none; }
  body.skin-vector:not(.skin-vector-legacy) #mw-panel .portal.salt-open .vector-menu-content {
    max-height: none; }
  body.skin-vector:not(.skin-vector-legacy) #mw-panel .portal .vector-menu-content {
    border-top: solid #4caf50 2px !important; }
  body.skin-vector:not(.skin-vector-legacy) #mw-panel nav:first-child .vector-menu-content {
    margin-left: 0em; }

body.skin-vector:not(.skin-vector-legacy) .mw-sidebar-action {
  margin: 0 0; }

body.skin-vector:not(.skin-vector-legacy) .mw-sidebar-action-link {
  font-size: 0.9em;
  font-weight: unset; }

body.skin-vector:not(.skin-vector-legacy) .mainpage-box-title {
  color: #4caf50;
  background-color: #ffffff00; }

body.skin-vector:not(.skin-vector-legacy) #localNotice > div {
  margin-top: 0px !important; }