MediaWiki:Mobile.css:修订间差异

imported>=海豚=
无编辑摘要
top:​bad link repair, replaced: hmoegirl.com → hmoegirl.info
 
(未显示3个用户的35个中间版本)
第1行: 第1行:
/* 放置于这里的CSS将影响使用移动版网站的用户 */
/* 放置于这里的CSS将影响使用移动版网站的用户 */
/* 标题样式调整*/
html>body.skin-minerva .content .mw-parser-output>h2::before,
html>body.skin-minerva .content .section-heading::before {
    content: "#";
    display: block;
    user-select: none;
    color: #ffa92f;
    background-color: #ffa92f;
    position: absolute;
    top: .6em;
    width: 6px;
    overflow: hidden;
}
html>body.skin-minerva .content .mw-parser-output > h2 .indicator, .content .section-heading .indicator {
    margin-left: 1em;
}
/* 链接样式 */
/* 链接样式 */
a:hover {
a:hover {
text-decoration: none;
    text-decoration: none;
}
}
a, a:visited {
a, a:visited {
     text-decoration: none;
     text-decoration: none;
     color: #3366cc;
     color: #3366cc;
}
/* 社群推荐背景样式 */
#mp-banner {
    background-image: url(https://www.hmoegirl.com/images/0/09/80468767.jpg);
}
/* 黑幕 */
.heimu,
.heimu a,
a .heimu,
.heimu a.new {
    background-color: #252525;
    color: #252525;
    text-shadow: none;
}
.heimu:hover,
.heimu:active,
.heimu:hover .heimu,
.heimu:active .heimu {
    color: white !important;
}
.heimu:hover a,
a:hover .heimu,
.heimu:active a,
a:active .heimu {
    color: lightblue !important;
}
.heimu:hover .new,
.heimu .new:hover,
.new:hover .heimu,
.heimu:active .new,
.heimu .new:active,
.new:active .heimu {
    color: #BA0000 !important;
}
}
/* 目录样式 */
/* 目录样式 */
第45行: 第28行:
     background-color: #F5F5F5 !important;
     background-color: #F5F5F5 !important;
     border: solid 0px transparent !important;
     border: solid 0px transparent !important;
     border-left: 4px solid #f4c430 !important;
     border-left: 4px solid #ffa92f !important;
}
/* 社群推荐背景样式 */
#mp-banner {
    background-image: url(https://www.hmoegirl.info/images/0/09/80468767.jpg);
}
}
/* 页顶提示模板相关 */
/* 页顶提示模板相关 */
第83行: 第70行:
.common-box {
.common-box {
     width: 100% !important;
     width: 100% !important;
}
/* 编辑区样式 */
.mw-editTools {
    display: none!important;
}
.editnotice-link sysop-show{
display: none!important;
}
#wpSummaryLabel > div > span > label{
display:none;
}
.CodeMirror {
    border: 1px solid #c8ccd1;
}
}
/* info类模板 */
/* info类模板 */
.infobox {
.infobox {
  float: middle;
  clear: middle;
   margin:0 auto;
   margin:0 auto;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.10);
   background: rgba(251,251,251,0.7);
  border-radius: 5px;
  overflow: hidden;
  border: 0.5px solid #ddd;
}
}
.infobox2 {
.infotemplatebox {
   padding: 0.2em;
   padding: 0.2em;
   float: middle;
   float: middle;
   clear: middle;
   clear: middle;
  border-radius: 4px;
   background: rgba(251,251,251);
   background: rgba(251,251,251);
}
}
.infoBoxTitle {
/* 编辑区样式 */
     margin: 3px auto;
.mw-editTools {
    padding: 0;
     display: none!important;
    text-align: center;
    font-weight: 700;
}
}
.infoBoxIcon {
#wpSummaryLabel > div > span > label{
     display: table-cell;
     display:none;
    padding: 2px 0 2px .5em;
    vertical-align: middle;
}
}
.infoBoxText {
.CodeMirror-gutter-elt{
     display: table-cell;
     display: none;
    padding: .25em .5em .25em 1.3em;
    width: 100%;
    vertical-align: middle;
}
}
.infoBoxContent {
.CodeMirror-gutters {
  padding: 0.6em;
     display: none;
  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;
  border: 1px solid #ddd;
  background: rgba(251,251,251);
}
.infoBoxBelow {
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
/* 隐藏用户评论头像 */
.comment-avatar {
     display: none !important;
}
}
.comment-body {
.content .collapsible-heading .edit-page {
    padding-left: 12px !important;
     visibility: inherit!important;
}
.comment-thread .comment-thread {
    margin-left: 35px !important;
}
.comment-thread > div:not(:first-child) .comment-body {
    padding-left: 0px !important;
}
.comment-body {
     padding-left: 7px !important;
    padding-right: 6px !important;
}
.comment-replybox{
border-top: 1px solid rgba(0,0,0,0.13);
    padding-top: 25px!important;
}
/* 隐藏无用按钮 */
#page-secondary-actions {
    display: none;
}
}
/* 表格优化 */
/* 表格优化 */
table.wraptable {
table.wraptable {
  white-space: normal;
    white-space: normal;
}
}/*
.content table{
.content table {
     display: table;
     display: table;
}
}*/
/* 修复单元格莫名空行 */
/* 修复单元格莫名空行 */
td {
td {
第249行: 第182行:
#content.content table.wikitable {
#content.content table.wikitable {
     border: none;
     border: none;
}
/* Ruby 模板 */
rb[data-id="template-ruby"]::before {
    content: "";
}
rb[data-id="template-ruby"]::before,
.template-ruby-hidden {
    display: inline-block;
    width: 0;
    font-size: 0;
}
}
/* 大家族模板 */
/* 大家族模板 */
html > body.skin-minerva .navbox th,
.navbox th,
html > body.skin-minerva .navbox-group {
.navbox-group {
     background: #a5e4a5;
     background: #a5e4a5;
}
}
/* 来个高优先级的 */
body .content .navbox {
html > body.skin-minerva body .content .navbox {
     display: table !important;
     display: table !important;
}
}
html > body.skin-minerva .navbox .content table {
.navbox .content table {
     width: 100% !important;
     width: 100% !important;
}
}
html > body.skin-minerva .navbox {
.navbox {
     border: 1px solid #aaa;
     border: 1px solid #aaa;
     clear: both;
     clear: both;
第279行: 第201行:
     width: 100%;
     width: 100%;
     background: #fdfdfd;
     background: #fdfdfd;
    font-size: 97% !important;
}
}
html > body.skin-minerva .navbox-subgroup {
.navbox-subgroup {
     background: #fdfdfd;
     background: #fdfdfd;
}
}
html > body.skin-minerva .navbox-group {
.navbox-title {
    border-radius:0 !important;
}
.navbox-group {
     white-space: nowrap;
     white-space: nowrap;
}
}
html > body.skin-minerva .navbox table {
.navbox table {
     width: 100% !important;
     width: 100% !important;
     margin: 0 !important;
     margin: 0 !important;
}
}
html > body.skin-minerva .navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-group,
html > body.skin-minerva .navbox-abovebelow {
.navbox-abovebelow {
     background: #e6f6e6;
     background: #e6f6e6;
}
}
/* Fix by case : Rev 1327309 ([[Special:Permalink/1327309]])
/* Fix by case : Rev 1327309 ([[Special:Permalink/1327309]])
     Address alignment issue of nested tabs in Navbox */
     Address alignment issue of nested tabs in Navbox */
html > body.skin-minerva .navbox .TabLabel {
.navbox .TabLabel {
     text-align: left;
     text-align: left;
}
}
@media screen and (max-width: 640px) {
@media screen and (max-width: 640px) {
    html > body.skin-minerva .navbox-group,
    .navbox-group,
    html > body.skin-minerva .navbox-list,
    .navbox-list,
    html > body.skin-minerva .navbox-title {
    .navbox-title {
         display: block;
         display: block;
         width: 100% !important;
         width: 100% !important;
         box-sizing: border-box;
         box-sizing: border-box;
     }
     }
    html > body.skin-minerva .navbox-group+* {
    .navbox-group+* {
         border-left: 0 !important;
         border-left: 0 !important;
         border-top: 2px solid #fdfdfd;
         border-top: 2px solid #fdfdfd;
     }
     }
    html > body.skin-minerva .navbox-group + .navbox-list > .navbox-subgroup {
    .navbox td[rowspan] {
        border-left: .75em solid transparent;
    }
    html > body.skin-minerva .navbox td[rowspan] {
         display: none;
         display: none;
     }
     }