“MediaWiki:Monobook.css”的版本间的差异
来自Whiteverse Library
跳到导航跳到搜索(未显示同一档案员的15个中间版本) | |||
第2行: | 第2行: | ||
/*背景*/ | /*背景*/ | ||
/* 黑白背景html { | |||
-webkit-filter: grayscale(100%); | |||
-moz-filter: grayscale(100%); | |||
-ms-filter: grayscale(100%); | |||
-o-filter: grayscale(100%); | |||
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); | |||
_filter:none; | |||
} */ | |||
body { | body { | ||
background: #d6d6d6 | background: #d6d6d6 | ||
} | } | ||
#column-one { | |||
padding-top: 14em; | |||
} | |||
/*内容块*/ | /*内容块*/ | ||
.mw-body { | .mw-body { | ||
margin: 4em 0 0 12.6em; | margin: 4em 0 0 12.6em; | ||
border: none; | border: none; | ||
border-radius: 0.5em; | border-radius: 0 0 0 0.5em; | ||
} | } | ||
.mw-body-content { | .mw-body-content { | ||
第52行: | 第62行: | ||
background-image: linear-gradient(to bottom,#ffffff 0,#fff 100%); | background-image: linear-gradient(to bottom,#ffffff 0,#fff 100%); | ||
} | } | ||
.oo-ui- | .oo-ui-popupToolGroup-active.oo-ui-widget-enabled{ | ||
background-color:white; | |||
background-image: linear-gradient(to bottom,#ffffff 0,#fff 100%); | background-image: linear-gradient(to bottom,#ffffff 0,#fff 100%); | ||
} | } | ||
第111行: | 第122行: | ||
/*侧栏*/ | /*侧栏*/ | ||
.portlet { | .portlet { | ||
width:150px !important; | |||
} | |||
.portlet ul { | .portlet ul { | ||
line-height: 1.8em; | line-height: 1.8em; | ||
list-style-image: none; | list-style-image: none; | ||
list-style: | list-style:none; | ||
} | } | ||
.portlet h3 { | .portlet h3 { | ||
background: | background:url(https://wiki.whiteverse.com/images/7/70/Woodecoration.png) no-repeat; | ||
color: #ffffff; | color: #ffffff; | ||
display: | display: block; | ||
height: | height:20px; | ||
width: | width: 150px; | ||
padding:0.5rem; | |||
} | } | ||
/*侧栏搜索框和按钮*/ | /*侧栏搜索框和按钮*/ | ||
#searchButton { | #searchButton { | ||
第166行: | 第178行: | ||
#p-cactions { | #p-cactions { | ||
position: absolute; | position: absolute; | ||
top: 2. | left: 10.74em; | ||
top:2.38em; | |||
} | } | ||
#p-cactions li { | #p-cactions li { | ||
第213行: | 第227行: | ||
border: 0px solid #aaa; | border: 0px solid #aaa; | ||
padding: 0.1em 0.8em 0.3em 0.5em; | padding: 0.1em 0.8em 0.3em 0.5em; | ||
} | } | ||
.pBody>ul>li:hover::before{ | |||
position:absolute; | |||
left:-10px; | |||
content:'>'; | |||
} | |||
.pBody a:link { | .pBody a:link { | ||
color: #4a4a4a; | color: #4a4a4a; |
2023年5月29日 (一) 23:41的最新版本
/* 这里放置的CSS将影响使用MonoBook皮肤的用户 */ /*背景*/ /* 黑白背景html { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); _filter:none; } */ body { background: #d6d6d6 } #column-one { padding-top: 14em; } /*内容块*/ .mw-body { margin: 4em 0 0 12.6em; border: none; border-radius: 0 0 0 0.5em; } .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; } .toc { display: table; border: 1px solid #969696; background-color: #eeeeee17; padding: 11px; float: right; } .warningbox { background-color: rgb(255 220 148); border: none; } #noticeheader{ width: 40em; background:#EEEEEE; color:#aeaeae; padding:0.5em; text-align:center; margin: auto auto 1.7em; border-radius: 5em; } pre, .mw-code { font-family: inherit; background-color: rgb(248 249 250 / 61%); } /*编辑*/ div.oo-ui-toolbar-bar { background:#ffffff; background-image:none; } span.oo-ui-popupToolGroup-active.oo-ui-widget-enabled { background-image: linear-gradient(to bottom,#ffffff 0,#fff 100%); } .oo-ui-popupToolGroup-active.oo-ui-widget-enabled{ background-color:white; background-image: linear-gradient(to bottom,#ffffff 0,#fff 100%); } div.oo-ui-progressBarWidget-bar { background-color: #c7c7c7; background-image: -webkit-gradient(linear, right top, right bottom, color-stop(0, #ac3939), color-stop(100%, #ac3939)); background-image: -webkit-linear-gradient(top, #ac3939 0, #ac3939 100%); background-image: -moz-linear-gradient(top, #ac3939 0, #ac3939 100%); background-image: linear-gradient(to bottom, #ac3939 0, #ac3939 100%); } div.ve-init-mw-progressBarWidget-bar { border-right: 1px solid #ccc; background: #ac3939; background-image: -webkit-gradient(linear, right top, right bottom, color-stop(0, #ac3939), color-stop(100%, #ac3939)); background-image: -webkit-linear-gradient(top, #ac3939 0, #ac3939 100%); background-image: -moz-linear-gradient(top, #ac3939 0, #ac3939 100%); background-image: linear-gradient(to bottom, #ac3939 0, #ac3939 100%); } .wikiEditor-ui-toolbar { background: #e6e6e6; } .wikiEditor-ui-toolbar .sections .section { background-color: #e6e6e6; } .editOptions { background-color: #e6e6e6; color: #757575; margin-bottom: -1.3em; } /*脚注*/ .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 { width:150px !important; } .portlet ul { line-height: 1.8em; list-style-image: none; list-style:none; } .portlet h3 { background:url(https://wiki.whiteverse.com/images/7/70/Woodecoration.png) no-repeat; color: #ffffff; display: block; height:20px; width: 150px; padding:0.5rem; } /*侧栏搜索框和按钮*/ #searchButton { background-color: #f1f1f1; border: none; font-weight: normal; width: 5em; } #searchButton:hover { background-color: #fff; } #searchButton: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 { background-color: #f1f1f1; margin:auto; display:block; border: none; } input.searchButton { margin-top: 6px; font-size: 95%; } /*上栏操作标签*/ #p-cactions { position: absolute; left: 10.74em; top:2.38em; } #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 { font-family:none; 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: white; color: #ac3939; border: 0px solid #aaa; padding: 0.1em 0.8em 0.3em 0.5em; } .pBody>ul>li:hover::before{ position:absolute; left:-10px; content:'>'; } .pBody a:link { color: #4a4a4a; } .pBody a:visited { color: #4a4a4a; } .pBody a:active { color: #444444; } .pBody a:hover { color: #5a5a5a; }