注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
?_=1
来访问最新页面。https://mzh.moegirl.org.cn/User:BearBin/vector.css?_=1
/** * 使用稍旧浏览器的用户请勿直接抄用,可以使用less在线编译工具(https://www.wetools.com/less-to-css)编译后使用 */ /* 用户工具栏固定 */ #p-personal { position: fixed; /* 提醒和通知位置微调 */ #pt-notifications-alert, #pt-notifications-notice { margin-top: 1em; } } #p-sidebar-categoryindex { display: none; } /* 工具栏不常用项目 */ #t-permalink, #t-print { display: none; } .mw-special-Contributions { .mw-plusminus-pos, .mw-plusminus-neg, .mw-plusminus-null { display: inline-block; width: 5.3em; margin-left: -0.3em; } .mw-redirect { &~.mw-plusminus-pos, &~.mw-plusminus-neg, &~.mw-plusminus-null { width: 3.5em; } } } body.skin-vector.mediawiki, #bearbin-background { background-image: url("https://imgvb.com/images/2024/03/15/d385d3aeab2683b2bc405eaa9b33aede.jpg"), url("https://s2.loli.net/2024/03/15/W7Owk3ofCz2HiRn.jpg"); background-size: cover; background-attachment: fixed; background-position: 65% 40%; } #bearbin-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -99999; background-attachment: local; } #left-navigation, #right-navigation { margin-top: 80px; } div#mw-page-base { height: 120px; } div#content { background-color: rgb(247 251 255 / 74%); } /* 信息栏怎么可以挡住我的妹子 */ .infoBoxContent { background-color: rgb(251 251 251 / 60%); } /* 缩略图和画廊的白底也好碍眼 */ li.gallerybox div.thumb, div.thumbinner, .toc, .mw-warning, .toccolours { background-color: rgb(248 249 250 / 60%); } /* 表格也不能拦着我看妹子! */ .mw-parser-output, #mw-content-text { & table.wikitable { background-color: rgb(251 251 251 / 60%); >tr, >*>tr { >th { background-color: rgb(234 236 240 / 60%); text-align: center; } } } } /* 代码块也不能拦着我看妹子! */ pre, .mw-code, .diff-context, #pagehistory li.selected { background-color: rgb(248 249 250 / 55%); } li { &.L1, &.L3, &.L5, &.L7, &.L9 { background: rgb(238 238 238 / 45%); } } /* JSON页 */ table.mw-json { & tr { background-color: rgba(234 236 240 / 50%) !important; } & th { background-color: rgb(255 255 255 / 50%) !important; } .value, .mw-json-single-value { background-color: rgba(224 249 228 / 50%) !important; } } /* 专辑当然也不行! */ .tracklist { .tlheadline, >table>tbody>tr:nth-child(2n+3), &.tracklist-switch>table>tbody>tr:nth-child(2n+4) { background-color: rgb(255 255 255 / 75%) !important; } >table>tbody>tr:nth-child(2n+4), &.tracklist-switch>table>tbody>tr:nth-child(2n+3) { background-color: rgb(243 243 243 / 75%) !important; } } /* 模板文档 */ .template-documentation { background-color: rgb(240 248 255 / 60%) !important; } .mw-widget-dateInputWidget-handle, .mw-contributions-form select, textarea { background: rgb(255 255 255 / 70%); &[readonly] { background: rgb(248 249 250 / 70%); } } .oo-ui-textInputWidget { & input, & textarea { background: rgb(255 255 255 / 70%); } &.oo-ui-widget-enabled { & input, & textarea { &[readonly] { background: rgb(248 249 250 / 70%); } } } &.oo-ui-widget-disabled { & input, & textarea { background: rgb(234 236 240 / 70%); } } } /* 投票 */ .ajaxpoll { background: rgb(250 250 250 / 70%); } .mw-special-Newpages .not-patrolled { background: rgb(255 255 170 / 70%); } /* 月报 */ #mw-content-text .moegirlMonthlyReport-v202112-root { background: rgb(255 255 255 / 50%); } /* 以下代码来自[[MediaWiki:Gadget-SideBarPic.css]],用于解决更换背景图片后左侧工具栏显示的问题 */ .sidebar-character { position: fixed; left: -3px; z-index: -2; &.top { top: 0; } &.bottom { bottom: 0; } &.active { display: block; } } #wglogo { display: none; } #mw-panel { & div.portal { background-color: rgb(246 246 246 / 90%); margin-left: -0.75em; margin-right: 0; padding-left: 1.5em; padding-right: 0.95em; } #p-logo { height: 160px; &+div.portal { padding-top: 1.1em; margin-top: 0; } .mw-wiki-logo { background-image: url("https://img.moegirl.org.cn/logo/zhMoegirl15.2.png"); height: 160px; } } } #footer { background-color: rgb(255 255 255 / 45%); #footer-moegirl { .copyright { color: #2F2F2F; } } }