MediaWiki:Vector-V4.css

Litwak913留言 | 贡献2022年8月14日 (日) 12:59的版本 (// Edit via Wikiplus)

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/*
:root {
  --linecolor: #ffffff00;
}
*/
.mw-header {
  background-color:#4caf50;
  padding: 0 50px;
  margin-top: 0;
  box-shadow: 2px 2px 8px rgba(76,175,80,.35),-2px 2px 8px rgba(76,175,80,.35);
  --linecolor: #ffffff00;
}

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3, .vector-menu-tabs li {
    background-image: none;
}

.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;
}

.mw-page-container {
  padding: 0.05px 0px;
}
@media screen and (max-width:1440px) {
  .mw-workspace-container {
      margin-left: 20px;
      margin-right: 20px;
  }
}

@media screen and (min-width: 1000px) {
  .mw-page-container {
      padding-left: 0px;
      padding-right: 0px;
  }
}
#footer-info li {
    color: #fff;
}

#footer a {
    color: white;
    text-decoration: underline;
}

.mw-footer {
    border-top-width: 0px;
}

.vector-menu-tabs .selected {
    background: #ffffff;
    border-bottom-color: orange !important;
    border-bottom-width: 3px;
    border-bottom-style: solid;
}

.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;
}

.vector-menu-tabs li a, .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%);
}

.vector-user-links .vector-user-menu-more #pt-userpage-2 span, .mw-header a {
    color: white;
}
@media screen and (max-width: 720px) {
#mw-sidebar-button {
    display:none;
}
#mw-panel {
  display:none;
}
}
.mw-content-container {
    max-width: none;
}
.mw-article-toolbar-container {
    max-width:none;
}
.mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container {
    margin-left: 11.5em;
}
.mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container {
    margin-left: 11.5em;
}
#mw-panel .portal.salt-open .vector-menu-content {
    max-height: none;
}
#mw-panel {
  left:0;
  background-image:none;
}
#mw-panel nav:first-child .vector-menu-content {
    margin-left: 0em;
}
.mw-sidebar-action {
    margin: 0 0;
}
.mw-sidebar-action-link {
    font-size: 0.9em;
    font-weight: unset;
}
.mw-footer-container .mw-content-container {
    margin-left: auto !important;
}