MediaWiki:Monobook.css
注意:在保存以后,您必须清除浏览器的缓存才能看到所作出的改变:Mozilla: 点击刷新(或ctrl-r), IE / Opera: ctrl-f5, Safari: cmd-r, Konqueror ctrl-r。
/* Monobook皮肤的公共CSS
/* 首页不显示某些项目 */
body.page-Wikiquote_首页 #deleteconfirm,
body.page-Wikiquote_首页 #t-cite,
body.page-Wikiquote_首页 #lastmod,
body.page-Wikiquote_首页 #siteSub,
body.page-Wikiquote_首页 #contentSub,
body.page-Wikiquote_首页 h1.firstHeading {
display: none !important;
}
body.page-Wikiquote_首页 #content,
body.page-Wikiquote_首页 #mytabs li,
body.page-Wikiquote_首页 #mytabs li a,
body.page-Wikiquote_首页 #p-cactions li.selected a,
body.page-Wikiquote_首页 #p-cactions li a:hover,
body.page-Wikiquote_首页 #content div.thumb {
background: white;
}
body.page-Wikiquote_首页 #p-cactions li a {
background-color: #fbfbfb;
}
/* Donations link to be uncommented during fundraising drives */
#siteNotice {
margin-top:5px;
padding-left: 4px;
font-style: italic;
text-align: center;
}
/*
#fundraising {
text-align: center;
border: 1px solid gray;
padding: 5px;
}
*/
/* 显示 "维基语录,自由的名人名言录" */
#siteSub {
color: #000;
display: inline;
font-size: 92%;
font-weight: normal;
}
#siteSub .editsection {
font-size: 100%;
}
#bodyContent #siteSub a {
color: #000;
text-decoration: none;
background-color: transparent;
background-image: none;
padding-right: 0;
}
#siteSub .editsection a {
color: #002BB8 !important;
}
#siteSub .editsection a:hover {
text-decoration: underline !important;
}
/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a { font-weight: bold !important; }
/* Display "User $1, you are already logged in!"
([[MediaWiki:Alreadyloggedin]]) in red and bold */
div.alreadyloggedin { color: red; font-weight: bold; }
@media print {
/* Do not print edit link in templates using Template:Ed
Do not print certain classes that shouldn't appear on paper */
.editlink, .noprint, .metadata, .dablink { display: none }
#content { background: #FFFFFF; } /* white background on print */
}
#pt-login {
font-weight: bold;
font-size: 110%;
}
form#userlogin {
float: left;
padding: 1em 1em .7em 1em;
background-color: #ffffe6;
border: 2px solid #fc6;
color: #000;
margin-right: 2em;
}
form#userlogin table {
float: left;
background-color: #ffffe6;
color: #000;
}
p.error {
font-weight: bold;
}
/* enlarge font-size for zh fonts */
#bodyContent { font-size:118% }
/* Fix Fontsize */
.portlet h5,
.portlet ul,
#toc .toctoggle {
font-size: 100%;
}
.pBody,
#footer,
div.thumb div {
font-size: 95%;
}
h2 {
font-weight: bold;
}
/*
ul {
margin: 0.5em 0 0 1.5em;
}
*/
/* sharedUploadNotice 去掉斜體 */
#sharedUploadNotice {
font-style: normal;
}
/* siteNotice 去掉斜体 */
#siteNotice {
font-style: normal;
}
/* siteNotice 的表格去除顏色 */
#siteNotice table {
background: transparent;
}
li.FA {
list-style-image: url("//upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png");
}
li.GA {
list-style-image: url("//upload.wikimedia.org/wikipedia/en/4/42/Monobook-bullet-ga.png");
}
/*****
** Bytecounter colours
*****/
strong.mw-plusminus-neg
{
color: #c00;
}
.mw-plusminus-pos {color: #060;}
.mw-plusminus-neg {color: #900;}