3,389
个编辑
MCBBS Wiki欢迎您共同参与编辑!在参与编辑之前请先阅读Wiki方针。
如果在编辑的过程中遇到了什么问题,可以去讨论板提问。
为了您能够无阻碍地参与编辑 未验证/绑定过邮箱的用户,请尽快绑定/验证。
MCBBS Wiki GitHub群组已上线!
您可以在回声洞中发表吐槽!
服务器状态监控。点击进入
本站由MCBBS用户自行搭建,与MCBBS及东银河系漫游指南(北京)科技有限公司没有从属关系。点此了解 MCBBS Wiki 不是什么>>
Sheep-realms(留言 | 贡献) (不建议修改此链接样式) 标签:手工回退 |
Salt lovely(留言 | 贡献) (编辑“MediaWiki:Vector.css” // 维基盐编辑器) |
||
| 第1行: | 第1行: | ||
@charset "UTF-8"; | @charset "UTF-8"; | ||
/* | /* 初版源代码:用户:Salt_lovely/Vector.scss */ | ||
/* 今版源代码:https://github.com/mcbbs-wiki/mcbbs-wiki-widget-repo */ | |||
:root { | :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; | --bgtop: 46px; | ||
--bgleft: 20px; | --bgleft: 20px; | ||
| 第11行: | 第30行: | ||
--bgcolor3: #e9cb97; | --bgcolor3: #e9cb97; | ||
--linecolor: #cfb78e; | --linecolor: #cfb78e; | ||
--fontfamily: sans-serif, "Microsoft Yahei", apple color emoji, | --fontfamily: sans-serif, "Microsoft Yahei", apple color emoji, segoe ui emoji, | ||
segoe ui symbol; | |||
--fontfamily2: "Linux Libertine", "Georgia", "Times", serif, sans-serif, | --fontfamily2: "Linux Libertine", "Georgia", "Times", serif, sans-serif, | ||
Tahoma; | |||
--articlefont: Lora, "Palatino Linotype", "Book Antiqua", "New York", | --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 { | body { | ||
background: var(-- | background: var(--theme-bg-img) 0 0 no-repeat var(--theme-color); | ||
background-position: center; | background-position: center; | ||
background-attachment: fixed; | background-attachment: fixed; | ||
background-size: cover; | background-size: cover; | ||
border-top: none; | border-top: none; | ||
font-family: var(--fontfamily); | font-family: var(--fontfamily); | ||
} | } | ||
body * { | body * { | ||
border-color: var(--linecolor); | border-color: var(--linecolor); | ||
| 第35行: | 第56行: | ||
/* 左侧栏 */ | /* 左侧栏 */ | ||
#mw-panel .portal { | #mw-panel .portal { | ||
/*面板折叠相关样式功能*/ | |||
padding: 0.75rem 0 0 0; | padding: 0.75rem 0 0 0; | ||
margin: 0; | margin: 0; | ||
} | } | ||
#mw-panel .portal:hover { | #mw-panel .portal:hover { | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
#mw-panel .portal > h1, | #mw-panel .portal > h1, | ||
#mw-panel .portal > h2, | #mw-panel .portal > h2, | ||
| 第88行: | 第78行: | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
#mw-panel .portal > h1::after, | #mw-panel .portal > h1::after, | ||
#mw-panel .portal > h2::after, | #mw-panel .portal > h2::after, | ||
| 第103行: | 第92行: | ||
transition: 0.3s ease; | transition: 0.3s ease; | ||
} | } | ||
#mw-panel .portal > h1:hover::after, | #mw-panel .portal > h1:hover::after, | ||
#mw-panel .portal > h2:hover::after, | #mw-panel .portal > h2:hover::after, | ||
| 第112行: | 第100行: | ||
opacity: 0.9; | opacity: 0.9; | ||
} | } | ||
#mw-panel .portal .vector-menu-content { | #mw-panel .portal .vector-menu-content { | ||
padding-top: 0; | padding-top: 0; | ||
| 第121行: | 第108行: | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
#mw-panel .portal .vector-menu-content li { | #mw-panel .portal .vector-menu-content li { | ||
padding: 0; | padding: 0; | ||
| 第127行: | 第113行: | ||
line-height: 1.2rem; | line-height: 1.2rem; | ||
} | } | ||
#mw-panel .portal .vector-menu-content li a { | #mw-panel .portal .vector-menu-content li a { | ||
width: 100%; | width: 100%; | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
#mw-panel .portal.salt-close > h1::after, | #mw-panel .portal.salt-close > h1::after, | ||
#mw-panel .portal.salt-close > h2::after, | #mw-panel .portal.salt-close > h2::after, | ||
| 第141行: | 第125行: | ||
content: "点击展开"; | content: "点击展开"; | ||
} | } | ||
#mw-panel .portal.salt-close .vector-menu-content { | #mw-panel .portal.salt-close .vector-menu-content { | ||
max-height: 0px; | max-height: 0px; | ||
} | } | ||
#mw-panel .portal.salt-open > h1::after, | #mw-panel .portal.salt-open > h1::after, | ||
#mw-panel .portal.salt-open > h2::after, | #mw-panel .portal.salt-open > h2::after, | ||
| 第155行: | 第136行: | ||
content: "点击收起"; | content: "点击收起"; | ||
} | } | ||
#mw-panel .portal.salt-open .vector-menu-content { | #mw-panel .portal.salt-open .vector-menu-content { | ||
max-height: var(--salt-open-height, 100vh); | max-height: var(--salt-open-height, 100vh); | ||
} | } | ||
/* | /* 其他适配 */ | ||
#catlinks, | #catlinks, | ||
pre, | pre, | ||
| 第411行: | 第184行: | ||
.diff-deletedline { | .diff-deletedline { | ||
border-color: | border-color: var(--delete-linecolor) !important; | ||
} | } | ||
.diff-addedline { | .diff-addedline { | ||
border-color: | border-color: var(--add-linecolor) !important; | ||
} | } | ||
| 第423行: | 第196行: | ||
::selection { | ::selection { | ||
background: | background: var(--selection-color); | ||
color: | color: var(--selection-font-color); | ||
} | } | ||
::-moz-selection { | ::-moz-selection { | ||
background: | background: var(--selection-color); | ||
color: | color: var(--selection-font-color); | ||
} | } | ||
| 第438行: | 第211行: | ||
} | } | ||
. | body.mw-special-Preferences #siteNotice { | ||
display: none; | |||
} | } | ||
.ve-active #bodyContent { | .ve-active #bodyContent { | ||
background-color: #ffffff; | |||
} | } | ||