mNo edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* This stylesheet affects all skins */ | /* This stylesheet affects all skins */ | ||
/* | /* | ||
===LIGHT BLUE SECTION=== | |||
*Reference: [[wikisource:zh:MediaWiki:Common.css|Wikisource's Common.css]] | |||
<source lang="css"> */ | <source lang="css"> */ | ||
/* Make all non-namespace pages have a light blue content area. This is done by | /* 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 | 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 | overriding it for any #content enclosed in a .ns-0 (main namespace). I then | ||
do the same for the "tab" background colors. --Lupo */ | do the same for the "tab" background colors. --Lupo */ | ||
#content { | #content { | ||
background: #F8FCFF; /* a light blue */ | background: #F8FCFF; /* a light blue */ | ||
} | } | ||
#content div.thumb { | #content div.thumb { | ||
border-color: #F8FCFF; | border-color: #F8FCFF; | ||
} | } | ||
.ns-0 * #content { | .ns-0 * #content { | ||
background: white; | background: white; | ||
} | } | ||
#mytabs li { | #mytabs li { | ||
background: #F8FCFF; | background: #F8FCFF; | ||
} | } | ||
.ns-0 * #mytabs li { | .ns-0 * #mytabs li { | ||
background: white; | background: white; | ||
} | } | ||
#mytabs li a { | #mytabs li a { | ||
background-color: #F8FCFF; | background-color: #F8FCFF; | ||
} | } | ||
.ns-0 * #mytabs li a { | .ns-0 * #mytabs li a { | ||
background-color: white; | background-color: white; | ||
} | } | ||
#p-cactions li a { | #p-cactions li a { | ||
background-color: #F8FCFF; | background-color: #F8FCFF; | ||
} | } | ||
.ns-0 * #p-cactions li a { | .ns-0 * #p-cactions li a { | ||
background-color: white; | background-color: white; | ||
} | } | ||
.ns-0 * #content div.thumb { | .ns-0 * #content div.thumb { | ||
border-color: white; | border-color: white; | ||
} | } /* | ||
</source> */ | |||
/* | /* | ||
/* | ===字型大小=== | ||
<source lang="css"> */ | |||
/* enlarge font-size for zh fonts */ | |||
#bodyContent { font-size:125% } | |||
/* | /* Fix Fontsize */ | ||
# | .portlet h5, | ||
.portlet ul, | |||
#toc .toctoggle { | |||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
.pBody, | |||
# | #footer, | ||
div.thumb div { | |||
font-size: 95%; | |||
} | } | ||
h2 { | |||
font-weight: bold; | |||
} /* | |||
</source> */ | |||
/* | /* | ||
===連結底線=== | |||
<source lang="css"> */ | |||
a { text-decoration: none } | |||
.portlet a { | |||
text-decoration: none; | |||
} | |||
.portlet a:hover { | |||
text-decoration: underline; | |||
} | |||
/* Special characters list below edit window works better without underlining */ | |||
#editpage-specialchars a { text-decoration: none; } | |||
#editpage-specialchars a:hover { text-decoration: underline; } | |||
/* | |||
</source> */ | |||
/* | |||
===列印設定=== | |||
<source lang="css"> */ | |||
@media print { | @media print { | ||
/* Do not print edit link in templates using Template:Ed | /* Do not print edit link in templates using Template:Ed | ||
Do not print certain classes that shouldn't appear on paper */ | Do not print certain classes that shouldn't appear on paper */ | ||
.editlink, .noprint, .metadata, .dablink { display: none } | .editlink, .noprint, .metadata, .dablink { display: none } | ||
} | } /* | ||
</source> */ | |||
/* | |||
/* | ===其他=== | ||
<source lang="css"> */ | |||
/* Donations link to be uncommented during fundraising drives */ | |||
font- | #siteNotice { | ||
margin-top:5px; | |||
padding-left: 4px; | |||
/* font-style: italic; */ | |||
font-style: normal; | |||
text-align: center; | |||
} | } | ||
/* Makes redirects appear in italics on [[Special:Allpages]] */ | |||
.allpagesredirect { | |||
font-style: italic; | |||
/* | |||
. | |||
} | } | ||
| Line 146: | Line 111: | ||
/* Experiment: slightly fade inactive tabs */ | /* Experiment: slightly fade inactive tabs */ | ||
#p-cactions a { | #p-cactions a { | ||
filter: alpha(opacity=90); | filter: alpha(opacity=90); | ||
} | } | ||
#p-cactions a:hover, #p-cactions .selected a { | #p-cactions a:hover, #p-cactions .selected a { | ||
filter: none; | filter: none; | ||
} | } | ||
#p-nav h5 { | #p-nav h5 { | ||
display: none; | display: none; | ||
} | } | ||
#p-nav .pBody { | #p-nav .pBody { | ||
padding-right: 0; | padding-right: 0; | ||
} | } | ||
#p-nav a { | #p-nav a { | ||
display: block; | display: block; | ||
| Line 177: | Line 128: | ||
} | } | ||
/* | /* Experimental poetry classes */ | ||
.poetry dd, dl, dt { | |||
margin:0 inherit !important; | |||
padding:0 !important; | |||
} | } | ||
.poetry dt { | |||
line-height:1em; | |||
} | } | ||
| Line 255: | Line 141: | ||
display: none; | display: none; | ||
speak: none; | speak: none; | ||
} | } /* | ||
/* | |||
</source> */ | </source> */ | ||
Latest revision as of 11:49, 5 June 2010
/* This stylesheet affects all skins */
/*
===LIGHT BLUE SECTION===
*Reference: [[wikisource:zh:MediaWiki:Common.css|Wikisource's Common.css]]
<source lang="css"> */
/* 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;
} /*
</source> */
/*
===字型大小===
<source lang="css"> */
/* enlarge font-size for zh fonts */
#bodyContent { font-size:125% }
/* Fix Fontsize */
.portlet h5,
.portlet ul,
#toc .toctoggle {
font-size: 100%;
}
.pBody,
#footer,
div.thumb div {
font-size: 95%;
}
h2 {
font-weight: bold;
} /*
</source> */
/*
===連結底線===
<source lang="css"> */
a { text-decoration: none }
.portlet a {
text-decoration: none;
}
.portlet a:hover {
text-decoration: underline;
}
/* Special characters list below edit window works better without underlining */
#editpage-specialchars a { text-decoration: none; }
#editpage-specialchars a:hover { text-decoration: underline; }
/*
</source> */
/*
===列印設定===
<source lang="css"> */
@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 }
} /*
</source> */
/*
===其他===
<source lang="css"> */
/* Donations link to be uncommented during fundraising drives */
#siteNotice {
margin-top:5px;
padding-left: 4px;
/* font-style: italic; */
font-style: normal;
text-align: center;
}
/* Makes redirects appear in italics on [[Special:Allpages]] */
.allpagesredirect {
font-style: italic;
}
/* 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;
}
#p-nav .pBody {
padding-right: 0;
}
#p-nav a {
display: block;
width: 100%;
}
/* Experimental poetry classes */
.poetry dd, dl, dt {
margin:0 inherit !important;
padding:0 !important;
}
.poetry dt {
line-height:1em;
}
/* allows hide-if-empty usage: [[WS:SCRIPTS]] */
.hideifempty {
display: none;
speak: none;
} /*
</source> */