2023年政策修订增补工作正在进行中,欢迎参与!
MediaWiki:Gadget-desktop-styles.css
跳转到导航
跳转到搜索
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox/Safari:按住“Shift”的同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
- Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
- Internet Explorer:按住“Ctrl”的同时单击“刷新”,或按“Ctrl-F5”
- Opera:在“工具→首选项”中清除缓存
- 如果您已登录但该页面出现未登录状态,请尝试在地址栏的地址最后添加代码
?_=1
来访问最新页面。 - 添加代码后的本页地址如下:
-{R|https://moegirl.icu/MediaWiki:Gadget-desktop-styles.css?_=1}-
引用api时用
mw.loader.using(["mediawiki.api"])
,引用uri时用mw.loader.using(["mediawiki.Uri"])
。萌娘百科界面管理员团队提醒您
本页面由萌娘百科界面管理员团队在其 GitHub 库内进行维护,通过机器人自动生成可被 MediaWiki Gadget 扩展接受的版本并保存到此处。
- 本页面的内容为自动生成,手动修改可能会被覆盖,源码可在此处查看;
- 最新修订由 U:星海子 做出,相关 commit 为:f50520a - 修复moeskin不需要的样式 (#65)
/* <pre> */ /** * ------------------------------------------------------------------------- * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!! * ------------------------------------------------------------------------- */ ._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/desktop-styles/MediaWiki:Gadget-desktop-styles.css|user=[[U:星海子]]|longId=f50520a704db7e127d29317ff78a2e8575b1f744|shortId=f50520a|message=修复moeskin不需要的样式 (#65)}}'; } body, #firstHeading{ font-family:sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } #firstHeading{ font-weight:500; padding-left:0.25em; } div#simpleSearch button#searchButton{ padding-top:0.1em; padding-bottom:0.2em; padding-right:0.1em; } #mainpage{ display:block; width:100%; text-align:left; margin:0 auto; max-width:1030px; } .mainpage-title{ font-family:"PingFang SC", sans-serif; font-size:1.618em; color:#228B22; margin:0; background:#DEEDE0; font-weight:400; height:30px; line-height:30px; text-align:center; } .mainpage-title:lang(zh-hant), .mainpage-title:lang(zh-tw){ font-family:"PingFang TC", sans-serif; } .mainpage-title:lang(zh-hk){ font-family:"PingFang HK", sans-serif; } .mainpage-content, .mainpage-1stcontent{ vertical-align:top; padding:0.5em 0.42890625rem; min-height:7em; } .mainpage-content.nomobile{ min-height:auto; } .clear-div{ clear:both; } .mainpage-container{ display:flex; } .mainpage-container .mainpage-newsbox, .mainpage-container .mainpage-box{ display:flex; flex-direction:column; } .mainpage-container .mainpage-newsbox{ width:calc(200% / 3); } .mainpage-container .mainpage-box{ width:calc(100% / 3); } .mainpage-container .mainpage-content, .mainpage-container .mainpage-1stcontent{ flex:auto; } .mainpage-container .mainpage-title{ flex:none; margin-right:-1px; } .Mgsister{ display:none; } .moegirlSister{ display:flex !important; justify-content:center; } .moegirlSister_container{ margin-right:7rem; display:flex; } .moegirlSister_icon{ padding:17px; } .moegirlSister_text{ display:flex; flex-direction:column; justify-content:center; color:#777; } .moegirlSister_title{ font-size:1.00625rem; } .moegirlSister_description{ font-size:0.8553125rem; } .block, .content-box{ width:100%; } .content-box{ display:flex; } .parallel .content-box{ flex-direction:row; } .parallel .boite{ flex-grow:1; } #siteSub{ display:inline; font-size:90%; font-weight:400; font-style:normal; text-align:right; } #siteNotice .scrollDiv, #moe-sitenotice-container .scrollDiv{ width:100%; overflow:hidden; position:relative; margin-left:0 !important; height:1.28rem; } #siteNotice .scrollDiv:hover, #moe-sitenotice-container .scrollDiv:hover{ font-weight:700; } #siteNotice .scrollDiv:empty, #moe-sitenotice-container .scrollDiv:empty{ display:none; } #siteNotice .scrollDiv>*, #moe-sitenotice-container .scrollDiv>*{ list-style:none; padding-left:0; position:absolute; width:100%; top:1.28rem; } #siteNotice .scrollDiv>*:first-child, #moe-sitenotice-container .scrollDiv>*:first-child{ top:0; } #siteNotice .scrollDiv.scrolling.animation, #siteNotice .scrollDiv.scrolling.animation>*, #moe-sitenotice-container .scrollDiv.scrolling.animation, #moe-sitenotice-container .scrollDiv.scrolling.animation>*{ transition:all 0.37s ease-in-out; } .mw-body a.external:visited{ color:#36B; } #mw-content-text i{ margin-right:3px; } .mw-mmv-overlay{ position:fixed; top:0; left:0; right:0; bottom:0; background-color:rgb(0 0 0 / 80%); 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; } .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:0.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:#FFF; } .mw-mmv-warning-visible .mw-mmv-dialog-warning, .mw-mmv-warning-visible .mw-mmv-download-attribution{ display:none !important; } .common-box{ padding:0.2em 0.4em; border:1px solid #DDD; -moz-border-radius:10px; -webkit-border-radius:10px; -khtml-border-radius:10px; -o-border-radius:10px; -webkit-box-shadow:#666 0 2px 3px; -moz-box-shadow:#666 0 2px 3px; border-radius:10px; box-shadow:#666 0 2px 3px; } .mw-datatable.TablePager{ width:100%; table-layout:fixed; word-wrap:break-word; } #breadcrumb{ background-image:url("//img.moegirl.org.cn/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.cn/breadcrumb/bc_separator.png") no-repeat right; padding-right:15px; color:#454545; } #breadcrumb a:hover{ color:#35ACC5; } .infotemplatebox{ float:right; width:280px; font-size:90%; margin:1em 0 1em 1em; background:#F9F9F9; border:1px #999 solid; border-collapse:collapse; word-break:break-all; clear:right; } .my-buttons{ padding:0.5em; } .my-buttons a{ text-decoration:none; border:1px #069 outset; padding:0.1em; } .my-buttons a:hover, .my-buttons a:active{ border-style:inset; } pre{ white-space:pre-wrap; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; word-wrap:break-word; } table.navbox{ border:1px solid #AAA; clear:both; margin:auto; padding:1px; text-align:center; width:100%; } 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; 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; } .wikitable{ max-width:100%; } .thumb.tcenter{ float:none; clear:both; display:block; margin:0 auto; } body.ns-2 div#catlinks{ 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 rgb(0 0 0 / 10%); font-family:inherit; font-size:1em; min-width:4em; max-width:28.75em; padding:0.5em 1em; margin:0; border-radius:2px; 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; } .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; } @media (min-width: 400px){ } @media (min-width: 800px){ .div, .divs, .column, .columns{ margin-left:0.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%; } .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%; } .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%; } } .wikitable.mw-collapsible caption{ border:1px solid rgb(170 170 170 / 37%); border-bottom-width:0; background-color:rgb(249 249 249); } .wikitable.mw-collapsible.mw-collapsed caption{ border-bottom-width:1px; } .mw-category-group{ page-break-inside:avoid; -moz-column-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){ page-break-inside:auto; -moz-column-break-inside:auto; break-inside:auto; } #wikieditor-toolbar-file-dialog+.ui-dialog-buttonpane>.ui-dialog-buttonset>.ui-button:last-child{ display:none; } .mw-explainconflict~#editform{ display:flex; flex-direction:column; } .mw-explainconflict~#editform>*{ order:2; } .mw-explainconflict~#editform>h2, .mw-explainconflict~#editform>h2~*{ order:1; } .mw-explainconflict~#editform>h2>.mw-headline::after{ content:"(请滚动查看,可拖动右下角斜线符号调整高度)"; } .mw-explainconflict~#editform>.diff+h2>.mw-headline::after, .mw-explainconflict~#editform>.diff-container+h2>.mw-headline::after{ content:"(由于技术限制,此处为全文版本,请使用 Ctrl+F | ⌘+F 搜索相关差异,可拖动右下角斜线符号调整高度)"; } html[lang="zh-hant"i] .mw-explainconflict~#editform>h2>.mw-headline::after, html[lang="zh-hk"i] .mw-explainconflict~#editform>h2>.mw-headline::after, html[lang="zh-tw"i] .mw-explainconflict~#editform>h2>.mw-headline::after{ content:"(請滾動查看,可拖動右下角斜線符號調整高度)"; } html[lang="zh-hant"i] .mw-explainconflict~#editform>.diff+h2>.mw-headline::after, html[lang="zh-hk"i] .mw-explainconflict~#editform>.diff+h2>.mw-headline::after, html[lang="zh-tw"i] .mw-explainconflict~#editform>.diff+h2>.mw-headline::after, html[lang="zh-hant"i] .mw-explainconflict~#editform>.diff-container+h2>.mw-headline::after, html[lang="zh-hk"i] .mw-explainconflict~#editform>.diff-container+h2>.mw-headline::after, html[lang="zh-tw"i] .mw-explainconflict~#editform>.diff-container+h2>.mw-headline::after{ content:"(由於技術限制,此處為全文版本,請使用 Ctrl+F | ⌘+F 搜索相關差異,可拖動右下角斜線符號調整高度)"; } .mw-explainconflict~#editform>textarea[readonly]{ height:20vh; width:100% !important; resize:vertical; } .mw-explainconflict~#editform>.diff-container{ height:20vh; overflow-y:auto; border:1px solid gray; resize:vertical; } .mw-explainconflict~#editform>.wikiEditor-ui::before{ content:"编辑框(最新版本)"; font-size:1.5em; margin:1em 0 0.25em; font-family:serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height:1.3; padding:0; font-weight:700; border-bottom:1px solid #0074F9; color:#000; background:none; overflow:hidden; display:block; } html[lang="zh-hant"i] .mw-explainconflict~#editform>.wikiEditor-ui::before, html[lang="zh-hk"i] .mw-explainconflict~#editform>.wikiEditor-ui::before, html[lang="zh-tw"i] .mw-explainconflict~#editform>.wikiEditor-ui::before{ content:"編輯框(最新修訂)"; } body.overlay-scrollbars #bodyContent{ padding-right:24px; } /* </pre> */