MediaWiki:Vector-V4.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
@charset "UTF-8";
: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-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-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 a:not(.mw-redirect) {
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: rgba(255, 255, 255, 0);
}
body.skin-vector:not(.skin-vector-legacy) #localNotice > div {
margin-top: 0px !important;
}