User:850710247liu/common.css

来自萌娘共享
跳转至: 导航搜索

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件
/*全站字型*/
body {
    font-size: 108%;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}
.mw-body-content {
    line-height: 1.85;
}
.oo-ui-window-content {
    font-size: 89.3%;
}
.mw-label {
    white-space: nowrap;
}
body .ui-dialog .ui-widget-header {
    background: #f1f1f1 !important;
}
body .ui-button {
    box-shadow: 0 0 0 0 !important;
}
::selection {
    text-shadow: none;
}
::-webkit-scrollbar {
    border: 0;
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-button {
    width: 0;
    height: 0;
}
::-webkit-scrollbar-thumb {
    border: 0;
    min-height: 34px;
    padding-top: 100;
    background-clip: padding-box;
    background-color: rgba(0,0,0,.15);
}
::-webkit-scrollbar-track {
    border: 0;
    background-clip: padding-box;
    background-color: rgba(206,205,197,.1);
}
::selection {
    background: rgba(0,0,0,.1);
    text-shadow: none;
}
.ve-init-mw-desktopArticleTarget-toolbar-open > .oo-ui-toolbar-bar {
    top: -1px;
    border-top: 1px solid #c8ccd1;
}
/* 链接显示效果 */
a:hover {
  text-decoration: none;
  color: #2a4b8d!important;
}
a, a:visited {
    text-decoration: none;
    color: #447ff5;
}
.mw-body a.external:visited {
    color: #447ff5;
}
/* 侧边栏、顶部栏、页脚 */
#p-personal {
    font-size: 17.5px;
    right: 1em;
}
div.vectorTabs {
    font-size: 16px;
    padding-top: 2px;
}
.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-wikilove.icon a {
    padding-top: 3.4em;
}
    #content {
        border: 0px !important;
        margin-left: 214px !important;
    }

    .portal {
        background: transparent !important;
    }

    #mw-panel {
        width: 200px !important;
        border-right: 1px solid #bbb;
        background: rgb(254,254,254,0.96) !important;
        padding-left: 13px !important;
    }
    
    #p-logo {
        left: 0px;
        padding-left: 10px;
    }

    #p-logo a {
        padding-left: 40px;
        left: 0px;
        border-right: 1px solid #aaa;
    }
    #p-logo a:hover {
        opacity: 1.0;
    }

    #mw-head {
        background-color: rgb(254,254,254,0.95);
        opacity: 1.0;
        box-shadow: 0px 1px 2px #aaa;
        -webkit-transition-property: opacity !important;
        -moz-transition-property: opacity !important;
        -o-transition-property: opacity !important;
        -ms-transition-property: opacity !important;
        transition-property: opacity !important;
        -webkit-transition-duration: 0.5s !important;
        -moz-transition-duration: 0.5s !important;
        -o-transition-duration: 0.5s !important;
        -ms-transition-duration: 0.5s !important;
        transition-duration: 0.25s !important;
    }

    #mw-head:hover {
        opacity: 1.0 !important;
    }

    .uls-settings-trigger {
        display: none !important;
    }

    #left-navigation {
        margin-left: 233px !important;
    }
#mw-page-base {
    height: 104px;
}
#left-navigation,
#right-navigation {
    margin-top: 60px;
}
#mw-head div.vectorMenu h4 {
    height: 1.9em;
    margin-bottom: 0;
    padding-top: 1.25em;
    padding-bottom: 0;
    padding-right: 0.5em;
}
#mw-panel div.portal {
    padding-bottom: 0.7em;
    padding-top: 0.4em;
}
#mw-panel #p-logo .mw-wiki-logo {
    width: 175px;
}
#mw-panel {
    font-size: 18.5px;
    /* mw-panel的宽度是10em,改了font-size以后也需要修改一下 */
    width: 11.6rem;
}
    ul,li {
        background: transparent !important;
        border: 0px !important;
    }

    li span {
        border: 0px !important;
    }

   #mw-panel,#mw-head {
        line-height: 1.7 !important;
        font-weight: 300 !important;
    }

#mw-panel .portal .body li {
     line-height: 1.6em;
}
    .mw-wiki-logo{
        padding-left: 5px !important;
        padding-top: 10px !important;
        border: none !important;
    }
.clear-div {
    clear: both;
}
.uls-trigger{
    display: none;
}
div.vectorMenu div.menu {
    top: 2.6em;
    width: 100%;
    background-color: rgba(251,251,251,0.9);
    border: 1px solid #a7d7f9;
    border-top: transparent;
}
#mw-panel .portal .body li a:visited {
  color: #0648AF;
}
#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(https://www.hmoegirl.com/images/0/09/80468767.jpg);
}
#footer {
    margin-left: 12.4em;
    padding: 1.25em;
}
/* 隐藏编辑页面中的返回顶部按钮 */
.page-Mainpage .backToTop,
.action-edit .backToTop,
.action-submit .backToTop {
  display: none !important;
}
/* 标题字型调整*/
#firstHeading {
    font-family: sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 500;
    padding-bottom: 6px;
    font-variant: small-caps;
    font-size: 170%;
}
h2,
h3,
h4,
h5,
h6 {
        font-family: "roboto",sans-serif !important;
	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;
}
/* MW自带10em宽度,应该是留给测试链接的吧萌百没有就去掉 */
#p-personal ul {
    padding-left: 0;
}
/* 搜索框 */
#simpleSearch {
  max-width: 220px; 
  background-image: none;
  padding: 0px 10px;
  opacity: 0.625;
  display: flex;
  align-items: center;
  transition: width 0.4s;
}
 
#simpleSearch:hover {
  border-color: var(--theme-color) !important;
}
 
#simpleSearch:focus-within {
  width: 240px;
}
 
#searchInput::-webkit-input-placeholder {
  color: var(--theme-color) !important;
}
 
#searchInput::input-placeholder {
  color: var(--theme-color) !important;
}
 
#simpleSearch #searchButton {
  right: 8px !important;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E %3Cpath d='M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'%3E%3C/path%3E %3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E %3Cpath d='M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'%3E%3C/path%3E %3C/svg%3E");
  background-color: var(--theme-color) !important;
  background-image: none !important;
  background-color: var(--theme-color) !important;
  width: 20px !important;
  height: 20px !important;
  padding-block-start: 21px;
}
 
#simpleSearch:hover>#searchButton {
  animation: shake 0.4s 1 forwards;
}

#p-search {
    float: left;
    margin-right: 0.5em;
    margin-left: 0.6em;
    margin-top: 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;
}
/* 隐藏编辑提示修改和上传文件协议 */
div.sysop-show, p.sysop-show {
    display: none;
}
.mw-htmlform-field-Licenses{
    display: none;
}
/* 链接显示效果 */
a:hover {
  text-decoration: none;
  color: #2a4b8d!important;
}
a, a:visited {
    text-decoration: none;
    color: #3366cc;
}
/* 被点过的外部链接不变色。采取和默认皮肤相同写法,以便override */
.mw-body a.external:visited {
    color: #3366cc;
}
/* 斜体字右边距加大看以防止文字挤在一起 */
#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;
}
/* 隐藏首页标题、空行、分类、讨论、查看源代码tab */
.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;
}
/* 黑幕模板配合CSS */
/* 把这几行单独拎出来写,否则会被Firefox合并到“.heimu a”这条规则,然后又被上面的“点过外链不变色”规则override */
span.heimu a.external,
span.heimu a.external:visited,
span.heimu a.extiw,
span.heimu a.extiw:visited {
    color: #252525;
}
.heimu,
.heimu a,
a .heimu,
.heimu a.new {
    background-color: #252525;
    color: #252525;
    text-shadow: none;
}
body:not(.heimu_toggle_on) .heimu:hover,
body:not(.heimu_toggle_on) .heimu:active,
body:not(.heimu_toggle_on) .heimu.off {
    transition: color .13s linear;
    color: white;
}
body:not(.heimu_toggle_on) .heimu:hover a,
body:not(.heimu_toggle_on) a:hover .heimu,
body:not(.heimu_toggle_on) .heimu.off a,
body:not(.heimu_toggle_on) a:hover .heimu.off {
    transition: color .13s linear;
    color: lightblue;
}
body:not(.heimu_toggle_on) .heimu.off .new,
body:not(.heimu_toggle_on) .heimu.off .new:hover,
body:not(.heimu_toggle_on) .new:hover .heimu.off,
body:not(.heimu_toggle_on) .heimu.off .new,
body:not(.heimu_toggle_on) .heimu.off .new:hover,
body:not(.heimu_toggle_on) .new:hover .heimu.off {
    transition: color .13s linear;
    color: #BA0000;
}
/* 隐藏目录 */
#toc:not(.toc-custom) {
  display: none;
}
/* 图片页隐藏媒体查看器 */
.mw-mmv-filepage-buttons .mw-mmv-view-expanded, .mw-mmv-filepage-buttons .mw-mmv-view-config {
    display: none;
}
/* 导航条(完全没有apple风格的apple风面包屑orz) 来源:http://www.jankoatwarpspeed.com/examples/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 {
    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;
}
/* info类模板 */
.infoBox {
    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);
}
.infobox1 {
  margin:0 auto;
  border-radius: 5px;
  overflow: hidden;
}
.infobox2 {
  margin-top: 0.4em ;
  margin-left: 1em;
  padding: 0.2em;
  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);
}
.infobox3 {
  margin:0 auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.10);
  border-radius: 15px;
  overflow: hidden;
}
.infoBoxTitle {
    margin: 3px auto;
    padding: 0;
    text-align: center;
    font-weight: 700;
}
.infoBoxIcon {
    display: table-cell;
    padding: 2px 0 2px .5em;
    vertical-align: middle;
}
.infoBoxText {
    display: table-cell;
    padding: .25em .5em .25em 1.3em;
    width: 100%;
    vertical-align: middle;
}
.infoBoxContent new{
  padding: 0.6em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border-radius: 5px;
  overflow: hidden;
  background: rgba(251,251,251,0.7);
}
.infoBoxContent {
    padding: 5px; 
    border-left-width: 0;
    background: #fbfbfb;
}
.infoBoxBelow {
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
.infoBoxYellow {
  padding: 0.5em;
  background: rgba(255,255,245);
}
.infoBoxRed {
  padding: 0.5em;
  background: rgba(258,240,245);
}
.infoBoxBlue {
  padding: 0.4em;
  background: rgba(240,248,255);
}
.infoBoxPurple {
  padding: 0.4em;
  background: rgba(248,248,255);
}
.infoBoxGreen {
  padding: 0.5em;
  background: rgba(245,255,250);
}
.infoBoxOrange {
  padding: 0.5em;
  background: rgba(250,240,230);
}
/*热门评论*/
.comment-container-top>div:not(.comment-thread) {
  background-color: rgba(244, 196, 48, 0.8) !important;
  color: white !important;
  font-weight: bolder !important;
}
.comment-thread.comment-popular {
  background-color: rgba(244, 196, 48, 0.15) !important;
}
/* wikitable MD化 */
table.wikitable {
  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;
}
/* 回到顶部 */
.backToTop {
    display: none;
    width: 20px;
    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;
}

/* 信息模板的css */
.infotemplatebox {
    float: right;
    width: 250px;
    font-size: 100%;
    margin: 1em 0 1em 1em;
    background: #f9f9f9;
    border: 1px #999 solid;
    border-collapse: collapse;
    word-break: break-all;
    clear: right;
}
/* 编辑区样式 */
.my-buttons {
    padding: 0em .6em .3em .6em;
}
.my-buttons a {
    text-decoration: none;
    border: 1px #069 outset;
    padding: .1em;
}
.my-buttons a:hover,
.my-buttons a:active {
    border-style: inset;
}
#wpTextbox1.mw-editfont-monospace{
font-size: 93%;
height: 450px;
}
#msupload-container.start-loading{
display:none;
}
#msupload-dropzone {
    padding: 3px;
    height: 19px; 
    font-size: small;
}
.client-js .editButtons .editHelp {
    display: inline-block!important;
}
.oo-ui-buttonElement-frameless.oo-ui-labelElement:first-child {
    margin-left: .1em;
}
.ve-ui-mwSaveDialog-summaryLabel {
    display: none;
}
.wikiEditor-ui-toolbar {
    background-color: #f8f9fa!important;
    box-shadow: 0 2px 1px 0 rgba(0,0,0,0.1)!important;
    background-image: none!important;
}
.wikiEditor-ui-toolbar .sections .section {
    background-color: #f8f9fa!important;
    box-shadow: 0 2px 1px 0 rgba(0,0,0,0.1)!important;
}
#msupload-dropzone {
    box-shadow: 0 2px 1px 0 rgba(0,0,0,0.1)!important;
}
#msupload-container {
    position: absolute;
}
.wikiEditor-ui-toolbar .tabs {
    margin-left: 24px;
    border-left: 1px solid #c8ccd1;
}
.wikiEditor-ui-toolbar .tabs span.tab.tab-advanced {
    padding-left: 7px;
}
.tool-button.tool-active, .tool.tool-active.oo-ui-buttonElement-frameless.oo-ui-iconElement {
    outline: transparent;
    background-color: transparent;
    box-shadow: none;
}
/*全站字型*/
body {
    font-size: 108%;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}
.mw-body-content {
    line-height: 1.85;
}
.oo-ui-window-content {
    font-size: 89.3%;
}
.mw-label {
    white-space: nowrap;
}
body .ui-dialog .ui-widget-header {
    background: #f1f1f1 !important;
}
body .ui-button {
    box-shadow: 0 0 0 0 !important;
}
::selection {
    text-shadow: none;
}
::-webkit-scrollbar {
    border: 0;
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-button {
    width: 0;
    height: 0;
}
::-webkit-scrollbar-thumb {
    border: 0;
    min-height: 34px;
    padding-top: 100;
    background-clip: padding-box;
    background-color: rgba(0,0,0,.15);
}
::-webkit-scrollbar-track {
    border: 0;
    background-clip: padding-box;
    background-color: rgba(206,205,197,.1);
}
::selection {
    background: rgba(0,0,0,.1);
    text-shadow: none;
}
.ve-init-mw-desktopArticleTarget-toolbar-open > .oo-ui-toolbar-bar {
    top: -1px;
    border-top: 1px solid #c8ccd1;
}
/* 链接显示效果 */
a:hover {
  text-decoration: none;
  color: #2a4b8d!important;
}
a, a:visited {
    text-decoration: none;
    color: #447ff5;
}
.mw-body a.external:visited {
    color: #447ff5;
}
/* 公告栏滚动Rollnews */
#scrollDiv {
    width: 100%;
    height: 25px;
    line-height: 25px;
    overflow: hidden
}
#scrollDiv ul {
    margin-left: 0!important;
}
#scrollDiv li {
    background-color: rgb(245,245,245,0.3);
    height: 25px;
    padding-left: 0px;
    list-style: none;
}
#localNotice {
    background-color: rgb(245,245,245,0.3);
}
/* 侧边栏、顶部栏、页脚 */
#p-personal {
    font-size: 17.5px;
    right: 1em;
}
div.vectorTabs {
    font-size: 16px;
    padding-top: 2px;
}
.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a, .vectorTabs #ca-wikilove.icon a {
    padding-top: 3.4em;
}
    #content {
        border: 0px !important;
        margin-left: 214px !important;
    }

    .portal {
        background: transparent !important;
    }

    #mw-panel {
        width: 200px !important;
        border-right: 1px solid #bbb;
        background: rgb(254,254,254,0.96) !important;
        padding-left: 13px !important;
    }
    
    #p-logo {
        left: 0px;
        padding-left: 10px;
    }

    #p-logo a {
        padding-left: 40px;
        left: 0px;
        border-right: 1px solid #aaa;
    }
    #p-logo a:hover {
        opacity: 1.0;
    }

    #mw-head {
        background-color: rgb(254,254,254,0.95);
        opacity: 1.0;
        box-shadow: 0px 1px 2px #aaa;
        -webkit-transition-property: opacity !important;
        -moz-transition-property: opacity !important;
        -o-transition-property: opacity !important;
        -ms-transition-property: opacity !important;
        transition-property: opacity !important;
        -webkit-transition-duration: 0.5s !important;
        -moz-transition-duration: 0.5s !important;
        -o-transition-duration: 0.5s !important;
        -ms-transition-duration: 0.5s !important;
        transition-duration: 0.25s !important;
    }

    #mw-head:hover {
        opacity: 1.0 !important;
    }

    .uls-settings-trigger {
        display: none !important;
    }

    #left-navigation {
        margin-left: 233px !important;
    }
#mw-page-base {
    height: 104px;
}
#left-navigation,
#right-navigation {
    margin-top: 60px;
}
#mw-head div.vectorMenu h4 {
    height: 1.9em;
    margin-bottom: 0;
    padding-top: 1.25em;
    padding-bottom: 0;
    padding-right: 0.5em;
}
#mw-panel div.portal {
    padding-bottom: 0.7em;
    padding-top: 0.4em;
}
#mw-panel #p-logo .mw-wiki-logo {
    width: 175px;
}
#mw-panel {
    font-size: 18.5px;
    /* mw-panel的宽度是10em,改了font-size以后也需要修改一下 */
    width: 11.6rem;
}
    ul,li {
        background: transparent !important;
        border: 0px !important;
    }

    li span {
        border: 0px !important;
    }

   #mw-panel,#mw-head {
        line-height: 1.7 !important;
        font-weight: 300 !important;
    }

#mw-panel .portal .body li {
     line-height: 1.6em;
}
    .mw-wiki-logo{
        padding-left: 5px !important;
        padding-top: 10px !important;
        border: none !important;
    }
.clear-div {
    clear: both;
}
.uls-trigger{
    display: none;
}
div.vectorMenu div.menu {
    top: 2.6em;
    width: 100%;
    background-color: rgba(251,251,251,0.9);
    border: 1px solid #a7d7f9;
    border-top: transparent;
}
#mw-panel .portal .body li a:visited {
  color: #0648AF;
}
#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(https://www.hmoegirl.com/images/0/09/80468767.jpg);
}
#footer {
    margin-left: 12.4em;
    padding: 1.25em;
}
/* 谷歌翻译框调整*/
.goog-te-gadget {
    margin-left: inherit!important;
    max-width: 95%!important;
    background-color: transparent;
}
/* 标题字型调整*/
#firstHeading {
    font-family: sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 500;
    padding-bottom: 6px;
    font-variant: small-caps;
    font-size: 170%;
}
h2,
h3,
h4,
h5,
h6 {
        font-family: "roboto",sans-serif !important;
	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;
}
/* MW自带10em宽度,应该是留给测试链接的吧萌百没有就去掉 */
#p-personal ul {
    padding-left: 0;
}
/* 搜索框 */
#simpleSearch {
  max-width: 220px; 
  background-image: none;
  border-radius: 20px;
  padding: 0px 10px;
  opacity: 0.625;
  display: flex;
  align-items: center;
  transition: width 0.4s;
}
 
#simpleSearch:hover {
  border-color: var(--theme-color) !important;
}
 
#simpleSearch:focus-within {
  width: 240px;
}
 
#searchInput::-webkit-input-placeholder {
  color: var(--theme-color) !important;
}
 
#searchInput::input-placeholder {
  color: var(--theme-color) !important;
}
 
#simpleSearch #searchButton {
  right: 8px !important;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E %3Cpath d='M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'%3E%3C/path%3E %3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E %3Cpath d='M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'%3E%3C/path%3E %3C/svg%3E");
  background-color: var(--theme-color) !important;
  background-image: none !important;
  background-color: var(--theme-color) !important;
  width: 20px !important;
  height: 20px !important;
  padding-block-start: 21px;
}
 
#simpleSearch:hover>#searchButton {
  animation: shake 0.4s 1 forwards;
}

#p-search {
    float: left;
    margin-right: 0.5em;
    margin-left: 0.6em;
    margin-top: 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;
}
/* 隐藏编辑提示修改和上传文件协议 */
div.sysop-show, p.sysop-show {
    display: none;
}
.mw-htmlform-field-Licenses{
    display: none;
}
/* 链接显示效果 */
a:hover {
  text-decoration: none;
  color: #2a4b8d!important;
}
a, a:visited {
    text-decoration: none;
    color: #3366cc;
}
/* 被点过的外部链接不变色。采取和默认皮肤相同写法,以便override */
.mw-body a.external:visited {
    color: #3366cc;
}
/* 斜体字右边距加大看以防止文字挤在一起 */
#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;
}
/* 隐藏首页标题、空行、分类、讨论、查看源代码tab */
.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;
}
/* 黑幕模板配合CSS */
/* 把这几行单独拎出来写,否则会被Firefox合并到“.heimu a”这条规则,然后又被上面的“点过外链不变色”规则override */
span.heimu a.external,
span.heimu a.external:visited,
span.heimu a.extiw,
span.heimu a.extiw:visited {
    color: #252525;
}
.heimu,
.heimu a,
a .heimu,
.heimu a.new {
    background-color: #252525;
    color: #252525;
    text-shadow: none;
}
body:not(.heimu_toggle_on) .heimu:hover,
body:not(.heimu_toggle_on) .heimu:active,
body:not(.heimu_toggle_on) .heimu.off {
    transition: color .13s linear;
    color: white;
}
body:not(.heimu_toggle_on) .heimu:hover a,
body:not(.heimu_toggle_on) a:hover .heimu,
body:not(.heimu_toggle_on) .heimu.off a,
body:not(.heimu_toggle_on) a:hover .heimu.off {
    transition: color .13s linear;
    color: lightblue;
}
body:not(.heimu_toggle_on) .heimu.off .new,
body:not(.heimu_toggle_on) .heimu.off .new:hover,
body:not(.heimu_toggle_on) .new:hover .heimu.off,
body:not(.heimu_toggle_on) .heimu.off .new,
body:not(.heimu_toggle_on) .heimu.off .new:hover,
body:not(.heimu_toggle_on) .new:hover .heimu.off {
    transition: color .13s linear;
    color: #BA0000;
}
/* 隐藏目录 */
#toc:not(.toc-custom) {
  display: none;
}
/* 图片页隐藏媒体查看器 */
.mw-mmv-filepage-buttons .mw-mmv-view-expanded, .mw-mmv-filepage-buttons .mw-mmv-view-config {
    display: none;
}
/* 导航条(完全没有apple风格的apple风面包屑orz) 来源:http://www.jankoatwarpspeed.com/examples/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 {
    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;
}
/* info类模板 */
.infoBox {
    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);
}
.infobox1 {
  margin:0 auto;
  border-radius: 5px;
  overflow: hidden;
}
.infobox2 {
  margin-top: 0.4em ;
  margin-left: 1em;
  padding: 0.2em;
  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);
}
.infobox3 {
  margin:0 auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.10);
  border-radius: 15px;
  overflow: hidden;
}
.infoBoxTitle {
    margin: 3px auto;
    padding: 0;
    text-align: center;
    font-weight: 700;
}
.infoBoxIcon {
    display: table-cell;
    padding: 2px 0 2px .5em;
    vertical-align: middle;
}
.infoBoxText {
    display: table-cell;
    padding: .25em .5em .25em 1.3em;
    width: 100%;
    vertical-align: middle;
}
.infoBoxContent new{
  padding: 0.6em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border-radius: 5px;
  overflow: hidden;
  background: rgba(251,251,251,0.7);
}
.infoBoxContent {
    padding: 5px; 
    border-left-width: 0;
    background: #fbfbfb;
}
.infoBoxBelow {
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
.infoBoxYellow {
  padding: 0.5em;
  background: rgba(255,255,245);
}
.infoBoxRed {
  padding: 0.5em;
  background: rgba(258,240,245);
}
.infoBoxBlue {
  padding: 0.4em;
  background: rgba(240,248,255);
}
.infoBoxPurple {
  padding: 0.4em;
  background: rgba(248,248,255);
}
.infoBoxGreen {
  padding: 0.5em;
  background: rgba(245,255,250);
}
.infoBoxOrange {
  padding: 0.5em;
  background: rgba(250,240,230);
}
/*热门评论*/
.comment-container-top>div:not(.comment-thread) {
  background-color: rgba(244, 196, 48, 0.8) !important;
  color: white !important;
  font-weight: bolder !important;
}
.comment-thread.comment-popular {
  background-color: rgba(244, 196, 48, 0.15) !important;
}
/* wikitable MD化 */
table.wikitable {
  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;
}
/* 回到顶部 */
.backToTop {
    display: none;
    width: 20px;
    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;
}

/* 信息模板的css */
.infotemplatebox {
    float: right;
    width: 250px;
    font-size: 100%;
    margin: 1em 0 1em 1em;
    background: #f9f9f9;
    border: 1px #999 solid;
    border-collapse: collapse;
    word-break: break-all;
    clear: right;
}
/* 编辑区样式 */
.my-buttons {
    padding: 0em .6em .3em .6em;
}
.my-buttons a {
    text-decoration: none;
    border: 1px #069 outset;
    padding: .1em;
}
.my-buttons a:hover,
.my-buttons a:active {
    border-style: inset;
}
#wpTextbox1.mw-editfont-monospace{
font-size: 93%;
height: 450px;
}
#msupload-container.start-loading{
display:none;
}
#msupload-dropzone {
    padding: 3px;
    height: 19px; 
    font-size: small;
}
.client-js .editButtons .editHelp {
    display: inline-block!important;
}
.oo-ui-buttonElement-frameless.oo-ui-labelElement:first-child {
    margin-left: .1em;
}
.ve-ui-mwSaveDialog-summaryLabel {
    display: none;
}
.wikiEditor-ui-toolbar {
    background-color: #f8f9fa!important;
    box-shadow: 0 2px 1px 0 rgba(0,0,0,0.1)!important;
    background-image: none!important;
}
.wikiEditor-ui-toolbar .sections .section {
    background-color: #f8f9fa!important;
    box-shadow: 0 2px 1px 0 rgba(0,0,0,0.1)!important;
}
#msupload-dropzone {
    box-shadow: 0 2px 1px 0 rgba(0,0,0,0.1)!important;
}
#msupload-container {
    position: absolute;
}
.wikiEditor-ui-toolbar .tabs {
    margin-left: 24px;
    border-left: 1px solid #c8ccd1;
}
.wikiEditor-ui-toolbar .tabs span.tab.tab-advanced {
    padding-left: 7px;
}
.tool-button.tool-active, .tool.tool-active.oo-ui-buttonElement-frameless.oo-ui-iconElement {
    outline: transparent;
    background-color: transparent;
    box-shadow: none;
}