MediaWiki:Monobook.css

来自Whiteverse Library
Lunch💬讨论 | 贡献2021年7月24日 (六) 11:09的版本
跳到导航跳到搜索

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

  • 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皮肤的用户 */
/*@media screen*/
.mw-body {
    margin: 4em 0 0 12.6em;
}
.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;
}

.mw-body {
  border: 0px solid #aaaaaa;
}
portlet ul {
    line-height: 1.8em;
}
.portlet h3 {
  background: #e4e4e4;
  color: #6d6d6d;
    padding: 0 1em 1em 0.5em;
}
#p-cactions li.selected {
    background:#ffffff;
    border: none;
}
#p-cactions li {
    border: none;
    padding: 0;
}
#p-cactions li a {
    background-color: #e4e4e4;
    color: #4a4a4a;
}
#p-cactions {
    position: absolute;
    top: 2.5em;
}
#p-personal {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}

#p-personal li {
   border: none;
   margin-left: 2em;
   line-height: 4em;
   display: inline;
}

#p-personal li a {
    color: #6d6d6d;
}
#p-personal li a:hover {
   color:#828282;
    background:#d6d6d6;
}
li#pt-userpage, li#pt-anonuserpage{
background-image: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;
}
.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;
}
body {
  background: #d6d6d6
}
#footerafterfooter {
  text-align: center;
  color: #a9a9a9;
  background: #e4e4e4;
  padding: 1em;
}
.mylink {
  color: #a9a9a9;
}
.mylink:active {
  color: #a9a9a9;
}
.mylink:visited {
  color: #a9a9a9;
}
.mylink:hover {
  color: #b3b3b3;
}
#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%;
}

/*以下是模板样式*/

span.blackbackground {
  background-color: #000000;
}
span.blackbackground:hover {
  background-color: #ffffff;
}
span.completeblackbackground {
  background-color: #000000;
}
#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 {
  border-radius: 4px;
  width: 233px;
  height: 20px;
  background-image: linear-gradient(to right, #DBA901, #D7DF01);
  color: white;
  text-align: center;
}