MediaWiki:Monobook.css

来自Whiteverse Library
科德💬讨论 | 贡献2021年7月30日 (五) 20:15的版本
跳到导航跳到搜索

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件
/* 这里放置的CSS将影响使用MonoBook皮肤的用户 */

/*背景*/
body {
  background: #d6d6d6
}

/*内容块*/
.mw-body {
    margin: 4em 0 0 12.6em;
    border: none;
}
.mw-body-content {
  background-image: url('https://wiki.whiteverse.com/images/d/d8/Wv_logo.png');
  background-repeat: no-repeat;
  background-position: 90% 15%;
  background-attachment: fixed;
  border: 0px solid #aaaaaa;
}
.toc {
    display: table;
    border: 1px solid #969696;
    background-color: #eeeeee17;
    padding: 11px;
    float: right;
}
.warningbox {
    background-color: rgb(255 220 148);
    border: none;
}
#noticeheader{
   width: 40em;
   background:#EEEEEE;
   color:#aeaeae;
   padding:0.5em;
   text-align:center;
   margin: auto auto 1.7em;
   border-radius: 5em;
}
pre, .mw-code {
    font-family: inherit;
    background-color: rgb(248 249 250 / 61%);
}
/*编辑*/
.wikiEditor-ui-toolbar {
    background: #e6e6e6;
}
.wikiEditor-ui-toolbar .sections .section {
    background-color: #e6e6e6;
}
.editOptions {
    background-color: #e6e6e6;
    color: #757575;
    margin-bottom: -1.3em;
}

/*脚注*/
.mw-footer {
  background-color: #e4e4e4;
  border: 0px solid;
  padding: 0.4em 0 0.3em 0;
  margin: 0.6em 0 1.4em 0;
  overflow: hidden;
  text-align: center;
  font-size: 90%;
  color: #a9a9a9;
}
.mw-footer a {
  color: #5c7586;
}
#footerafterfooter {
  text-align: center;
  color: #a9a9a9;
  background: #e4e4e4;
  padding: 1em;
}
#footerafterfooter a {
  color: #a9a9a9;
}
#footerafterfooter a:hover {
  color: #b3b3b3;
}

/*侧栏*/
portlet ul {
    line-height: 1.8em;
    list-style: circle;
    list-style-image: none;
}
.portlet h3 {
  background: #e4e4e4;
  color: #6d6d6d;
    padding: 0 1em 1em 0.5em;
}
/*侧栏搜索框和按钮*/
#searchGoButton {
  background-color: #f1f1f1;
  border: none;
  font-weight: normal;
  width: 5em;
}
#searchGoButton:hover {
  background-color: #fff;
}
#searchGoButton:active {
  background-color: #c1c1c1;
}
#mw-searchButton {
  background-color: #f1f1f1;
  border: none;
  font-weight: normal;
  width: 5em;
}
#mw-searchButton:hover {
  background-color: #fff;
}
#mw-searchButton:active {
  background-color: #c1c1c1;
}
#searchInput {
  border: none;
}
input.searchButton {
  margin-top: 6px;
  font-size: 95%;
}

/*上栏操作标签*/
#p-cactions {
    position: absolute;
    top: 2.5em;
}
#p-cactions li {
    border: none;
    padding: 0;
}
#p-cactions li.selected {
    background:#ffffff;
    border: none;
}
#p-cactions li a {
    background-color: #e4e4e4;
    color: #4a4a4a;
}

/*个人*/
#p-personal {
    position: absolute;
    left: 0;
    top: 0;
    z-index:0;
    display: inline;
}
#p-personal li {
   border: none;
   margin-left: 2em;
   line-height: 3em;
}
#p-personal li a {
    color: #6d6d6d;
}
#p-personal li a:hover {
   color:#828282;
    background:#d6d6d6;
}
li#pt-userpage, li#pt-anonuserpage{
background-image:none;
}

/*边缘*/
.pBody {
  background-color: #e4e4e4;
  border: 0px solid #aaa;
  padding: 0.1em 0.8em 0.3em 0.5em;
}
.pBody a:link {
  color: #4a4a4a;
}
.pBody a:visited {
  color: #4a4a4a;
}
.pBody a:active {
  color: #444444;
}
.pBody a:hover {
  color: #5a5a5a;
}




/*以下是模板样式*/

span.blackbackground {
  background-color: #000000;
}
span.blackbackground:hover {
  background-color: #ffffff;
}
span.completeblackbackground {
  background-color: #000000;
}
span.completeblackbackground::selection {
  color:black;
  background:#000001;
}

#mediawikiwvlogo {
  border-radius: 8px;
  background-image: linear-gradient(to right, #d53e61, #cec6cc, #3ed1d5);
}
#stubbg {
  border-radius: 8px;
  background-image: linear-gradient(to right, #41cf84, #28d3dd);
}
#tucs {
  border-radius: 4px;
  width: 233px;
  height: 20px;
  background-image: linear-gradient(to right, #2375c0, #325c62);
  color: white;
  text-align: center;
}
#accesscontrol {
   width: 12em;
   background:#EEEEEE;
   color:#aeaeae;
   padding:0.5em;
   text-align:center;
   margin: auto auto 1.7em;
   border-radius: 5em;
}