MediaWiki:Common.css:修订间差异
跳到导航
跳到搜索
imported>=海豚= 无编辑摘要 |
小无编辑摘要 |
||
(未显示4个用户的118个中间版本) | |||
第1行: | 第1行: | ||
/* 放置于这里的CSS将应用于所有皮肤 */ | /* 放置于这里的CSS将应用于所有皮肤 */ | ||
/*全站样式*/ | /*全站样式*/ | ||
body { | body { | ||
-moz-hyphens: auto; | |||
-webkit-hyphens: auto; | |||
hyphens: auto; | |||
} | } | ||
.mw-body-content { | .mw-body-content { | ||
line-height: 1.85; | |||
} | } | ||
.mw-label { | .mw-label { | ||
white-space: nowrap; | |||
} | } | ||
body .ui-dialog .ui-widget-header { | body .ui-dialog .ui-widget-header { | ||
background: #f1f1f1 !important; | |||
} | } | ||
body .ui-button { | body .ui-button { | ||
box-shadow: 0 0 0 0 !important; | |||
} | } | ||
:: | .ns-0 h2{ | ||
overflow: visible; | |||
border-bottom: none; | |||
} | |||
.ns-0 h2 .mw-headline{ | |||
display: inline-block; | |||
padding: 0.7px 0; | |||
} | |||
.ns-0 h2 .mw-headline::after{ | |||
content: ''; | |||
display: block; | |||
background-color: #e0e04173; | |||
height: 0.7em; | |||
margin: -0.7em 0 0 -0.5em; | |||
width: 100%; | |||
border-radius: 0.35em; | |||
} | } | ||
::-webkit-scrollbar { | ::-webkit-scrollbar { | ||
height: 10px; | |||
width: 10px; | |||
} | } | ||
::-webkit-scrollbar-thumb { | ::-webkit-scrollbar-thumb { | ||
background: rgb(213, 213, 213); | |||
border-radius: 6px; | |||
} | } | ||
::-webkit-scrollbar-thumb:hover { | ::-webkit-scrollbar-thumb:hover { | ||
background: rgb(196, 196, 196); | |||
} | } | ||
/* 公告栏滚动Rollnews */ | /* 公告栏滚动Rollnews */ | ||
#scrollDiv { | #scrollDiv { | ||
width: 100%; | |||
height: 27px; | |||
line-height: 25px; | |||
overflow: hidden | |||
} | } | ||
#scrollDiv ul { | #scrollDiv ul { | ||
margin-left: 0!important; | |||
} | } | ||
#scrollDiv li { | #scrollDiv li { | ||
height: 25px; | |||
padding-left: 0px; | |||
list-style: none; | |||
} | } | ||
/* 链接显示效果 */ | |||
a:hover { | |||
text-decoration: none!important; | |||
/* | color: #2a4b8d; | ||
} | } | ||
#ca-conv{ | |||
float: right; | |||
} | } | ||
#catlinks { | #catlinks { | ||
第218行: | 第75行: | ||
} | } | ||
.oo-ui-popupWidget-anchored-top { | .oo-ui-popupWidget-anchored-top { | ||
z-index: 10000; | |||
} | } | ||
#mp-banner { | #mp-banner { | ||
margin: -1.7em; | |||
margin-top: -4.1em; | |||
background-image: url(/index.php/Special:FilePath/80468767.jpg); | |||
} | } | ||
#footer { | #footer { | ||
margin-left: 12.4em; | |||
padding: 1.25em; | |||
} | } | ||
/* 标题字型调整*/ | /* 标题字型调整*/ | ||
#firstHeading { | #firstHeading { | ||
font-family: sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |||
font-weight: 500; | |||
padding-bottom: 6px; | |||
font-size: 170%; | |||
} | } | ||
h2, | h2, h3, h4, h5, h6 { | ||
h3, | |||
h4, | |||
h5, | |||
h6 { | |||
color: #404040 !important; | color: #404040 !important; | ||
line-height: 1.8 !important; | line-height: 1.8 !important; | ||
第254行: | 第99行: | ||
} | } | ||
.mw-body-content h2 { | .mw-body-content h2 { | ||
font-weight: 540; | |||
} | } | ||
#siteSub { | #siteSub { | ||
display: inline; | |||
font-size: 100%; | |||
font-weight: 400; /* 400 = normal */ | |||
font-style: normal; | |||
text-align: right; | |||
padding-top: 11px; | |||
padding: 0.1em; | |||
} | } | ||
@keyframes shake { | @keyframes shake { | ||
0%, | |||
50% { | |||
transform: rotate(5deg) scale(1.05); | |||
} | |||
25%, | |||
75% { | |||
transform: rotate(-5deg) scale(1.05); | |||
} | |||
100% { | |||
transform: rotate(0deg) scale(1.05); | |||
} | |||
} | } | ||
.oo-ui-actionFieldLayout-input { | .oo-ui-actionFieldLayout-input { | ||
font-size: 95%; | |||
} | |||
/* 搜索界面 */ | |||
.mw-search-results { | |||
max-width: 50em; | |||
} | } | ||
/* 最近更改页面 */ | /* 最近更改页面 */ | ||
.mw-changeslist-legend { | .mw-changeslist-legend { | ||
display: block!important; | |||
} | } | ||
/* info类模板 */ | /* info类模板 */ | ||
.infoBox { | .infoBox { | ||
width:80%; | |||
margin: 0 auto; | |||
box-shadow: 0 1px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12), 0 2px 1px -2px rgba(0,0,0,.2); | |||
} | } | ||
.infoBoxx { | .infoBoxx { | ||
border-radius: 5px; | |||
overflow: hidden; | |||
} | } | ||
.infobox { | .infobox { | ||
margin-top: 0.4em ; | |||
margin-left: 2em; | |||
padding: 0.3em; | |||
width: 285px; | |||
float: right; | |||
clear: right; | |||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); | |||
border-radius: 4px; | |||
overflow: hidden; | |||
background: rgba(251,251,251,0.7); | |||
} | } | ||
.infotemplatebox { | .infotemplatebox { | ||
margin-top: 0.4em ; | |||
margin-left: 2em; | |||
padding: 0.03em; | |||
width: 285px; | |||
float: right; | |||
clear: right; | |||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); | |||
border-radius: 4px; | |||
overflow: hidden!important; | |||
background: rgba(251,251,251,0.7); | |||
} | } | ||
/* 编辑历史调整*/ | /* 编辑历史调整*/ | ||
#pagehistory li.selected { | #pagehistory li.selected { | ||
background-color: transparent; | |||
} | } | ||
/* 编辑区帮助 */ | /* 编辑区帮助 */ | ||
.editHelp { | .editHelp { | ||
display: inline-block!important; | |||
} | } | ||
/* 隐藏编辑提示修改和上传文件协议 */ | /* 隐藏编辑提示修改和上传文件协议 */ | ||
div.sysop-show, p.sysop-show { | div.sysop-show, p.sysop-show { | ||
display: none; | |||
} | } | ||
.mw-htmlform-field-Licenses{ | .mw-htmlform-field-Licenses{ | ||
display: none; | |||
} | } | ||
/* 斜体字右边距加大看以防止文字挤在一起 */ | /* 斜体字右边距加大看以防止文字挤在一起 */ | ||
#mw-content-text i { | #mw-content-text i { | ||
margin-right: 3px; | |||
} | } | ||
/* Extension:MultimediaViewer的半透明化修改 | /* Extension:MultimediaViewer的半透明化修改 */ | ||
.mw-mmv-overlay { | .mw-mmv-overlay { | ||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
background-color: rgba(0,0,0,0.8); | |||
opacity: 0.73; | |||
} | } | ||
body.mediawiki.mw-mmv-lightbox-open #mw-page-base, | body.mediawiki.mw-mmv-lightbox-open #mw-page-base, | ||
第422行: | 第205行: | ||
body.mediawiki.mw-mmv-lightbox-open #footer, | body.mediawiki.mw-mmv-lightbox-open #footer, | ||
body.mediawiki.mw-mmv-lightbox-open #globalWrapper { | body.mediawiki.mw-mmv-lightbox-open #globalWrapper { | ||
display: inherit; | |||
} | } | ||
body.mediawiki.mw-mmv-lightbox-open > * | body.mediawiki.mw-mmv-lightbox-open > * { | ||
display: inherit; | |||
} | } | ||
body.mediawiki.mw-mmv-lightbox-open > script, | body.mediawiki.mw-mmv-lightbox-open > script, | ||
body.mediawiki.mw-mmv-lightbox-open > style { | body.mediawiki.mw-mmv-lightbox-open > style { | ||
display: none; | |||
} | } | ||
body.mediawiki.mw-mmv-lightbox-open { | body.mediawiki.mw-mmv-lightbox-open { | ||
overflow: hidden; | |||
} | } | ||
body .mw-mmv-wrapper { | body .mw-mmv-wrapper { | ||
position: fixed; | |||
} | } | ||
/* mutilmediaViewer 信息栏修复 */ | /* mutilmediaViewer 信息栏修复 */ | ||
.mw-mmv-image-metadata-column.mw-mmv-image-metadata-desc-column { | .mw-mmv-image-metadata-column.mw-mmv-image-metadata-desc-column { | ||
width: 30%; | |||
} | } | ||
.mw-mmv-image-metadata-column.mw-mmv-image-metadata-links-column { | .mw-mmv-image-metadata-column.mw-mmv-image-metadata-links-column { | ||
width: 70%; | |||
max-width: 70%; | |||
} | } | ||
ul.mw-mmv-image-links li { | ul.mw-mmv-image-links li { | ||
float: left; | |||
padding: .3em 1em; | |||
} | } | ||
div.mw-mmv-image-desc-div, | div.mw-mmv-image-desc-div, | ||
div.mw-mmv-image-links-div{ | div.mw-mmv-image-links-div{ | ||
display:block | |||
} | } | ||
div.metadata-panel-is-closed .mw-mmv-image-links li.mw-mmv-license-li { | div.metadata-panel-is-closed .mw-mmv-image-links li.mw-mmv-license-li { | ||
height:inherit; | |||
line-height:inherit; | |||
} | } | ||
.mw-mmv-warning-visible .mw-mmv-download-dialog .mw-mmv-dialog-down-arrow { | .mw-mmv-warning-visible .mw-mmv-download-dialog .mw-mmv-dialog-down-arrow { | ||
background-color: #ffffff; | |||
} | } | ||
.mw-mmv-warning-visible .mw-mmv-dialog-warning, | .mw-mmv-warning-visible .mw-mmv-dialog-warning, | ||
.mw-mmv-warning-visible .mw-mmv-download-attribution { | .mw-mmv-warning-visible .mw-mmv-download-attribution { | ||
display: none !important; | |||
} | } | ||
/* 通用圆角框 */ | /* 通用圆角框 */ | ||
.common-box { | .common-box { | ||
padding: .2em .4em; | |||
border: 0.7px solid #ddd; | |||
-moz-border-radius: 10px; | |||
-webkit-border-radius: 10px; | |||
-khtml-border-radius: 10px; | |||
-o-border-radius: 10px; | |||
border-radius: 10px; | |||
background: rgba(250,250,250,0.65)!important; | |||
} | } | ||
/* 数据表格 */ | /* 数据表格 */ | ||
.mw-datatable.TablePager { | .mw-datatable.TablePager { | ||
line-height: 1.7; | |||
width: 100%; | |||
table-layout: fixed; | |||
word-wrap: break-word; | |||
} | |||
/* 移除默认头像 */ | |||
.vector-user-menu-legacy #pt-anonuserpage,.vector-user-menu-legacy #pt-userpage a { | |||
background-image: none; | |||
padding-top: 0em; | |||
padding-left: 0em; | |||
} | } | ||
/* | /* | ||
.page-Mainpage h1.firstHeading, | .page-Mainpage h1.firstHeading, | ||
.page-Mainpage #siteSub, | .page-Mainpage #siteSub, | ||
第492行: | 第281行: | ||
.page-Mainpage #footer #footer-info | .page-Mainpage #footer #footer-info | ||
{ | { | ||
display: none; | |||
} | } | ||
#toc:not(.toc-custom) { | #toc:not(.toc-custom) { | ||
display: none; | |||
} | } | ||
.mw-mmv-filepage-buttons .mw-mmv-view-expanded, .mw-mmv-filepage-buttons .mw-mmv-view-config { | .mw-mmv-filepage-buttons .mw-mmv-view-expanded, .mw-mmv-filepage-buttons .mw-mmv-view-config { | ||
display: none; | |||
} | } | ||
#breadcrumb { | #breadcrumb { | ||
background-image: url(//img.moegirl.org/breadcrumb/bc_bg.png); | |||
color: red; | |||
border: solid 1px #cacaca; | |||
border-radius: 10px; | |||
overflow: hidden; | |||
} | } | ||
#breadcrumb span { | #breadcrumb span { | ||
float: left; | |||
padding-left: 10px; | |||
} | } | ||
#breadcrumb a { | #breadcrumb a { | ||
display: block; | |||
background: url(//img.moegirl.org/breadcrumb/bc_separator.png) no-repeat right; | |||
padding-right: 15px; | |||
color: #454545; | |||
} | } | ||
#breadcrumb a:hover { | #breadcrumb a:hover { | ||
color: #35acc5; | |||
} | } | ||
*/ | |||
/* 回到顶部 */ | /* 回到顶部 */ | ||
.backToTop { | .backToTop { | ||
display: none; | |||
padding: 5px 0; | |||
background-color: #000; | |||
color: #fff; | |||
font-size: 12px; | |||
text-align: center; | |||
position: fixed; | |||
_position: absolute; | |||
right: 0; | |||
bottom: 100px; | |||
_bottom: "auto"; | |||
cursor: pointer; | |||
opacity: .6; | |||
filter: Alpha(opacity=60); | |||
z-index: 73; | |||
} | } | ||
.mw-mmv-lightbox-open .backToTop { | .mw-mmv-lightbox-open .backToTop { | ||
display: none !important; | |||
} | } | ||
/* 隐藏编辑页面中的返回顶部按钮 */ | /* 隐藏编辑页面中的返回顶部按钮 */ | ||
第549行: | 第335行: | ||
.action-edit .backToTop, | .action-edit .backToTop, | ||
.action-submit .backToTop { | .action-submit .backToTop { | ||
display: none !important; | |||
} | } | ||
/* 表格宽度 */ | /* 表格宽度 */ | ||
.wikitable { | .wikitable { | ||
max-width: 100%; | |||
} | } | ||
/* 缩略图居中*/ | /* 缩略图居中*/ | ||
.thumb.tcenter { | .thumb.tcenter { | ||
float: none; | |||
clear: both; | |||
display: block; | |||
margin: 0 auto; | |||
} | } | ||
/* 图片外框圆角化 */ | /* 图片外框圆角化 */ | ||
.thumbinner { | .thumbinner { | ||
box-shadow: #666 0 0.4px 1px!important; | |||
border-radius: 5px!important; | |||
overflow: hidden!important; | |||
} | } | ||
/* 图库样式 */ | /* 图库样式 */ | ||
.thumbimage { | |||
border: 0px !important; | |||
} | |||
.thumbcaption { | |||
margin: 7px 0px !important; | |||
} | |||
.thumbimage:hover { | |||
opacity: 0.9 !important; | |||
} | |||
.dablink { | |||
margin: 14px 0px !important; | |||
font-weight: 300 !important; | |||
font-size: 17.5px !important; | |||
} | |||
.ambox,.tmbox,.Note,.informationbox { | |||
margin: 5px 0px !important; | |||
font-size: 18px !important; | |||
font-weight: 700 !important; | |||
line-height: 1.5 !important; | |||
border: 1px dashed #aaa !important; | |||
max-width: 550px !important; | |||
font-weight: 300 !important; | |||
} | |||
.ambox td,.tmbox td { | |||
padding: 10px !important; | |||
} | |||
.ambox-text-small,.mbox-text,.Note td { | |||
font-size: 14px !important; | |||
font-weight: 300 !important; | |||
color: #000 !important; | |||
} | |||
#request_for_deletion,.ambox-serious { | |||
background: rgba(255,0,0,0.1) !important; | |||
border: 1px dashed rgba(255,0,0,0.15) !important; | |||
color: #a00000 !important; | |||
} | |||
.tmbox-notice,.tmbox-move,.Note { | |||
background: rgba(150,75,0,0.1) !important; | |||
border: 1px dashed rgba(150,75,0,0.15) !important; | |||
} | |||
.informationbox { | |||
background: #fff !important; | |||
padding: 10px !important; | |||
font-size: 14px !important; | |||
} | |||
.editOptions { | |||
border: 0px !important; | |||
} | |||
.image img:hover { | |||
opacity: 0.85 !important; | |||
} | |||
/* 用户页和讨论页没有分类 */ | /* 用户页和讨论页没有分类 */ | ||
body.ns-1 #catlinks { | body.ns-1 #catlinks { | ||
display: none !important; | |||
} | } | ||
body.ns-2 #catlinks { | body.ns-2 #catlinks { | ||
display: none !important; | |||
} | } | ||
/* 仅手机版显示支持 */ | /* 仅手机版显示支持 */ | ||
.mobileonly { | .mobileonly { | ||
display: none !important; | |||
} | } | ||
/* 编辑请求 */ | /* 编辑请求 */ | ||
.editRequest { | .editRequest { | ||
text-align: center; | |||
border: 1px solid #ddd; | |||
border-radius: 3px; | |||
margin:1em 2.5em; | |||
padding: 1em; | |||
background: white; | |||
} | } | ||
.editRequest .newComment { | .editRequest .newComment { | ||
white-space: nowrap; | |||
background: #347bff; | |||
color: #fff; | |||
border: 1px solid #347bff; | |||
text-shadow: 0 1px rgba(0,0,0,0.1); | |||
font-family: inherit; | |||
font-size: 1em; | |||
min-width: 4em; | |||
max-width: 28.75em; | |||
padding: .5em 1em; | |||
margin: 0; | |||
border-radius: 2px; | |||
-webkit-box-sizing: border-box; | |||
-moz-box-sizing: border-box; | |||
box-sizing: border-box; | |||
-webkit-appearance: none; | |||
zoom: 1; | |||
vertical-align: middle; | |||
text-align: center; | |||
font-weight: bold; | |||
cursor: pointer; | |||
} | } | ||
/* 注释里的列表 */ | /* 注释里的列表 */ | ||
.reference-text > ul.listInRef, | .reference-text > ul.listInRef, | ||
.reference-text > ol.listInRef { | .reference-text > ol.listInRef { | ||
margin: -1.5em 0 0 2em; | |||
} | } | ||
/* | /* | ||
第694行: | 第476行: | ||
/* 以下内容已被萌百格式化,注释已被翻译 */ | /* 以下内容已被萌百格式化,注释已被翻译 */ | ||
.container { | .container { | ||
position: relative; | |||
width: 100%; | |||
max-width: 960px; | |||
margin: 0 auto; | |||
padding: 0 20px; | |||
box-sizing: border-box; | |||
} | } | ||
.div, | .div, | ||
第705行: | 第487行: | ||
.column, | .column, | ||
.columns { | .columns { | ||
width: 100%; | |||
float: left; | |||
box-sizing: border-box; | |||
} | } | ||
/* 适用于屏幕像素宽度大于400px的设备 */ | /* 适用于屏幕像素宽度大于400px的设备 */ | ||
@media (min-width: 400px) { | @media (min-width: 400px) { | ||
.container { | |||
width: 85%; | |||
padding: 0; | |||
} | |||
} | } | ||
/* 适用于屏幕像素宽度大于800px的设备 */ | /* 适用于屏幕像素宽度大于800px的设备 */ | ||
@media (min-width: 800px) { | @media (min-width: 800px) { | ||
.container { | |||
width: 80%; | |||
} | |||
.div, | |||
.divs, | |||
.column, | |||
.columns { | |||
margin-left: .3%; | |||
} | |||
.div:first-child, | |||
.divs:first-child, | |||
.column:first-child, | |||
.columns:first-child { | |||
margin-left: 0; | |||
} | |||
.one.div, | |||
.one.divs { | |||
width: 100%; | |||
margin-left: 0; | |||
} | |||
.two.divs { | |||
width: 49.85%; | |||
} | |||
.three.divs { | |||
width: 33.1333333333%; | |||
} | |||
.four.divs { | |||
width: 24.775%; | |||
} | |||
.five.divs { | |||
width: 19.76%; | |||
} | |||
.six.divs { | |||
width: 16.4166666667%; | |||
} | |||
.seven.divs { | |||
width: 14.0285714286%; | |||
} | |||
.eight.divs { | |||
width: 12.2375%; | |||
} | |||
.nine.divs { | |||
width: 10.8444444444%; | |||
} | |||
.ten.divs { | |||
width: 9.73%; | |||
} | |||
.eleven.divs { | |||
width: 8.81818181818%; | |||
} | |||
.twelve.divs { | |||
width: 8.05833333333%; | |||
} | |||
.one.column, | |||
.one.columns { | |||
width: 8.05833333333%; | |||
} | |||
.two.columns { | |||
width: 16.4166666667%; | |||
} | |||
.three.columns { | |||
width: 24.775%; | |||
} | |||
.four.columns { | |||
width: 33.1333333333%; | |||
} | |||
.five.columns { | |||
width: 41.4916666667%; | |||
} | |||
.six.columns { | |||
width: 49.85%; | |||
} | |||
.seven.columns { | |||
width: 58.2083333333%; | |||
} | |||
.eight.columns { | |||
width: 66.5666666667%; | |||
} | |||
.nine.columns { | |||
width: 74.925%; | |||
} | |||
.ten.columns { | |||
width: 83.2833333333%; | |||
} | |||
.eleven.columns { | |||
width: 91.6416666667%; | |||
} | |||
.twelve.columns { | |||
width: 100%; | |||
margin-left: 0; | |||
} | |||
.one-third.column { | |||
width: 33.1333333333%; | |||
} | |||
.two-thirds.column { | |||
width: 66.5666666667%; | |||
} | |||
.one-half.column { | |||
width: 49.85%; | |||
} | |||
/* Offsets设置 */ | |||
.offset-by-one.column, | |||
.offset-by-one.columns { | |||
margin-left: 8.66666666667%; | |||
} | |||
.offset-by-two.column, | |||
.offset-by-two.columns { | |||
margin-left: 17.3333333333%; | |||
} | |||
.offset-by-three.column, | |||
.offset-by-three.columns { | |||
margin-left: 26%; | |||
} | |||
.offset-by-four.column, | |||
.offset-by-four.columns { | |||
margin-left: 34.6666666667%; | |||
} | |||
.offset-by-five.column, | |||
.offset-by-five.columns { | |||
margin-left: 43.3333333333%; | |||
} | |||
.offset-by-six.column, | |||
.offset-by-six.columns { | |||
margin-left: 52%; | |||
} | |||
.offset-by-seven.column, | |||
.offset-by-seven.columns { | |||
margin-left: 60.6666666667%; | |||
} | |||
.offset-by-eight.column, | |||
.offset-by-eight.columns { | |||
margin-left: 69.3333333333%; | |||
} | |||
.offset-by-nine.column, | |||
.offset-by-nine.columns { | |||
margin-left: 78.0%; | |||
} | |||
.offset-by-ten.column, | |||
.offset-by-ten.columns { | |||
margin-left: 86.6666666667%; | |||
} | |||
.offset-by-eleven.column, | |||
.offset-by-eleven.columns { | |||
margin-left: 95.3333333333%; | |||
} | |||
.offset-by-one-third.column, | |||
.offset-by-one-third.columns { | |||
margin-left: 34.6666666667%; | |||
} | |||
.offset-by-two-thirds.column, | |||
.offset-by-two-thirds.columns { | |||
margin-left: 69.3333333333%; | |||
} | |||
.offset-by-one-half.column, | |||
.offset-by-one-half.columns { | |||
margin-left: 52%; | |||
} | |||
} | } | ||
/* | /* | ||
第886行: | 第668行: | ||
*/ | */ | ||
span[lang] { | span[lang] { | ||
font-family: initial; | |||
font-feature-settings: "locl" on; | |||
-webkit-font-feature-settings: "locl" on; | |||
} | } | ||
[style*="font"] span[lang] { | [style*="font"] span[lang] { | ||
font-family: inherit; | |||
} | } | ||
/* wikitable 的 caption */ | /* wikitable 的 caption */ | ||
.wikitable.mw-collapsible caption { | .wikitable.mw-collapsible caption { | ||
border: 1px solid rgba(170, 170, 170, 0.37); | |||
border-bottom-width: 0; | |||
background-color: rgb(249,249,249); | |||
} | } | ||
.wikitable.mw-collapsible.mw-collapsed caption { | .wikitable.mw-collapsible.mw-collapsed caption { | ||
border-bottom-width: 1px; | |||
} | } | ||
/* vectorMenu 的排序 */ | /* vectorMenu 的排序 */ | ||
div.vectorMenu ul { | div.vectorMenu ul { | ||
display: flex; | |||
flex-flow: column; | |||
} | } | ||
/* 分类页同开头的页面的列表不分段 */ | /* 分类页同开头的页面的列表不分段 */ | ||
.mw-category-group { | .mw-category-group { | ||
-webkit-column-break-inside: avoid; | |||
page-break-inside: avoid; | |||
break-inside: avoid; | |||
} | } | ||
.mw-category-group:nth-child(1):nth-last-child(1), /* 只有一个列表时 */ | .mw-category-group:nth-child(1):nth-last-child(1), /* 只有一个列表时 */ | ||
.mw-category-group:nth-child(1):nth-last-child(2), /* 只有两个列表时 */ | .mw-category-group:nth-child(1):nth-last-child(2), /* 只有两个列表时 */ | ||
.mw-category-group:nth-child(2):nth-last-child(1) { /* 只有两个列表时 */ | .mw-category-group:nth-child(2):nth-last-child(1) { /* 只有两个列表时 */ | ||
-webkit-column-break-inside: auto; | |||
page-break-inside: auto; | |||
break-inside: auto; | |||
} | } | ||
/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */ | /* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */ | ||
table.navbox { | table.navbox { | ||
clear: both; | |||
margin: auto; | |||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); | |||
padding: 1px; | |||
text-align: center; | |||
width: 100%; | |||
font-size: 101%!important; | |||
line-height: 1.8; | |||
} | } | ||
table.navbox+table.navbox { | table.navbox+table.navbox { | ||
margin-top: -1px; | |||
} | } | ||
.navbox-title, | .navbox-title, | ||
.navbox-abovebelow, | .navbox-abovebelow, | ||
table.navbox th { | table.navbox th { | ||
padding-left: 1em; | |||
padding-right: 1em; | |||
text-align: center; | |||
} | } | ||
.navbox-group { | .navbox-group { | ||
font-weight: 700; | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
white-space: nowrap; | |||
} | } | ||
.navbox, | .navbox, | ||
.navbox-subgroup { | .navbox-subgroup { | ||
background: none repeat scroll 0 0 #fdfdfd; | |||
} | } | ||
.navbox-list { | .navbox-list { | ||
border-color: #fdfdfd; | |||
} | } | ||
.navbox-title, | .navbox-title, | ||
table.navbox th { | table.navbox th { | ||
background: none repeat scroll 0 0 #a5e4a5; | |||
} | } | ||
.navbox-abovebelow, | .navbox-abovebelow, | ||
.navbox-group, | .navbox-group, | ||
.navbox-subgroup .navbox-title { | .navbox-subgroup .navbox-title { | ||
background: none repeat scroll 0 0 #c0ecc0; | |||
} | } | ||
.navbox-subgroup .navbox-group, | .navbox-subgroup .navbox-group, | ||
.navbox-subgroup .navbox-abovebelow { | .navbox-subgroup .navbox-abovebelow { | ||
background: none repeat scroll 0 0 #e6f6e6; | |||
} | } | ||
.navbox-even { | .navbox-even { | ||
background: none repeat scroll 0 0 #f5fcf5; | |||
} | } | ||
.navbox-odd { | .navbox-odd { | ||
background: none repeat scroll 0 0 transparent; | |||
} | } | ||
.collapseButton { | .collapseButton { | ||
float: right; | |||
font-weight: 400; | |||
text-align: right; | |||
width: auto; | |||
} | } | ||
.navbox .collapseButton { | .navbox .collapseButton { | ||
width: 6em; | |||
} | } | ||
/* Fix by case : Rev 1327309 ([[Special:Permalink/1327309]]) | /* Fix by case : Rev 1327309 ([[Special:Permalink/1327309]]) | ||
Address alignment issue of nested tabs in Navbox */ | |||
.navbox .TabLabel { | .navbox .TabLabel { | ||
text-align: left; | |||
} | } |
2022年12月29日 (四) 17:19的最新版本
/* 放置于这里的CSS将应用于所有皮肤 */
/*全站样式*/
body {
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
.mw-body-content {
line-height: 1.85;
}
.mw-label {
white-space: nowrap;
}
body .ui-dialog .ui-widget-header {
background: #f1f1f1 !important;
}
body .ui-button {
box-shadow: 0 0 0 0 !important;
}
.ns-0 h2{
overflow: visible;
border-bottom: none;
}
.ns-0 h2 .mw-headline{
display: inline-block;
padding: 0.7px 0;
}
.ns-0 h2 .mw-headline::after{
content: '';
display: block;
background-color: #e0e04173;
height: 0.7em;
margin: -0.7em 0 0 -0.5em;
width: 100%;
border-radius: 0.35em;
}
::-webkit-scrollbar {
height: 10px;
width: 10px;
}
::-webkit-scrollbar-thumb {
background: rgb(213, 213, 213);
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: rgb(196, 196, 196);
}
/* 公告栏滚动Rollnews */
#scrollDiv {
width: 100%;
height: 27px;
line-height: 25px;
overflow: hidden
}
#scrollDiv ul {
margin-left: 0!important;
}
#scrollDiv li {
height: 25px;
padding-left: 0px;
list-style: none;
}
/* 链接显示效果 */
a:hover {
text-decoration: none!important;
color: #2a4b8d;
}
#ca-conv{
float: right;
}
#catlinks {
background-color: rgba(251,251,251,0.3);
}
.oo-ui-popupWidget-anchored-top {
z-index: 10000;
}
#mp-banner {
margin: -1.7em;
margin-top: -4.1em;
background-image: url(/index.php/Special:FilePath/80468767.jpg);
}
#footer {
margin-left: 12.4em;
padding: 1.25em;
}
/* 标题字型调整*/
#firstHeading {
font-family: sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-weight: 500;
padding-bottom: 6px;
font-size: 170%;
}
h2, h3, h4, h5, h6 {
color: #404040 !important;
line-height: 1.8 !important;
border-bottom-color: rgba(0, 0, 0, .1) !important;
}
.mw-body-content h2 {
font-weight: 540;
}
#siteSub {
display: inline;
font-size: 100%;
font-weight: 400; /* 400 = normal */
font-style: normal;
text-align: right;
padding-top: 11px;
padding: 0.1em;
}
@keyframes shake {
0%,
50% {
transform: rotate(5deg) scale(1.05);
}
25%,
75% {
transform: rotate(-5deg) scale(1.05);
}
100% {
transform: rotate(0deg) scale(1.05);
}
}
.oo-ui-actionFieldLayout-input {
font-size: 95%;
}
/* 搜索界面 */
.mw-search-results {
max-width: 50em;
}
/* 最近更改页面 */
.mw-changeslist-legend {
display: block!important;
}
/* info类模板 */
.infoBox {
width:80%;
margin: 0 auto;
box-shadow: 0 1px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12), 0 2px 1px -2px rgba(0,0,0,.2);
}
.infoBoxx {
border-radius: 5px;
overflow: hidden;
}
.infobox {
margin-top: 0.4em ;
margin-left: 2em;
padding: 0.3em;
width: 285px;
float: right;
clear: right;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
border-radius: 4px;
overflow: hidden;
background: rgba(251,251,251,0.7);
}
.infotemplatebox {
margin-top: 0.4em ;
margin-left: 2em;
padding: 0.03em;
width: 285px;
float: right;
clear: right;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
border-radius: 4px;
overflow: hidden!important;
background: rgba(251,251,251,0.7);
}
/* 编辑历史调整*/
#pagehistory li.selected {
background-color: transparent;
}
/* 编辑区帮助 */
.editHelp {
display: inline-block!important;
}
/* 隐藏编辑提示修改和上传文件协议 */
div.sysop-show, p.sysop-show {
display: none;
}
.mw-htmlform-field-Licenses{
display: none;
}
/* 斜体字右边距加大看以防止文字挤在一起 */
#mw-content-text i {
margin-right: 3px;
}
/* Extension:MultimediaViewer的半透明化修改 */
.mw-mmv-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.8);
opacity: 0.73;
}
body.mediawiki.mw-mmv-lightbox-open #mw-page-base,
body.mediawiki.mw-mmv-lightbox-open #mw-head-base,
body.mediawiki.mw-mmv-lightbox-open #mw-navigation,
body.mediawiki.mw-mmv-lightbox-open #content,
body.mediawiki.mw-mmv-lightbox-open #footer,
body.mediawiki.mw-mmv-lightbox-open #globalWrapper {
display: inherit;
}
body.mediawiki.mw-mmv-lightbox-open > * {
display: inherit;
}
body.mediawiki.mw-mmv-lightbox-open > script,
body.mediawiki.mw-mmv-lightbox-open > style {
display: none;
}
body.mediawiki.mw-mmv-lightbox-open {
overflow: hidden;
}
body .mw-mmv-wrapper {
position: fixed;
}
/* mutilmediaViewer 信息栏修复 */
.mw-mmv-image-metadata-column.mw-mmv-image-metadata-desc-column {
width: 30%;
}
.mw-mmv-image-metadata-column.mw-mmv-image-metadata-links-column {
width: 70%;
max-width: 70%;
}
ul.mw-mmv-image-links li {
float: left;
padding: .3em 1em;
}
div.mw-mmv-image-desc-div,
div.mw-mmv-image-links-div{
display:block
}
div.metadata-panel-is-closed .mw-mmv-image-links li.mw-mmv-license-li {
height:inherit;
line-height:inherit;
}
.mw-mmv-warning-visible .mw-mmv-download-dialog .mw-mmv-dialog-down-arrow {
background-color: #ffffff;
}
.mw-mmv-warning-visible .mw-mmv-dialog-warning,
.mw-mmv-warning-visible .mw-mmv-download-attribution {
display: none !important;
}
/* 通用圆角框 */
.common-box {
padding: .2em .4em;
border: 0.7px solid #ddd;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
-o-border-radius: 10px;
border-radius: 10px;
background: rgba(250,250,250,0.65)!important;
}
/* 数据表格 */
.mw-datatable.TablePager {
line-height: 1.7;
width: 100%;
table-layout: fixed;
word-wrap: break-word;
}
/* 移除默认头像 */
.vector-user-menu-legacy #pt-anonuserpage,.vector-user-menu-legacy #pt-userpage a {
background-image: none;
padding-top: 0em;
padding-left: 0em;
}
/*
.page-Mainpage h1.firstHeading,
.page-Mainpage #siteSub,
.page-Mainpage #contentSub,
.page-Mainpage #ca-viewsource,
.page-Mainpage #siteNotice,
.page-Mainpage #ca-talk,
.page-Mainpage #catlinks,
.page-Mainpage #footer #footer-info
{
display: none;
}
#toc:not(.toc-custom) {
display: none;
}
.mw-mmv-filepage-buttons .mw-mmv-view-expanded, .mw-mmv-filepage-buttons .mw-mmv-view-config {
display: none;
}
#breadcrumb {
background-image: url(//img.moegirl.org/breadcrumb/bc_bg.png);
color: red;
border: solid 1px #cacaca;
border-radius: 10px;
overflow: hidden;
}
#breadcrumb span {
float: left;
padding-left: 10px;
}
#breadcrumb a {
display: block;
background: url(//img.moegirl.org/breadcrumb/bc_separator.png) no-repeat right;
padding-right: 15px;
color: #454545;
}
#breadcrumb a:hover {
color: #35acc5;
}
*/
/* 回到顶部 */
.backToTop {
display: none;
padding: 5px 0;
background-color: #000;
color: #fff;
font-size: 12px;
text-align: center;
position: fixed;
_position: absolute;
right: 0;
bottom: 100px;
_bottom: "auto";
cursor: pointer;
opacity: .6;
filter: Alpha(opacity=60);
z-index: 73;
}
.mw-mmv-lightbox-open .backToTop {
display: none !important;
}
/* 隐藏编辑页面中的返回顶部按钮 */
.page-Mainpage .backToTop,
.action-edit .backToTop,
.action-submit .backToTop {
display: none !important;
}
/* 表格宽度 */
.wikitable {
max-width: 100%;
}
/* 缩略图居中*/
.thumb.tcenter {
float: none;
clear: both;
display: block;
margin: 0 auto;
}
/* 图片外框圆角化 */
.thumbinner {
box-shadow: #666 0 0.4px 1px!important;
border-radius: 5px!important;
overflow: hidden!important;
}
/* 图库样式 */
.thumbimage {
border: 0px !important;
}
.thumbcaption {
margin: 7px 0px !important;
}
.thumbimage:hover {
opacity: 0.9 !important;
}
.dablink {
margin: 14px 0px !important;
font-weight: 300 !important;
font-size: 17.5px !important;
}
.ambox,.tmbox,.Note,.informationbox {
margin: 5px 0px !important;
font-size: 18px !important;
font-weight: 700 !important;
line-height: 1.5 !important;
border: 1px dashed #aaa !important;
max-width: 550px !important;
font-weight: 300 !important;
}
.ambox td,.tmbox td {
padding: 10px !important;
}
.ambox-text-small,.mbox-text,.Note td {
font-size: 14px !important;
font-weight: 300 !important;
color: #000 !important;
}
#request_for_deletion,.ambox-serious {
background: rgba(255,0,0,0.1) !important;
border: 1px dashed rgba(255,0,0,0.15) !important;
color: #a00000 !important;
}
.tmbox-notice,.tmbox-move,.Note {
background: rgba(150,75,0,0.1) !important;
border: 1px dashed rgba(150,75,0,0.15) !important;
}
.informationbox {
background: #fff !important;
padding: 10px !important;
font-size: 14px !important;
}
.editOptions {
border: 0px !important;
}
.image img:hover {
opacity: 0.85 !important;
}
/* 用户页和讨论页没有分类 */
body.ns-1 #catlinks {
display: none !important;
}
body.ns-2 #catlinks {
display: none !important;
}
/* 仅手机版显示支持 */
.mobileonly {
display: none !important;
}
/* 编辑请求 */
.editRequest {
text-align: center;
border: 1px solid #ddd;
border-radius: 3px;
margin:1em 2.5em;
padding: 1em;
background: white;
}
.editRequest .newComment {
white-space: nowrap;
background: #347bff;
color: #fff;
border: 1px solid #347bff;
text-shadow: 0 1px rgba(0,0,0,0.1);
font-family: inherit;
font-size: 1em;
min-width: 4em;
max-width: 28.75em;
padding: .5em 1em;
margin: 0;
border-radius: 2px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: none;
zoom: 1;
vertical-align: middle;
text-align: center;
font-weight: bold;
cursor: pointer;
}
/* 注释里的列表 */
.reference-text > ul.listInRef,
.reference-text > ol.listInRef {
margin: -1.5em 0 0 2em;
}
/*
* Skeleton V2.0.4
* Copyright 2014, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 12/29/2014
*/
/* 以下内容已被萌百格式化,注释已被翻译 */
.container {
position: relative;
width: 100%;
max-width: 960px;
margin: 0 auto;
padding: 0 20px;
box-sizing: border-box;
}
.div,
.divs,
.column,
.columns {
width: 100%;
float: left;
box-sizing: border-box;
}
/* 适用于屏幕像素宽度大于400px的设备 */
@media (min-width: 400px) {
.container {
width: 85%;
padding: 0;
}
}
/* 适用于屏幕像素宽度大于800px的设备 */
@media (min-width: 800px) {
.container {
width: 80%;
}
.div,
.divs,
.column,
.columns {
margin-left: .3%;
}
.div:first-child,
.divs:first-child,
.column:first-child,
.columns:first-child {
margin-left: 0;
}
.one.div,
.one.divs {
width: 100%;
margin-left: 0;
}
.two.divs {
width: 49.85%;
}
.three.divs {
width: 33.1333333333%;
}
.four.divs {
width: 24.775%;
}
.five.divs {
width: 19.76%;
}
.six.divs {
width: 16.4166666667%;
}
.seven.divs {
width: 14.0285714286%;
}
.eight.divs {
width: 12.2375%;
}
.nine.divs {
width: 10.8444444444%;
}
.ten.divs {
width: 9.73%;
}
.eleven.divs {
width: 8.81818181818%;
}
.twelve.divs {
width: 8.05833333333%;
}
.one.column,
.one.columns {
width: 8.05833333333%;
}
.two.columns {
width: 16.4166666667%;
}
.three.columns {
width: 24.775%;
}
.four.columns {
width: 33.1333333333%;
}
.five.columns {
width: 41.4916666667%;
}
.six.columns {
width: 49.85%;
}
.seven.columns {
width: 58.2083333333%;
}
.eight.columns {
width: 66.5666666667%;
}
.nine.columns {
width: 74.925%;
}
.ten.columns {
width: 83.2833333333%;
}
.eleven.columns {
width: 91.6416666667%;
}
.twelve.columns {
width: 100%;
margin-left: 0;
}
.one-third.column {
width: 33.1333333333%;
}
.two-thirds.column {
width: 66.5666666667%;
}
.one-half.column {
width: 49.85%;
}
/* Offsets设置 */
.offset-by-one.column,
.offset-by-one.columns {
margin-left: 8.66666666667%;
}
.offset-by-two.column,
.offset-by-two.columns {
margin-left: 17.3333333333%;
}
.offset-by-three.column,
.offset-by-three.columns {
margin-left: 26%;
}
.offset-by-four.column,
.offset-by-four.columns {
margin-left: 34.6666666667%;
}
.offset-by-five.column,
.offset-by-five.columns {
margin-left: 43.3333333333%;
}
.offset-by-six.column,
.offset-by-six.columns {
margin-left: 52%;
}
.offset-by-seven.column,
.offset-by-seven.columns {
margin-left: 60.6666666667%;
}
.offset-by-eight.column,
.offset-by-eight.columns {
margin-left: 69.3333333333%;
}
.offset-by-nine.column,
.offset-by-nine.columns {
margin-left: 78.0%;
}
.offset-by-ten.column,
.offset-by-ten.columns {
margin-left: 86.6666666667%;
}
.offset-by-eleven.column,
.offset-by-eleven.columns {
margin-left: 95.3333333333%;
}
.offset-by-one-third.column,
.offset-by-one-third.columns {
margin-left: 34.6666666667%;
}
.offset-by-two-thirds.column,
.offset-by-two-thirds.columns {
margin-left: 69.3333333333%;
}
.offset-by-one-half.column,
.offset-by-one-half.columns {
margin-left: 52%;
}
}
/*
* 感谢{{萌百|User:Great Brightstar}}的贡献,源码来自[[special:diff/834104]]
* 以下是原注释:
* 在这里使用 font-feature-settings 属性会让使用“lang”标签的元素强制使用 OpenType 技术显示本地化的变体字(通过激活 locl 标签,即便浏览器本身不直接激活)。
* 如果你使用思源黑体(非 CN、JP、KO、TW 版)、Noto Sans CJK 显示文字的话就有可能看到效果。
* 关于上述这个 CSS 属性的用法,参阅:https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings 注意:此文引用的 OpenType Feature Tags list 同样需要关注。
* 如有任何问题请即刻禁用之
* Nbdd0121: 将原来的[lang]改为span[lang],这样就不会影响非{{lang}}的[lang]了 (e.g. #mw-content-text)
*/
span[lang] {
font-family: initial;
font-feature-settings: "locl" on;
-webkit-font-feature-settings: "locl" on;
}
[style*="font"] span[lang] {
font-family: inherit;
}
/* wikitable 的 caption */
.wikitable.mw-collapsible caption {
border: 1px solid rgba(170, 170, 170, 0.37);
border-bottom-width: 0;
background-color: rgb(249,249,249);
}
.wikitable.mw-collapsible.mw-collapsed caption {
border-bottom-width: 1px;
}
/* vectorMenu 的排序 */
div.vectorMenu ul {
display: flex;
flex-flow: column;
}
/* 分类页同开头的页面的列表不分段 */
.mw-category-group {
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid;
}
.mw-category-group:nth-child(1):nth-last-child(1), /* 只有一个列表时 */
.mw-category-group:nth-child(1):nth-last-child(2), /* 只有两个列表时 */
.mw-category-group:nth-child(2):nth-last-child(1) { /* 只有两个列表时 */
-webkit-column-break-inside: auto;
page-break-inside: auto;
break-inside: auto;
}
/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
table.navbox {
clear: both;
margin: auto;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
padding: 1px;
text-align: center;
width: 100%;
font-size: 101%!important;
line-height: 1.8;
}
table.navbox+table.navbox {
margin-top: -1px;
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
padding-left: 1em;
padding-right: 1em;
text-align: center;
}
.navbox-group {
font-weight: 700;
padding-left: 1em;
padding-right: 1em;
white-space: nowrap;
}
.navbox,
.navbox-subgroup {
background: none repeat scroll 0 0 #fdfdfd;
}
.navbox-list {
border-color: #fdfdfd;
}
.navbox-title,
table.navbox th {
background: none repeat scroll 0 0 #a5e4a5;
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
background: none repeat scroll 0 0 #c0ecc0;
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: none repeat scroll 0 0 #e6f6e6;
}
.navbox-even {
background: none repeat scroll 0 0 #f5fcf5;
}
.navbox-odd {
background: none repeat scroll 0 0 transparent;
}
.collapseButton {
float: right;
font-weight: 400;
text-align: right;
width: auto;
}
.navbox .collapseButton {
width: 6em;
}
/* Fix by case : Rev 1327309 ([[Special:Permalink/1327309]])
Address alignment issue of nested tabs in Navbox */
.navbox .TabLabel {
text-align: left;
}