User:Mosesofmason/monobook.css
外观
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
#p-cactions ul li, #p-cactions ul li a {
-moz-border-radius-topleft: 1em;
-moz-border-radius-topright: 1em;
}
#content {
-moz-border-radius-topleft: 1em;
-moz-border-radius-bottomleft: 1em;
}
div.pBody {
-moz-border-radius-topright: 1em;
-moz-border-radius-bottomright: 1em;
}
/*
<pre>
*/
a { text-decoration: none }
/* Donations link to be uncommented during fundraising drives */
#siteNotice {
margin-top:5px;
padding-left: 4px;
text-align: center;
}
/****************************/
/* BEGIN LIGHT BLUE SECTION */
/****************************/
/* Make all non-namespace pages have a light blue content area. This is done by
setting the background color for all #content areas to light blue and then
overriding it for any #content enclosed in a .ns-0 (main namespace). I then
do the same for the "tab" background colors. --Lupo */
#content {
background: #F8FCFF; /* a light blue */
}
#content div.thumb {
border-color: #F8FCFF;
}
.ns-0 * #content {
background: white;
}
#mytabs li {
background: #F8FCFF;
}
.ns-0 * #mytabs li {
background: white;
}
#mytabs li a {
background-color: #F8FCFF;
}
.ns-0 * #mytabs li a {
background-color: white;
}
#p-cactions li a {
background-color: #F8FCFF;
}
.ns-0 * #p-cactions li a {
background-color: white;
}
.ns-0 * #content div.thumb {
border-color: white;
}
/**************************/
/* END LIGHT BLUE SECTION */
/**************************/
/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
display: inline;
font-size: 90%;
font-weight: normal;
}
#bodyContent #siteSub a {
color: #000;
text-decoration: none;
background-color: transparent;
background-image: none;
padding-right: 0;
}
/* 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 }
}
/* Style for "notices" */
.notice {
text-align: justify;
margin: 1em 0.5em;
padding: 0.5em;
}
#disambig {
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
}
#spoiler {
border-top: 2px solid #ddd;
border-bottom:2px solid #ddd;
}
/* Accessibility experiment: make diff changes not just colour-based */
.diffchange {
font-weight: bold;
background-color: inherit;
}
td.diff-addedline, td.diff-deletedline, td.diff-context {
font-size: 100%;
color: inherit;
}
#pt-login {
font-weight: bold;
font-size: 90%;
}
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;
}
/* Class styles */
/* .toccolours added here because version in
monobook/main.css wasn't being used by the print style */
.toccolours {
border:1px solid #aaaaaa;
background-color:#f9f9f9;
padding:5px;
font-size: 90%;
}
/* Remove padding from external links displayed without icon */
#bodyContent .plainlinks a {padding: 0 !important}
/* Experiment: slightly fade inactive tabs */
#p-cactions a {
filter: alpha(opacity=90);
}
#p-cactions a:hover, #p-cactions .selected a {
filter: none;
}
#p-nav h5 {
display: none;
}
.portlet a {
text-decoration: none;
}
.portlet a:hover {
text-decoration: none;
color: #0066FF;
}
#p-nav .pBody {
padding-right: 0;
}
#p-nav a {
display: block;
width: 90%;
}
/* Special characters list below edit window works better without underlining */
#editpage-specialchars a { text-decoration: none; }
#editpage-specialchars a:hover { text-decoration: underline; }
/* If you don't want to see special characters list at all,
put the following line in your User:You/monobook.css file
(and remove the slash-asterisk comments) */
/* #editpage-specialchars { display: none; } */
/* Makes the background of a framed image white instead of gray. */
/* Only visible with transparent images. */
/* See #Framed_image_background_color */
div.thumb div a img {
background-color:#ffffff;
}
/* Standard talk template style */
.Talk-Notice {
border: 1px solid #C0C090;
background-color: #F8EABA;
margin-bottom: 3px;
width: 85%;
border-spacing: 3px;
margin-left: auto;
margin-right: auto;
}
/* Make template background appear correctly on all browsers */
.Talk-Notice td {
background: inherit;
}
/* Choose whether to have AD/BC dates or CE/BCE dates*/
/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/
.Use_Default_Date_Convention { display: inline; }
.Use_AD_and_BC { display: none; }
.Use_BCE_and_CE { display: none; }
/* If you want to display AD and BC add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:inline; }
.Use_BCE_and_CE { display:none; }
*/
/*If you want to display CE and BCE add the following to User:You/monobook.css page */
/*
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:none; }
.Use_BCE_and_CE {display:inline; }
*/
/*Add formatting to make sure that "external references" from [[Template:Ref]] do
not get URL expansion, not even when printed.
*/
.plainlinksneverexpand {
background: none ! important;
padding: 0 ! important;
}
.plainlinksneverexpand .urlexpansion {
display : none ! important;
}
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
the arrow...
*/
#bodyContent .plainlinksneverexpand a {
background: none !important;
padding: 0 !important
}
/* enlarge font-size for zh fonts */
#bodyContent { font-size:90% }
/* Fix Fontsize */
.portlet h5,
.portlet ul,
#toc .toctoggle {
font-size: 90%;
}
.pBody,
#footer,
div.thumb div {
font-size: 90%;
}
/*
#p-cactions li,
#p-cactions li.selected,
#p-cactions li a {
padding: 0.3em 0 0.1em 0;
margin: 0.3em;
}
*/
h2 {
font-weight: bold;
font-size: 100%;
}
/*
ul {
margin: 0.5em 0 0 1.5em;
}
*/
/*
</pre>
*/