“MediaWiki:Common.css”的版本间的差异

来自萌娘文库
跳转至: 导航搜索
(// Edit Via InPageEdit)
 
(未显示同一用户的1个中间版本)
第141行: 第141行:
 
}
 
}
  
.comment-replybox>* {
+
/* 评论区提示 */
    display: none
+
.ns-0.action-view:not(.page-Mainpage) #bodyContent::after,
}
+
.ns-2.action-view #bodyContent::after,
.comment-replybox::after {
+
.ns-4.action-view #bodyContent::after,
     content: "因系统维护,评论区临时暂停发布与回复功能";
+
.ns-12.action-view #bodyContent::after {
     border-top: 1px solid rgba(0, 0, 0, 0.13);
+
     content: "因系统维护,评论区临时暂停所有功能";
    font-size: 13px;
+
     border: 1px solid rgba(0, 0, 0, 0.17);
 
     text-align: center;
 
     text-align: center;
 +
    font-size: small;
 
     padding: 1em;
 
     padding: 1em;
 
     color: #777;
 
     color: #777;
     display: block;
+
     display: block !important;
 +
    clear: both;
 +
}
 +
.ns-0.action-view:not(.page-Mainpage) #bodyContent:lang(zh-hant)::after,
 +
.ns-0.action-view:not(.page-Mainpage) #bodyContent:lang(zh-hk)::after,
 +
.ns-0.action-view:not(.page-Mainpage) #bodyContent:lang(zh-tw)::after,
 +
.ns-2.action-view #bodyContent:lang(zh-hant)::after,
 +
.ns-2.action-view #bodyContent:lang(zh-hk)::after,
 +
.ns-2.action-view #bodyContent:lang(zh-tw)::after,
 +
.ns-4.action-view #bodyContent:lang(zh-hant)::after,
 +
.ns-4.action-view #bodyContent:lang(zh-hk)::after,
 +
.ns-4.action-view #bodyContent:lang(zh-tw)::after,
 +
.ns-12.action-view #bodyContent:lang(zh-hant)::after,
 +
.ns-12.action-view #bodyContent:lang(zh-hk)::after,
 +
.ns-12.action-view #bodyContent:lang(zh-tw)::after {
 +
    content: "因系統維護,評論區臨時暫停所有功能"
 
}
 
}

2022年8月19日 (五) 23:00的最新版本

/* 放置于这里的CSS将应用于所有皮肤 */

#p-logo a {
height: 170px;
}

/* navbox所需CSS */
table.navbox {
    border: 1px solid #AAAAAA;
    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: bold;
    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 #CCCCFF;
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
    background: none repeat scroll 0 0 #DDDDFF;
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
    background: none repeat scroll 0 0 #E6E6FF;
}
.navbox-even {
    background: none repeat scroll 0 0 #F7F7F7;
}
.navbox-odd {
    background: none repeat scroll 0 0 transparent;
}
.collapseButton {
    float: right;
    font-weight: normal;
    text-align: right;
    width: auto;
}
.navbox .collapseButton {
    width: 6em;
}

/* 桌面版黑幕模板配合CSS */
.heimu,
.heimu rt {
    background-color: #252525;
}
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 {
    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:hover .new {
    transition: color .13s linear;
    color: #FCC;
}
/* 评论区热评 */
.comment-container-top {
    background-color: rgba(66, 137, 161, .2);
}
.comment-container-top > div:first-child {
    background-color: rgba(19, 109, 134, .47);
    color: #fff;
    font-weight: 700;
}

/* 评论区输入框工具栏 */
.post-content .comment-text {
    position: static;
}
.post-content .comment-toolbar {
    position: static;
    display: flex;
    justify-content: flex-start;
}
.post-content .flowthread-btn {
    position: static;
    margin-top: 3px;
}
.post-content .comment-submit {
    position: static;
    margin: -1px -1px 0 auto;
}

/* 数据表格 */
.mw-datatable.TablePager {
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}

/* 隐藏只供维护人员查看的内容 */
.patroller-show,
.checkuser-show,
.suppress-show,
.sysop-show,
.interface-admin-show {
    display: none !important;
}

/* 评论区提示 */
.ns-0.action-view:not(.page-Mainpage) #bodyContent::after,
.ns-2.action-view #bodyContent::after,
.ns-4.action-view #bodyContent::after,
.ns-12.action-view #bodyContent::after {
    content: "因系统维护,评论区临时暂停所有功能";
    border: 1px solid rgba(0, 0, 0, 0.17);
    text-align: center;
    font-size: small;
    padding: 1em;
    color: #777;
    display: block !important;
    clear: both;
}
.ns-0.action-view:not(.page-Mainpage) #bodyContent:lang(zh-hant)::after,
.ns-0.action-view:not(.page-Mainpage) #bodyContent:lang(zh-hk)::after,
.ns-0.action-view:not(.page-Mainpage) #bodyContent:lang(zh-tw)::after,
.ns-2.action-view #bodyContent:lang(zh-hant)::after,
.ns-2.action-view #bodyContent:lang(zh-hk)::after,
.ns-2.action-view #bodyContent:lang(zh-tw)::after,
.ns-4.action-view #bodyContent:lang(zh-hant)::after,
.ns-4.action-view #bodyContent:lang(zh-hk)::after,
.ns-4.action-view #bodyContent:lang(zh-tw)::after,
.ns-12.action-view #bodyContent:lang(zh-hant)::after,
.ns-12.action-view #bodyContent:lang(zh-hk)::after,
.ns-12.action-view #bodyContent:lang(zh-tw)::after {
    content: "因系統維護,評論區臨時暫停所有功能"
}