MediaWiki:Vector-V4.css:修订间差异

添加1,909字节 、​ 2022年8月15日 (星期一)
// Edit via Wikiplus
(Salt lovely移动页面MediaWiki:Vector-Book.cssMediaWiki:Vector-V4.css:区分新旧版vector皮肤)
(// Edit via Wikiplus)
@charset "UTF-8";
/*
/* 新版书页样式 */
:root {
body.skin-vector:not(.skin-vector-legacy) .mw-header {
--linecolor: #ffffff00;
background-color: #4caf50;
}
*/
.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 {
 
color: white;
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3, .vector-menu-tabs li {
background-image: none;
}
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,
.mw-footer-container {
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;
padding-right: 60px;
}
body.skin-vector:not(.skin-vector-legacy) #footer-info li {
 
color: #fff;
.mw-page-container {
}
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 {
#footer-info li {
colorborder-top: #fffnone;
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;
#footer a {
color: white;
text-decoration: underline;
}
body.skin-vector:not(.skin-vector-legacy) .mw-article-toolbar-container {
 
max-width: none;
.mw-footer {
border-top-width: 0px;
}
body.skin-vector:not(.skin-vector-legacy) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container {
 
margin-left: 11.5em;
.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) .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container {
 
margin-left: 11.5em;
.mw-body {
border-top: none;
min-height: 650px;
border-radius: 0.4rem;
margin-top: 20px;
margin-bottom: 10px;
box-shadow: 1px 1px 4px 2px rgb(0 0 0 / 10%);
padding-left: 20px;
padding-right: 20px;
}
body.skin-vector:not(.skin-vector-legacy) .mw-footer-container .mw-content-container {
 
margin-left: auto !important;
.vector-menu-tabs li a, .vector-menu-dropdown li a {
color:#4caf50;
}
body.skin-vector:not(.skin-vector-legacy) .vector-menu-dropdown li a {
 
color: #4caf50;
#mw-sidebar-button:before,
.oo-ui-icon-bell.mw-echo-notifications-badge,
.oo-ui-icon-tray.mw-echo-notifications-badge,
.mw-ui-icon-wikimedia-userAvatar:before,
.mw-ui-icon-wikimedia-userAvatar:after,
.mw-ui-icon-wikimedia-search:before {
opacity: 1;
filter: invert(100%);
}
body.skin-vector:not(.skin-vector-legacy) .vector-menu-dropdown h3 {
 
background-image: none !important;
.vector-user-links .vector-user-menu-more #pt-userpage-2 span, .mw-header a {
color: white;
}
body.skin-vector:not(.skin-vector-legacy) .vector-user-links .vector-user-menu-more #pt-userpage-2 span {
@media screen and (max-width: 720px) {
color: white;
#mw-sidebar-button {
display:none;
}
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs {
#mw-panel {
displaybackground-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 {
.mw-content-container {
maxbackground-widthimage: none;
}
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li {
.mw-article-toolbar-container {
maxbackground-widthimage: none;
}
body.skin-vector:not(.skin-vector-legacy) .vector-menu-tabs li a {
.mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container {
margin-leftcolor: 11.5em#4caf50;
}
@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 {
.mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container {
margin-left: 11.5em0;
background-image: 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 {
#mw-panel {
border-top: solid #4caf50 2px !important;
left:0;
background-image:none;
}
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 {
.mw-footer-container .mw-content-container {
color: #4caf50;
margin-left: auto !important;
background-color: rgba(255, 255, 255, 0);
}
维护员、​界面管理员、​巡查员、​监督员、​小部件编辑者
3,462

个编辑