MediaWiki:Vector.css
来自中文乐谱库
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/* 这里放置的CSS将影响使用Vector皮肤的用户 */
#p-tb {
margin-top: 10px;
}
#bodyContent {
width:95%;
font-size:1em;
}
.mw-body {
width:82%;
}
.mw-body .mw-indicators {
display:none;
}
.mw-body p {
font-size: 14px;
color: #606060;
}
.mw-body a:visited {
font-size: 14px;
color: #8c8873;
}
.mw-body a {
text-decoration: none;
font-size: 14px;
color: #8c8873;
background: none;
}
pre, .mw-code {
display: block;
overflow-x: auto;
padding: 20px !important;
background: #ebeae4 !important;
border: none !important;
font-family: '微软雅黑','Consolas','Courier New',Courier,monospace !important;
font-size: 12px !important;
color:#606060;
}
div#mw-panel #p-logo + div.portal div.body {
margin: 0;
}
div#mw-panel div.portal {
background-image: none;
}
div#mw-panel div.portal div.body {
margin: 0;
}
div#mw-panel div.portal div.body ul {
border-top: 10px solid #ebeae4;
background: #bfbba5;
}
div#mw-panel div.portal div.body ul li {
border-bottom: 1px dotted #fff;
padding: 0.2em 10px;
line-height: 15px;
}
div#mw-panel div.portal div.body ul li:hover {
background: #024570;
}
div#mw-panel div.portal div.body ul li a {
font-size: 12px;
display: block;
color: #FFF;
font-weight: normal;
text-decoration: none;
text-transform: uppercase;
}
div#mw-panel div.portal div.body ul li a:visited {
color: #EEE;
}
div#mw-panel div.portal h3 {
font-size: 15px;
background: #024570;
color: white;
display: block;
padding: 5px 10px;
}
.mw-body h1 {
font-size: 2em;
font-family: "微软雅黑";
font-weight: bold;
}
.mw-body h2 {
font-size: 1.75em;
margin: 0;
padding: 10px 0px;
border-bottom: 1px solid #C0C0C0;
font-family: "微软雅黑";
font-weight: bold;
}
.mw-body h3 {
}
.mw-body a.external {
text-decoration: none;
color: #0092c1 !important;
border-bottom: 1px dashed;
padding-bottom: 2px;
}
/*a 链接前面的图形
.mw-body a.external:before {
content: "\27A5";
}*/
.mw-body code {
font-family: "Courier New",sans-serif !important;
font-size: 12px !important;
background-color: #f5f5f5 !important;
padding: 0 5px !important;
border-radius: 3px !important;
border:none;
line-height: 1.8;
margin: 1px 5px;
vertical-align: middle;
display: inline-block;
}
.mw-body blockquote {
background-color: #f7f7f7;
word-break: break-word;
font-weight: 400;
line-height: 30px;
padding: 1.5em;
background: #ebeae4;
border-left: 5px solid #bfbba5;
margin: 10px 10px 10px 0px;
}
#catlinks {
background-color: #f1f4f9;
color: #f1f4f9;
padding: 10px 0px;
border: none;
}
#catlinks li {
border: none;
}
#catlinks li a:link {
position: relative;
display: inline-block;
height: 30px;
padding: 0 12px;
line-height: 30px;
vertical-align: top;
text-decoration: none;
background: #fff;
color: #aaa;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 11px;
}
#catlinks li a:hover{
background: #024570;
color: white;
}
#mw-normal-catlinks > a {
position: relative;
display: inline-block;
height: 30px;
padding: 0px 0px 0px 20px;
line-height: 30px;
vertical-align: top;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 11px;
}
/* 编辑按钮 */
.editButtons input {
color: #fff;
background-color: #1890ff;
border-color: #1890ff;
text-shadow: 0 -1px 0 rgba(0,0,0,0.12);
-webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.045);
box-shadow: 0 2px 0 rgba(0,0,0,0.045);
line-height: 1.5;
position: relative;
display: inline-block;
font-weight: 400;
white-space: nowrap;
text-align: center;
background-image: none;
border: 1px solid transparent;
-webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.015);
box-shadow: 0 2px 0 rgba(0,0,0,0.015);
cursor: pointer;
-webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
transition: all .3s cubic-bezier(.645, .045, .355, 1);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: manipulation;
touch-action: manipulation;
height: 32px;
padding: 0 15px;
font-size: 14px;
border-radius: 4px;
border-color: #d9d9d9;
}
.editButtons input {
color: #fff;
background-color: #1890ff;
border-color: #1890ff;
text-shadow: 0 -1px 0 rgba(0,0,0,0.12);
-webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.045);
box-shadow: 0 2px 0 rgba(0,0,0,0.045);
line-height: 1.5;
position: relative;
display: inline-block;
font-weight: 400;
white-space: nowrap;
text-align: center;
background-image: none;
border: 1px solid transparent;
-webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.015);
box-shadow: 0 2px 0 rgba(0,0,0,0.015);
cursor: pointer;
-webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
transition: all .3s cubic-bezier(.645, .045, .355, 1);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: manipulation;
touch-action: manipulation;
height: 32px;
padding: 0 15px;
font-size: 14px;
border-radius: 4px;
border-color: #d9d9d9;
}
.editButtons input:hover {
background-color: #024570;
}
.editButtons input {
color: #fff;
background-color: #1890ff;
border-color: #1890ff;
text-shadow: 0 -1px 0 rgba(0,0,0,0.12);
-webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.045);
box-shadow: 0 2px 0 rgba(0,0,0,0.045);
line-height: 1.5;
position: relative;
display: inline-block;
font-weight: 400;
white-space: nowrap;
text-align: center;
background-image: none;
border: 1px solid transparent;
-webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.015);
box-shadow: 0 2px 0 rgba(0,0,0,0.015);
cursor: pointer;
-webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
transition: all .3s cubic-bezier(.645, .045, .355, 1);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: manipulation;
touch-action: manipulation;
height: 32px;
padding: 0 15px;
font-size: 14px;
border-radius: 4px;
border-color: #d9d9d9;
}
.editButtons input:hover {
background-color: #40a9ff;
}
#wpSave {
background-color: #009100;
}
#wpSave:hover {
background-color: #00A600;
}
.mango-alert {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
color: rgba(0,0,0,0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
padding: 8px 15px 8px 37px;
word-wrap: break-word;
border-radius: 4px;
margin: 10px 0px 10px 0px;
}
.mango-alert-info {
background-color: #e6f7ff;
border: 1px solid #91d5ff;
}
.mango-alert-warn {
background-color: #fffbe6;
border: 1px solid #ffe58f
}
.mango-alert-error {
background-color: #fff1f0;
border: 1px solid #ffa39e;
}
/**
* 左侧导航栏拓宽
*/
div#mw-panel {
width: 13em;
}
.mw-body {
margin-left: 14em;
}
#left-navigation {
margin-left: 14em;
}
#p-logo a {
width: 13em;
}
div#footer {
margin-left: 13em;
}
.vectorTabs li a {
color:#9e9b88;
}
a {
color:#9e9b88;
}
#catlinks {
background-color:#ebeae4;
}
#banner_top_inputbox{
display:none;
}
.tbale {
border-spacing: 0px;
}.mw-body h2 {
font-size: 1.75em;
margin: 0;
padding: 10px 0px;
border-bottom: 1px solid #C0C0C0;
font-family: "微软雅黑";
font-weight:normal;
}
.mw-body h2 {
font-size: 1.75em;
margin: 0;
padding: 10px 0px;
border-bottom: 1px solid #C0C0C0;
font-family: "微软雅黑";
font-weight:normal;
}
#banner_top p{
text-align:center;
}
.portable-infobox .pi-secondary-background {
background-color: #dcdad1;
}
/* mbox 字体缩小 */
.ambox th.mbox-text, .ambox td.mbox-text {
padding: 0.25em 0.5em;
font-size: .8em;
}
td.mbox-text {
border: none;
padding: 0.25em 0.9em;
width: 100%;
font-size: .8em;
}
a.new, a.new:visited, a.new:hover {
color: #dd3333;
}
#catlinks li a:link {
position: relative;
display: inline-block;
height: 30px;
padding: 0 12px;
line-height: 30px;
vertical-align: top;
text-decoration: none;
background: #fff;
color:#dd3333;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 11px;
}