MediaWiki:Common.css:修订间差异
来自卖块资源站
MangoFanFan(留言 | 贡献) (添加按钮样式) |
MangoFanFan(留言 | 贡献) 小 (→上传向导页面优化) |
||
(未显示同一用户的11个中间版本) | |||
第22行: | 第22行: | ||
.flex-fill.container { | .flex-fill.container { | ||
width: 92%; | width: 92%; | ||
} | |||
#mw-content-text { | |||
margin-top: 0.5em; | |||
padding: 20px; | |||
} | } | ||
第38行: | 第42行: | ||
} | } | ||
/* WIKI背景图 是在 Lakeus.css 中设置的 */ | |||
/* WIKI背景图 */ | |||
/* 模板CSS */ | /* 模板CSS */ | ||
第110行: | 第109行: | ||
/* 搬运BWIKI */ | /* 搬运BWIKI */ | ||
* { | * { | ||
padding: 0; | padding: 0; | ||
第427行: | 第425行: | ||
border-right-width: 0px; | border-right-width: 0px; | ||
border-left-width: 0px; | border-left-width: 0px; | ||
} | |||
/* 2010 wikitext 源代码编辑页面优化 */ | |||
select#msi-select { | |||
height: 28px; | |||
} | |||
#msupload-dropzone { | |||
margin: 3px; | |||
padding: 5px; | |||
border: 1px dashed #a2a9b1; | |||
text-align: center; | |||
height: 35px; | |||
color: #202122; | |||
} | |||
#msupload-bottom { | |||
border-top: 1px solid #c8ccd1; | |||
padding: 8px; | |||
height: 38px; | |||
} | |||
/* 用户签名头像支持 */ | |||
img.userlink-avatar { | |||
width: 2.5em; | |||
border-radius: 50%; | |||
} | |||
/* 编辑巡查页面美化 */ | |||
input[type="submit"] { | |||
background: var(--color-primary); | |||
font-size: 16px; | |||
color: white; | |||
border-color: var(--color-primary); | |||
padding: 6px 16px 6px 16px; | |||
margin: 2px; | |||
} | |||
select { | |||
padding: 6px; | |||
border-radius: 0px; | |||
} | |||
label { | |||
font-size: 16px; | |||
} | |||
input { | |||
padding: 6px; | |||
border-radius: 0px; | |||
} | |||
option { | |||
font-size: 14px; | |||
border-radius: 0px; | |||
} | |||
/* 上传向导页面优化 */ | |||
#upload-wizard { | |||
margin-top: 18px; | |||
min-width: 750px; | |||
max-width: 100%; | |||
width: 100%; | |||
} | } |
2024年7月31日 (三) 16:43的最新版本
/* 这里放置的CSS将应用于所有皮肤 */
/* 隐藏MW默认的帮助链接 */
#mw-indicator-mw-helplink {
display: none;
}
/*图片自适应*/
.img-kk {max-width:100%;height:auto;}
.img-icon {
border-radius:5px
}
img{max-width:100%;height:auto;margin:0 auto;text-align:center;}
/* 防止某些情况下导航栏异常变宽(限制宽度) */
#mw-navigation {
max-width: 100%;
}
/* 调整主内容宽度 */
.flex-fill.container {
width: 92%;
}
#mw-content-text {
margin-top: 0.5em;
padding: 20px;
}
/* 设置全局半透明 */
.container {
opacity: 0.84;
background-color: rgb(255,255,255);
}
.mb-2.mt-4.container-fluid {
background-color: rgb(233,236,239);
}
.modheader-shadow-root-host-el-id {
background-color: rgb(233,236,239);
}
/* WIKI背景图 是在 Lakeus.css 中设置的 */
/* 模板CSS */
.BILIBILI-BOX {width:100%;margin-bottom:20px;}
.BOX-title-1 {width:100%;font-size:14px;padding:7px 10px;font-weight: bold;background:#404040;color:#fff;}
.BOX-title-2 {padding: 10px 0px 5px 0px;font-size: 14px;font-weight: bold;border-bottom: 1px solid #384348;}
.BOX-N {width:100%;padding:0px;}
.BOX-GD {color:#f7f7f7;border: 1px solid #f7f7f7;padding: 0px 5px;border-radius: 50%;}
.BOX-AN-50 {width:50%}
.BOX-AN-25 {width:25%}
.BOX-AN-20 {width:20%}
.BOX-AN2 {width:100%;display: inline-block;height:30px;line-height:30px;padding-left:35px;padding-right:5px;color:#404040;}
.BOX-AN2:hover {background:#000;color:#f7f7f7;}
@media only screen and (max-width:759px){
.BOX-AN-25 {width:50%}
.BOX-AN-20 {width:50%}
}
.update-log .log-title {display: none;}
.update-log .bili-list-group {padding: 0px 0px;}
.update-log .read-more {display: none;}
.carousel.big-carousel .carousel-indicators li, .carousel.big-carousel .carousel-indicators li.active {width: 8px;height: 8px;}
.carousel.big-carousel .carousel-indicators {bottom: -2.4em;margin-left: -30%;margin-bottom: 45px;}
.carousel.big-carousel {margin-bottom: 15px;}
.BOX-1 .BOX-title-2 {padding: 10px 0px 5px 0px;}
.BOX-1 {background:#f7f7f7;border:1px solid #404040;}
.BOX-1 .BOX-N {padding:5px 10px;}
.BOX-2 .BOX-title-1 {border-radius: 8px;}
.BOX-2 {border:1px solid #404040;border-radius: 4px;padding:2px}
.BOX-2 .BOX-2-1 {background:#f7f7f7;border:1px solid #404040;border-radius: 8px;padding:10px;}
.BOX-3 .BOX-title-1 {border-radius: 8px;}
.BOX-3 {background:#f7f7f7;border-radius: 8px;padding:10px}
.BOX-4 .BOX-title-1 {border-radius: 8px 8px 0px 0px;}
.BOX-4 {background:#f7f7f7;border-radius: 8px;padding:0px;}
.BOX-4 .BOX-N {padding:5px 10px;}
.BOX-5 .BOX-title-1 {border-radius: 8px 8px 0px 0px;background:#262626;color:#f7f7f7;}
.BOX-5 .BOX-title-2 {padding: 10px 0px 5px 0px;border-bottom: 1px solid #262626;}
.BOX-5 {background:#404040;border-radius: 8px;padding:0px;}
.BOX-5 .BOX-N {padding:5px 10px;border:2px solid #262626;border-top:0px solid ;box-shadow: inset 0 0 1px 2px #000;color:#f7f7f7;border-radius: 0px 0px 8px 8px;}
.BOX-5 .bili-section-normal,.BOX-5 .bili-section-primary {color: #f7f7f7;background: #626262;border: 1px solid rgb(0, 0, 0);}
.BOX-5 .bili-section-normal:hover {color: #fff;background: #000;border: 1px solid rgba(0, 0, 0, 0.1);cursor: pointer;}
.BOX-5 .BOX-zt {color:#f7f7f7}
.BOX-5 .update-log a {color: #f7f7f7 !important;}
.BOX-5 .BOX-AN2 {width:100%;display: inline-block;height:30px;line-height:30px;padding-left:35px;padding-right:5px;color: #f7f7f7;background: #626262;}
.BOX-5 .BOX-AN2:hover {color: #fff;background: #000;}
/* 按钮样式 */
span.bili-section-normal.section-wrap {
font-family: "Microsoft YaHei", Arial, sans-serif, "PingFang SC";
font-size: 14px;
display: inline-block;
color: rgba(0, 0, 0, 0.85);
text-align: center;
line-height: 14px;
background: #fff;
margin-right: 10px;
border: 1px solid rgba(0, 0, 0, 0.1);
padding: 11px 20px;
}
/* 搬运BWIKI */
* {
padding: 0;
margin: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/*表格*/
table.wikitable > tr > th, table.wikitable > * > tr > th {
background:#e9edf2;
height:40px;
opacity:0.6;
border-right: 1px solid rgba(0, 0, 0, .1);
}
table.wikitable > tr > td, table.wikitable > * > tr > td{
background-color: #fff;
height:40px;
border-right: 1px solid rgba(0, 0, 0, .1)
}
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
border: 1px #ccc solid;padding:0.3em 1em;
}
table.wikitable{border: 1px solid rgba(0,0,0,0.10);;margin: 10px 0;font-family: SourceHanSansCN;}
/* == 模板 == */
/* - [[模板:黑幕]] - */
.heimu {
background-color: #252525;
color: #252525;
transition: color 0.5s;
}
.heimu:hover {
color: #ffffff;
}
/* - [[模板:模板文档]] - */
.dsp-doc {
margin-top: 1em;
clear: both;
border: 2px dotted #666666;
padding: 0.6em;
background-color: #f5f5f5;
}
.dsp-doc-heading {
padding-bottom: 3px;
border-bottom: 1px solid #aaaaaa;
margin-bottom: 1ex;
}
/* 模板:资料卡片 */
.information {margin:0px 10px 10px 0px;width:300px;overflow: hidden;}
@media only screen and (max-width:759px){
.information {width:100%;margin:0px;}
}
/*摘要样式*/
.mw-summary-preset {
display: inline;
margin: 0;
padding: 0;
}
.mw-summary-preset-item {
border-left: 1px solid #a2a9b1;
display: inline-block;
line-height: 1.25em;
margin: 0.125em 0;
padding: 0 0.5em;
}
.mw-summary-preset-item:first-child {
border-left: medium none;
padding-left: 0.25em;
}
.mw-summary-preset-item:last-child {
padding-right: 0.25em;
}
/*修正过多的缩进*/
.mw-parser-output ol {
margin: 0.3em 0 0 2em;
}
/*修正更新日志*/
.client-js .mw-changeslist ul, .client-js .mw-changeslist table.mw-enhanced-rc {margin:0px;}
.mw-changeslist-line-inner-comment .comment{word-break:break-all}
.mw-changeslist-line-inner-comment .comment .autocomment {word-break:break-all}
/*首页tab修正*/
ul.tabbernav li {
padding-top: 0!important;
}
.wenzi1 {
font-size: 15px;
color: #000;
letter-spacing:0.08em;
line-height:1.8em;
margin-bottom: 15px;
}
/*隐藏首页标题*/
.page-首页 #firstHeading{display:none;}
/*隐藏首页分类*/
.page-首页 #catlinks{display:none;}
/* 模板:施工中 */
.alert.alert-danger.alert-dismissible {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
/*标题*/
#firstHeading{
font-family:MicrosoftYaHei-Bold;
font-size: 30px;
color: rgba(0,0,0,0.85);
line-height: 40px;
padding-bottom:10px;
}
.mw-body-content h2 {
font-family:MicrosoftYaHei-Bold;
font-size: 26px;
color: rgba(0,0,0,0.85);
line-height: 32px;
padding-bottom:8px;
}
.mw-body-content h3 {
font-family:MicrosoftYaHei-Bold;
font-size: 22px;
color: rgba(0,0,0,0.85);
line-height: 24px;
padding-bottom:6px;
}
.mw-body-content h4 {
font-family: MicrosoftYaHei-Bold;font-size: 18px;color: rgba(0,0,0,0.85);line-height: 22px;
}
/*表格*/
table.wikitable > tr > th, table.wikitable > * > tr > th {
background:#e9edf2;
height:40px;
opacity:0.6;
border-right: 1px solid rgba(0, 0, 0, .1);
}
table.wikitable > tr > td, table.wikitable > * > tr > td{
background-color: #fff;
height:40px;
border-right: 1px solid rgba(0, 0, 0, .1)
}
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
border: 1px #ccc solid;padding:0.3em 1em;
}
table.wikitable{border: 1px solid rgba(0,0,0,0.10);;margin: 10px 0;font-family: SourceHanSansCN;}
/*首页h2标题高度修复*/
.bili-title-h2 {
font-size: 16px;
line-height: 24px;
margin-bottom:15px;
}
.bili-divider {
height: 1px;
margin: 20px 0;
background: rgba(0,0,0,.16);
}
/*首页链接颜色*/
.update-log a{
font-family: MicrosoftYaHei;
font-size: 14px;
color: rgba(0,0,0,0.85) !important;
line-height: 22px;
}
table {
display: table;
border-collapse: separate;
box-sizing: border-box;
text-indent: initial;
unicode-bidi: isolate;
line-height: normal;
font-weight: normal;
font-size: medium;
font-style: normal;
color: -internal-quirk-inherit;
text-align: start;
border-spacing: 2px;
border-color: gray;
white-space: normal;
font-variant: normal;
}
table.navbox {
border: 1px solid #aaa;
clear: both;
margin: auto;
padding: 1px;
text-align: center;
width: 100%;
}
.navbox-title, table.navbox th {
background: none repeat scroll 0 0 #aabaf4;
}
.navbox-title, .navbox-abovebelow, table.navbox th {
padding-left: 1em;
padding-right: 1em;
text-align: center;
}
.navbox, .navbox-subgroup {
background: none repeat scroll 0 0 #fdfdfd;
}
th {
display: table-cell;
vertical-align: inherit;
font-weight: bold;
text-align: -internal-center;
unicode-bidi: isolate;
}
tr {
display: table-row;
vertical-align: inherit;
unicode-bidi: isolate;
border-color: inherit;
}
td {
display: table-cell;
vertical-align: inherit;
unicode-bidi: isolate;
}
tbody {
display: table-row-group;
vertical-align: middle;
unicode-bidi: isolate;
border-color: inherit;
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: none repeat scroll 0 0 #f1f7ff;
}
.navbox-group {
font-weight: 700;
padding-left: 1em;
padding-right: 1em;
white-space: nowrap;
}
.navbox-odd {
background: none repeat scroll 0 0 transparent;
}
.navbox-list {
border-color: #fdfdfd;
}
td, th {
padding: 0;
}
.hlist dd, .hlist dt, .hlist li {
margin: 0;
display: inline;
}
.mw-parser-output li {
margin-bottom: 0.1em;
}
li {
margin-bottom: 0.1em;
}
body, div, h4, html, li, span, ul {
padding: 0;
margin: 0;
}
li {
list-style-position: inside;
}
@media (min-width: 768px) {
.navbar {
border-radius: 4px;
}
}
.navbar {
position: relative;
min-height: 50px;
margin-bottom: 20px;
border: 1px solid transparent;
}
/* 修复导航盒链接样式 */
.noprint.plainlinks.hlist.navbar.nomobile {
padding-top: 0px;
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
height: 22px;
margin-bottom: 0px;
border-bottom-width: 0px;
border-top-width: 0px;
border-right-width: 0px;
border-left-width: 0px;
}
/* 2010 wikitext 源代码编辑页面优化 */
select#msi-select {
height: 28px;
}
#msupload-dropzone {
margin: 3px;
padding: 5px;
border: 1px dashed #a2a9b1;
text-align: center;
height: 35px;
color: #202122;
}
#msupload-bottom {
border-top: 1px solid #c8ccd1;
padding: 8px;
height: 38px;
}
/* 用户签名头像支持 */
img.userlink-avatar {
width: 2.5em;
border-radius: 50%;
}
/* 编辑巡查页面美化 */
input[type="submit"] {
background: var(--color-primary);
font-size: 16px;
color: white;
border-color: var(--color-primary);
padding: 6px 16px 6px 16px;
margin: 2px;
}
select {
padding: 6px;
border-radius: 0px;
}
label {
font-size: 16px;
}
input {
padding: 6px;
border-radius: 0px;
}
option {
font-size: 14px;
border-radius: 0px;
}
/* 上传向导页面优化 */
#upload-wizard {
margin-top: 18px;
min-width: 750px;
max-width: 100%;
width: 100%;
}