MediaWiki:Modern.css

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

  • 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将影响使用现代皮肤的用户 */

#firstHeading .editsection a { color: white; text-decoration: underline }

/* block quotations */
#mw_content blockquote {
    font-size: 93.75%; /* equivalent of 15px in 16px default */
    margin: 1em 1.6em; /* same indent as an unordered list */
}
#mw_content blockquote p {
    line-height:inherit;
}

/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
    display: block;
}

/* Bold 'edit this page' link to encourage newcomers */
/* Commented because this is not the default skin */
/* #ca-edit a { font-weight: bold !important; } */

p.error {
    font-weight: bold;
}

#mw_contentholder { padding-top: .4em } /* some headroom for #coordinates to go in without #siteSub */

#coordinates {  
    position:absolute;
    z-index:1;
    border:none;
    background:none;
    right:1.17em;
    top:5em;
    float:right;
    margin:0.0em;
    padding:0.0em;
    padding-right:1.17em;
    line-height:1.5em;
    text-align:right;
    text-indent:0;
    font-size:85%;
    text-transform:none;
    white-space:nowrap;
}
 
/* important to keep the text predictably positioned */
#coordinates img {
    vertical-align: top
}

/* allow disabling of "external" color on internal links in some situations */
#bodyContent .plainlinks2 a.external[href^="http://en.wikipedia.org"] {
	color: #003366 !important
}

/* for Template:Link-FA */
li.FA {
    list-style-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Modern-bullet-star.svg/9px-Modern-bullet-star.svg.png");
}

.toccolours {
background-color:#F0F0F0;
border:1px solid #BBBBBB;
border-spacing:0pt;
margin:0pt;
padding:0pt;
}

.mw-topboxes {
margin-top: -0.4em
}

#searchInput {width: 90%;}

/* extraMenu style wrapper */
#mw_contentwrapper div.portlet { overflow:hidden; height:1.5em; margin:0 0 0 14em; padding:0; } 
#mw_contentwrapper div.portlet h5 {display:none;} 
#mw_contentwrapper div.portlet div.pBody {margin:0; padding:0;} 
#mw_contentwrapper div.portlet div.pBody ul { display:inline; margin:0; } 
#mw_contentwrapper div.portlet div.pBody ul li { display:block; float:left; height:1.5em; margin:0 0.5em; padding:0 0.2em; text-transform:lowercase; } 
#mw_contentwrapper div.portlet div.pBody ul li a { text-decoration:underline;} 
#mw_contentwrapper div.portlet div.pBody ul li.selected a { text-decoration:none;}