MediaWiki:Monobook.css

来自Whiteverse Library
Lunch💬讨论 | 贡献2021年12月13日 (一) 23:49的版本
跳到导航跳到搜索

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

  • 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皮肤的用户 */

/*背景*/
/*  黑白背景html { 
        -webkit-filter: grayscale(100%); 
        -moz-filter: grayscale(100%); 
        -ms-filter: grayscale(100%); 
        -o-filter: grayscale(100%); 
        filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);  
        _filter:none; 
    } */
body {
  background: #d6d6d6
}
#column-one {
    padding-top: 14em;
}
/*内容块*/
.mw-body {
    margin: 4em 0 0 12.6em;
    border: none;
    border-radius: 0 0 0 0.5em;
}
.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%);
}
/*编辑*/
div.oo-ui-toolbar-bar {
	background:#ffffff;
	background-image:none;
}

span.oo-ui-popupToolGroup-active.oo-ui-widget-enabled {
	background-image: linear-gradient(to bottom,#ffffff 0,#fff 100%);
}
.oo-ui-popupToolGroup-active.oo-ui-widget-enabled{
	background-color:white;
	background-image: linear-gradient(to bottom,#ffffff 0,#fff 100%);
}
div.oo-ui-progressBarWidget-bar {
  background-color: #c7c7c7;
  background-image: -webkit-gradient(linear, right top, right bottom, color-stop(0, #ac3939), color-stop(100%, #ac3939));
  background-image: -webkit-linear-gradient(top, #ac3939 0, #ac3939 100%);
  background-image: -moz-linear-gradient(top, #ac3939 0, #ac3939 100%);
  background-image: linear-gradient(to bottom, #ac3939 0, #ac3939 100%);
}
div.ve-init-mw-progressBarWidget-bar {
  border-right: 1px solid #ccc;
  background: #ac3939;
  background-image: -webkit-gradient(linear, right top, right bottom, color-stop(0, #ac3939), color-stop(100%, #ac3939));
  background-image: -webkit-linear-gradient(top, #ac3939 0, #ac3939 100%);
  background-image: -moz-linear-gradient(top, #ac3939 0, #ac3939 100%);
  background-image: linear-gradient(to bottom, #ac3939 0, #ac3939 100%);
}
.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 {
    border-radius: 0.5em;
    }
.portlet ul {
    line-height: 1.8em;
    list-style-image: none;
    list-style:disc;
    }

.portlet h3 {
	background: #8088ce;
    color: #ffffff;
    display: inherit;
    height: 2em;
    width: 130px;
    margin-bottom: -0.5em;
}
/*侧栏搜索框和按钮*/
#searchButton {
  background-color: #f1f1f1;
  border: none;
  font-weight: normal;
  width: 5em;
}
#searchButton:hover {
  background-color: #fff;
}
#searchButton: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 {
	    background-color: #f1f1f1;
	    margin:auto;
	display:block;
  border: none;
}
input.searchButton {
  margin-top: 6px;
  font-size: 95%;
}

/*上栏操作标签*/
#p-cactions {
    position: absolute;
    left: 10.74em;
   top:2.38em;

}
#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 {
	font-family:none;
   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: white;
  color: #ac3939;
  border: 0px solid #aaa;
  padding: 0.1em 0.8em 0.3em 0.5em;
  border-radius: 0 0 0.5em 0.5em;
}

.pBody a:link {
  color: #4a4a4a;
}
.pBody a:visited {
  color: #4a4a4a;
}
.pBody a:active {
  color: #444444;
}
.pBody a:hover {
  color: #5a5a5a;
}