MediaWiki:Monobook.css
外观
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer / Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
- 此樣式清單缺少說明文檔。請協助創建。
- 相關-{zh:連結;zh-hans:链接;zh-hant:連結;}-:子頁面列表 • -{zh-hans:链入; zh-hant:連入}- • -{zh-hans:重定向; zh-hant:重新導向}-
/* {{TOC右}}
== 字体 ==
=== 自动包绕 ===
<pre> */
#globalWrapper {font-size: 130%;}
/* </pre>
=== 字的大小定为115% ===
<pre> */
#bodyContent {font-size:115%;}
/* </pre>
=== 强制读者的浏览器以[[:w:Unicode|统一码]]显示 ===
<pre> */
#bodyContent {
font-family: 'DejaVu Sans','Lucida Sans Unicode','Lucida Grande','Doulos SIL','Arial Unicode MS','Charis SIL','TITUS Cyberbit Basic','Code2000','MV Boli',sans-serif;
font-family /**/:inherit;
}
/* </pre>
=== 浏览部分大写字母 ===
<pre> */
.portlet h5,
.portlet h6,
#p-personal ul,
#p-cactions li a {text-transform: none;}
/* </pre>
=== 三级至六级章节以虚下划线分隔 ===
<pre> */
h3 {
border-bottom: dotted 1px #aaa;
}
h4, h5, h6 {
border-bottom: dotted 1px #ddd;
}
/* </pre>
=== 调整网站顶部公告中使用的字体(来源:[[MediaWiki:Sitenotice]]) ===
<pre> */
#siteNotice {
margin-top:5px;
padding-left: 4px;
font-style: normal;
font-size: 90%;
text-align: center;
}
/* </pre>
=== 各页面顶部显示“维基词典,自由的多语言词典” ===
<pre> */
#siteSub {
display: inline;
font-size: 92%;
font-weight: normal;
border: none;
}
#bodyContent #siteSub a {
color: #000;
text-decoration: none;
background-color: transparent;
background-image: none;
padding-right: 0;
border: none;
}
/* </pre>
== 链接 ==
=== 隐藏链接的下划线 ===
<pre> */
:link { text-decoration: none; }
:visited { text-decoration: none; }
/* </pre>
=== 隐藏外部链接右侧显示的浅蓝箭头 ===
<pre> */
#bodyContent a[href ^="http://"] {
background: none !important;
padding-right: 0 !important; }
/* </pre>
=== 更粗的“用户页”与“编辑本页”链接 ===
<pre> */
#pt-login a,
#ca-edit a {font-weight: bold !important;}
/* </pre>
=== 登录图像 ===
<pre> */
.signUp {
position: absolute;
top: -36px;
right: 3px;
width: 16px;
height: 16px;
background: url(//upload.wikimedia.org/wiktionary/de/b/b7/SignUp-Logo.png) top left no-repeat;
}
/* </pre>
=== 隐藏资助链接 ===
<pre> */
/*
#fundraising {
text-align: center;
border: 1px solid gray;
padding: 5px;
}
*/
/* </pre>
== 颜色 ==
=== 防避丑的白边背景色 ===
<pre> */
div.thumb {border: none;}
div.tright {
border: none;
margin: 0.5em 0 0.8em 1.4em;
}
div.tleft {
border: none;
margin: 0.5em 1.4em 0.8em 0;
}
/* </pre>
=== 背景色 ===
<pre> */
#content,
#mytabs li.selected a,
#p-cactions li.selected a {background-color: #fffff3;}
.ns-0 #content,
.ns-0 #mytabs li.selected a,
.ns-0 #p-cactions li.selected a {background-color: #ffffff;}
.ns--1 table,
.ns-2 table,
.ns-4 table,
.ns--1 form {background: inherit;}
/* </pre>
=== 用户页面使用浅蓝背景色 ===
<pre> */
.ns-2 * #content {background: #f8fcff;}
.ns-2 * #p-cactions li {background: #f8fcff;}
.ns-2 * #p-cactions li a {background: #f8fcff;}
/* </pre>
=== 分类页面使用浅桔背景色 ===
<pre> */
.ns-14 * #content {background: #fffbee;}
.ns-14 * #p-cactions li {background: #fffbee;}
.ns-14 * #p-cactions li a {background: #fffbee;}
/* </pre>
=== 索引页面使用浅灰背景色 ===
<pre> */
.ns-102 * #content {background: #f2f2f2;}
.ns-102 * #p-cactions li {background: #f2f2f2;}
.ns-102 * #p-cactions li a {background: #f2f2f2;}
/* </pre>
=== 讨论页面一律使用浅蓝背景色 ===
<pre> */
.ns-1 * #content {background: #f8fcff;}
.ns-1 * #p-cactions li {background: #f8fcff;}
.ns-1 * #p-cactions li a {background: #f8fcff;}
.ns-3 * #content {background: #f8fcff;}
.ns-3 * #p-cactions li {background: #f8fcff;}
.ns-3 * #p-cactions li a {background: #f8fcff;}
.ns-5 * #content {background: #f8fcff;}
.ns-5 * #p-cactions li {background: #f8fcff;}
.ns-5 * #p-cactions li a {background: #f8fcff;}
.ns-7 * #content {background: #f8fcff;}
.ns-7 * #p-cactions li {background: #f8fcff;}
.ns-7 * #p-cactions li a {background: #f8fcff;}
.ns-9 * #content {background: #f8fcff;}
.ns-9 * #p-cactions li {background: #f8fcff;}
.ns-9 * #p-cactions li a {background: #f8fcff;}
.ns-11 * #content {background: #f8fcff;}
.ns-11 * #p-cactions li {background: #f8fcff;}
.ns-11 * #p-cactions li a {background: #f8fcff;}
.ns-13 * #content {background: #f8fcff;}
.ns-13 * #p-cactions li {background: #f8fcff;}
.ns-13 * #p-cactions li a {background: #f8fcff;}
.ns-15 * #content {background: #fffbee;}
.ns-15 * #p-cactions li {background: #fffbee;}
.ns-15 * #p-cactions li a {background: #fffbee;}
/* </pre>
=== 讨论页面回复后的背景颜色衬托效果 ===
<pre> */
.ns-1 dd, .ns-3 dd, .ns-5 dd, .ns-7 dd, .ns-9 dd, .ns-11 dd, .ns-13 dd,.ns-15 dd
{
margin: 0;
padding: 0;
}
.ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl, .ns-11 dl, .ns-13 dl, .ns-15 dl
{
border-top: solid 1px #d5e9fd;
border-left: solid 1px #d5e9fd;
padding-top: 0.5em;
padding-left: 0.5em;
margin-left: 1em;
}
.ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl, .ns-11 dl, .ns-13 dl, .ns-15 dl
{ background-color: #d5e9fd; }
.ns-1 dl dl, .ns-3 dl dl, .ns-5 dl dl, .ns-7 dl dl, .ns-9 dl dl, .ns-11 dl dl, .ns-13 dl dl, .ns-15 dl dl
{ background-color: #f8fcff; }
.ns-1 dl dl dl, .ns-3 dl dl dl, .ns-5 dl dl dl, .ns-7 dl dl dl, .ns-9 dl dl dl, .ns-11 dl dl dl, .ns-13 dl dl dl, .ns-15 dl dl dl
{ background-color: #d5e9fd; }
.ns-1 dl dl dl dl, .ns-3 dl dl dl dl, .ns-5 dl dl dl dl, .ns-7 dl dl dl dl, .ns-9 dl dl dl dl, .ns-11 dl dl dl dl, .ns-13 dl dl dl dl, .ns-15 dl dl dl dl
{ background-color: #f8fcff; }
.ns-1 dl dl dl dl dl, .ns-3 dl dl dl dl dl, .ns-5 dl dl dl dl dl, .ns-7 dl dl dl dl dl, .ns-9 dl dl dl dl dl, .ns-11 dl dl dl dl dl, .ns-13 dl dl dl dl dl, .ns-15 dl dl dl dl dl
{ background-color: #d5e9fd; }
.ns-1 dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl
{ background-color: #f8fcff; }
.ns-1 dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl,
.ns-11 dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl
{ background-color: #d5e9fd; }
.ns-1 dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl
{ background-color: #f8fcff; }
.ns-1 dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl
{ background-color: #d5e9fd; }
.ns-1 dl dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl dl
{ background-color: #f8fcff; }
.ns-1 dl dl dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl dl dl
{ background-color: #d5e9fd; }
.ns-1 dl dl dl dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl dl dl dl, .ns-5 dl dl dl dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl dl dl dl, .ns-9 dl dl dl dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl dl dl dl, .ns-13 dl dl dl dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl dl dl dl
{ background-color: #f8fcff; }
/* </pre>
=== 编辑历史版本对比,非单一的颜色对比 ===
<pre> */
.diffchange {
font-weight: bold;
background-color: inherit;
}
td.diff-addedline, td.diff-deletedline, td.diff-context {
font-size: 85%;
color: inherit;
}
/* </pre>
=== 最近更改选项 ===
<pre> */
.rcoptions {
background-color: #ffffff;
border: 1px solid #aaaaaa;
padding: 3px 8px;
}
/* </pre>
=== 在[[Special:Recentchanges|最近更改]]中编辑字元单位以深红与深绿色突出 ===
<pre> */
.mw-plusminus-pos {
color:darkgreen;
}
.mw-plusminus-neg {
color:darkred;
}
/* </pre>
=== 最近更改中的新建条目的“新”字符以桔色显示 (来源:[[MediaWiki:Newpageletter]]) ===
<pre> */
.newpage {
color: #ffa500;
}
/* </pre>
=== 突出左侧工具栏栏边的颜色 ===
<pre> */
#navbox ul li {
list-style: none;
margin-left: -1em;
}
#navtree ul {
padding-left: .5em;
}
.pBody {
border: thin solid gold;
padding: 0.3em 0.1em;
}
.portlet h5 {
border: thin solid silver;
}
/* </pre>
== 其他 ==
=== 特别字元调板 ===
<pre> */
.NavToggle {
font-size: x-small;
float: right;
}
/* </pre>
=== 创建账户与浏览部分 ===
<pre> */
.portlet h5 {background-color: #e8e8e8;}
/* </pre>
=== 怀旧皮肤 ===
<pre> */
.toccolours {
border:1px solid #aaaaaa;
background-color:#f9f9f9;
padding:5px;
font-size: 95%;
}
/* </pre>
=== 分类显示 ===
<pre> */
#catlinks {
border: 0px;
border-top: 2px dotted #aaaaaa;
}
/* </pre>
=== 粗大表格题目(加号 |+) ===
<pre> */
caption {
font-size: 105%;
font-weight: bold;
}
/* </pre>
== 右上角显示的小标志 ==
<pre> */
h1.firstHeading {
background-position: bottom right; background-repeat: no-repeat;
}
/* </pre>
=== 特殊 ===
<pre> */
body.ns--1 h1.firstHeading {
background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/6/68/Nuvola_apps_package_development.png/16px-Nuvola_apps_package_development.png');
}
/* </pre>
=== 用户 ===
<pre> */
body.ns-2 h1.firstHeading, body.ns-3 h1.firstHeading {
background-image: url('/skins/monobook/user.gif');
}
/* </pre>
=== 维基词典 ===
<pre> */
body.ns-4 h1.firstHeading, body.ns-5 h1.firstHeading {
background-image: url('/favicon.ico');
}
/* </pre>
=== 图像 ===
<pre> */
body.ns-6 h1.firstHeading, body.ns-7 h1.firstHeading {
background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/2/22/Nuvola_apps_package_graphics.png/16px-Nuvola_apps_package_graphics.png');
}
/* </pre>
=== 系统 ===
<pre> */
body.ns-8 h1.firstHeading, body.ns-9 h1.firstHeading {
background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Tournesol.png/16px-Tournesol.png');
}
/* </pre>
=== 模板 ===
<pre> */
body.ns-10 h1.firstHeading, body.ns-11 h1.firstHeading {
background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Nuvola_apps_kig.png/16px-Nuvola_apps_kig.png');
}
/* </pre>
=== 帮助 ===
<pre> */
body.ns-12 h1.firstHeading, body.ns-13 h1.firstHeading {
background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/d/d8/Nuvola_apps_ktip.png/16px-Nuvola_apps_ktip.png');
}
/* </pre>
=== 分类 ===
<pre> */
body.ns-14 h1.firstHeading, body.ns-15 h1.firstHeading {
background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Nuvola_filesystems_folder_blue.png/16px-Nuvola_filesystems_folder_blue.png');
}
/* </pre>
== 跨语言与跨计划链接 ==
/*
{{kwj|
*{{kwj/WP|MediaWiki:Monobook.css}}
*{{kwj/WB|MediaWiki:Monobook.css}}
*{{kwj/WQ|MediaWiki:Monobook.css}}
*{{kwj/WN|MediaWiki:Monobook.css}}
*{{kwj/WS|MediaWiki:Monobook.css}}
*{{kwj/SP|MediaWiki:Monobook.css}}
*{{kwj/WC|MediaWiki:Monobook.css}}
*{{kwj/MW|MediaWiki:Monobook.css}}
*{{kwj/WZ|MediaWiki:Monobook.css}}
}}
[[ar:MediaWiki:Monobook.css]]
[[bg:MediaWiki:Monobook.css]]
[[de:MediaWiki:Monobook.css]]
[[en:MediaWiki:Monobook.css]]
[[eo:MediaWiki:Monobook.css]]
[[es:MediaWiki:Monobook.css]]
[[fi:MediaWiki:Monobook.css]]
[[fr:MediaWiki:Monobook.css]]
[[ja:MediaWiki:Monobook.css]]
[[ko:MediaWiki:Monobook.css]]
[[nl:MediaWiki:Monobook.css]]
[[ru:MediaWiki:Monobook.css]]
[[vi:MediaWiki:Monobook.css]]
*/