“MediaWiki:Monobook.css”的版本间的差异
来自Whiteverse Library
跳到导航跳到搜索| 第1行: | 第1行: | ||
/* 这里放置的CSS将影响使用MonoBook皮肤的用户 */ | /* 这里放置的CSS将影响使用MonoBook皮肤的用户 */ | ||
/* | |||
/*背景*/ | |||
body { | |||
background: #d6d6d6 | |||
} | |||
/*内容块*/ | |||
.mw-body { | .mw-body { | ||
margin: 4em 0 0 12.6em; | margin: 4em 0 0 12.6em; | ||
border: none; | |||
} | } | ||
.mw-body-content { | |||
background-image: url('https://wiki.whiteverse.com/images/d/d8/Wv_logo.png'); | |||
background-repeat: no-repeat; | |||
background-position: 90% 15%; | |||
background-attachment: fixed; | |||
border: 0px solid #aaaaaa; | |||
} | |||
/*脚注*/ | |||
.mw-footer { | .mw-footer { | ||
background-color: #e4e4e4; | background-color: #e4e4e4; | ||
| 第16行: | 第31行: | ||
.mw-footer a { | .mw-footer a { | ||
color: #5c7586; | color: #5c7586; | ||
} | |||
#footerafterfooter { | |||
text-align: center; | |||
color: #a9a9a9; | |||
background: #e4e4e4; | |||
padding: 1em; | |||
} | |||
#footerafterfooter a { | |||
color: #a9a9a9; | |||
} | |||
#footerafterfooter a:hover { | |||
color: #b3b3b3; | |||
} | } | ||
/*侧栏*/ | |||
portlet ul { | portlet ul { | ||
line-height: 1.8em; | line-height: 1.8em; | ||
| 第29行: | 第54行: | ||
padding: 0 1em 1em 0.5em; | padding: 0 1em 1em 0.5em; | ||
} | } | ||
#p-cactions | /*侧栏搜索框和按钮*/ | ||
#searchGoButton { | |||
background-color: #f1f1f1; | |||
border: none; | |||
font-weight: normal; | |||
width: 5em; | |||
} | |||
#searchGoButton:hover { | |||
background-color: #fff; | |||
} | |||
#searchGoButton:active { | |||
background-color: #c1c1c1; | |||
} | |||
#mw-searchButton { | |||
background-color: #f1f1f1; | |||
border: none; | |||
font-weight: normal; | |||
width: 5em; | |||
} | |||
#mw-searchButton:hover { | |||
background-color: #fff; | |||
} | |||
#mw-searchButton:active { | |||
background-color: #c1c1c1; | |||
} | |||
#searchInput { | |||
border: none; | |||
} | |||
input.searchButton { | |||
margin-top: 6px; | |||
font-size: 95%; | |||
} | |||
/*上栏操作标签*/ | |||
#p-cactions { | |||
position: absolute; | |||
top: 2.5em; | |||
} | } | ||
#p-cactions li { | #p-cactions li { | ||
border: none; | border: none; | ||
padding: 0; | padding: 0; | ||
} | |||
#p-cactions li.selected { | |||
background:#ffffff; | |||
border: none; | |||
} | } | ||
#p-cactions li a { | #p-cactions li a { | ||
| 第41行: | 第104行: | ||
color: #4a4a4a; | color: #4a4a4a; | ||
} | } | ||
/*个人*/ | |||
#p-personal { | #p-personal { | ||
position: absolute; | position: absolute; | ||
| 第52行: | 第113行: | ||
display: inline; | display: inline; | ||
} | } | ||
#p-personal li { | #p-personal li { | ||
border: none; | border: none; | ||
margin-left: 2em; | margin-left: 2em; | ||
line-height: 3em; | line-height: 3em; | ||
} | } | ||
#p-personal li a { | #p-personal li a { | ||
color: #6d6d6d; | color: #6d6d6d; | ||
| 第70行: | 第128行: | ||
background-image:none; | background-image:none; | ||
} | } | ||
/*边缘*/ | |||
.pBody { | .pBody { | ||
background-color: #e4e4e4; | background-color: #e4e4e4; | ||
| 第94行: | 第147行: | ||
color: #5a5a5a; | color: #5a5a5a; | ||
} | } | ||
/*以下是模板样式*/ | /*以下是模板样式*/ | ||
2021年7月24日 (六) 11:23的版本
/* 这里放置的CSS将影响使用MonoBook皮肤的用户 */
/*背景*/
body {
background: #d6d6d6
}
/*内容块*/
.mw-body {
margin: 4em 0 0 12.6em;
border: none;
}
.mw-body-content {
background-image: url('https://wiki.whiteverse.com/images/d/d8/Wv_logo.png');
background-repeat: no-repeat;
background-position: 90% 15%;
background-attachment: fixed;
border: 0px solid #aaaaaa;
}
/*脚注*/
.mw-footer {
background-color: #e4e4e4;
border: 0px solid;
padding: 0.4em 0 0.3em 0;
margin: 0.6em 0 1.4em 0;
overflow: hidden;
text-align: center;
font-size: 90%;
color: #a9a9a9;
}
.mw-footer a {
color: #5c7586;
}
#footerafterfooter {
text-align: center;
color: #a9a9a9;
background: #e4e4e4;
padding: 1em;
}
#footerafterfooter a {
color: #a9a9a9;
}
#footerafterfooter a:hover {
color: #b3b3b3;
}
/*侧栏*/
portlet ul {
line-height: 1.8em;
}
.portlet h3 {
background: #e4e4e4;
color: #6d6d6d;
padding: 0 1em 1em 0.5em;
}
/*侧栏搜索框和按钮*/
#searchGoButton {
background-color: #f1f1f1;
border: none;
font-weight: normal;
width: 5em;
}
#searchGoButton:hover {
background-color: #fff;
}
#searchGoButton:active {
background-color: #c1c1c1;
}
#mw-searchButton {
background-color: #f1f1f1;
border: none;
font-weight: normal;
width: 5em;
}
#mw-searchButton:hover {
background-color: #fff;
}
#mw-searchButton:active {
background-color: #c1c1c1;
}
#searchInput {
border: none;
}
input.searchButton {
margin-top: 6px;
font-size: 95%;
}
/*上栏操作标签*/
#p-cactions {
position: absolute;
top: 2.5em;
}
#p-cactions li {
border: none;
padding: 0;
}
#p-cactions li.selected {
background:#ffffff;
border: none;
}
#p-cactions li a {
background-color: #e4e4e4;
color: #4a4a4a;
}
/*个人*/
#p-personal {
position: absolute;
left: 0;
top: 0;
z-index:0;
display: inline;
}
#p-personal li {
border: none;
margin-left: 2em;
line-height: 3em;
}
#p-personal li a {
color: #6d6d6d;
}
#p-personal li a:hover {
color:#828282;
background:#d6d6d6;
}
li#pt-userpage, li#pt-anonuserpage{
background-image:none;
}
/*边缘*/
.pBody {
background-color: #e4e4e4;
border: 0px solid #aaa;
padding: 0.1em 0.8em 0.3em 0.5em;
}
.pBody a:link {
color: #4a4a4a;
}
.pBody a:visited {
color: #4a4a4a;
}
.pBody a:active {
color: #444444;
}
.pBody a:hover {
color: #5a5a5a;
}
/*以下是模板样式*/
span.blackbackground {
background-color: #000000;
}
span.blackbackground:hover {
background-color: #ffffff;
}
span.completeblackbackground {
background-color: #000000;
}
#mediawikiwvlogo {
border-radius: 8px;
background-image: linear-gradient(to right, #d53e61, #cec6cc, #3ed1d5);
}
#stubbg {
border-radius: 8px;
background-image: linear-gradient(to right, #41cf84, #28d3dd);
}
#tucs {
border-radius: 4px;
width: 233px;
height: 20px;
background-image: linear-gradient(to right, #2375c0, #325c62);
color: white;
text-align: center;
}
#accesscontrol {
border-radius: 4px;
width: 233px;
height: 20px;
background-image: linear-gradient(to right, #DBA901, #D7DF01);
color: white;
text-align: center;
}