MediaWiki:Common.css:修订间差异

来自McZoo红石站
无编辑摘要
Xm讨论 | 贡献
无编辑摘要
 
(未显示同一用户的17个中间版本)
第1行: 第1行:
#site-tools {
    display: none;
}
#ca-talk {
    display: none;
}
#ca-nstab-main {
    display: none;
}
.logged-in #site-tools {
    display: block;
}
@media screen {
  #p-logo-text a {
    padding: 0.1em 1em 0.2em;
    color: #000000;
    font-family: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', serif;
    font-variant: small-caps;
    font-size: 1.5em;
    display: block;
  }
}
/* infobox 样式开始 */
/* infobox 样式开始 */
/* 响应式布局 */
/* 响应式布局 */
第30行: 第56行:
     }
     }
}
}
/* hlist */
/* 移动端显示相关类(.nomobile, .mobileonly, .onlymobile) */
/* Style for horizontal lists (separator following item) */
@media screen and (max-width: 768px) {
 
.nomobile {
.hlist dl,
display: none;
.hlist ol,
}
.hlist ul {
.clubbanner-content{
    margin: 0;
display: none;
}
}
.hlist dd,
.hlist dt,
.hlist li {
    display: inline;
    margin: 0;
}
}
/* Display nested lists inline */
@media screen and (min-width: 768px) {
.hlist.inline,
.mobileonly,
.hlist.inline dl,
.onlymobile {
.hlist.inline ol,
display: none;
.hlist.inline ul,
}
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
}
/* Generate interpuncts */
 
.hlist dt:after {
 
    content: " :";
/* 链接颜色 */
}
a.new, #p-personal a.new {
.hlist dd:after,
     color: #4591FF;
.hlist li:after {
    content: " · ";
    font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
     content: none;
}
}


/* Add parens around nested lists */
.hlist dl dl:before,
.hlist ol ol:before,
.hlist ul ul:before {
    content: "(";
}
.hlist dl dl:after,
.hlist ol ol:after,
.hlist ul ul:after {
    content: ")";
}
/* Put numbers in ordered lists */
.hlist.hnum ol li {
    counter-increment: level1;
}
.hlist.hnum ol li:before {
    content: counter(level1) " ";
}
.hlist.hnum ol ol li {
    counter-increment: level2;
}
.hlist.hnum ol ol li:before {
    content: counter(level2) " ";
}






/* 首页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;}
.blur-text {
.BOX-title-2 {padding: 10px 0px 5px 0px;font-size: 14px;font-weight: bold;border-bottom: 1px solid #384348;}
  filter: blur(5px); /* 设置默认模糊效果 */
.BOX-N {width:100%;padding:0px;overflow:hidden;}
  transition: filter 0.2s ease-in-out; /* 添加过渡效果 */
.BOX-GD {color:#f7f7f7;border: 1px solid #f7f7f7;padding: 0px 5px;border-radius: 50%;}
  cursor: pointer; /* 鼠标样式为手型 */
.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;}
.blur-text:hover, .blur-text.touched {
.update-log .bili-list-group {padding: 0px 0px;}
  filter: none; /* 鼠标悬停或已点击时取消模糊效果 */
.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}
.image-container {
.BOX-2 .BOX-2-1 {background:#f7f7f7;border:1px solid #404040;border-radius: 8px;padding:10px;}
  position: relative;
  width: 50%;
}


.BOX-3 .BOX-title-1 {border-radius: 8px;}
.image-container img {
.BOX-3 {background:#f7f7f7;border-radius: 8px;padding:10px}
  width: 100%;
  height: auto;
}


.BOX-4 .BOX-title-1 {border-radius: 8px 8px 0px 0px;}
.image-container .overlay {
.BOX-4 {background:#f7f7f7;border-radius: 8px;padding:0px;}
  position: absolute;
.BOX-4 .BOX-N {padding:5px 10px;}
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}


.BOX-5 .BOX-title-1 {border-radius: 8px 8px 0px 0px;background:#262626;color:#f7f7f7;}
.image-container:hover .overlay {
.BOX-5 .BOX-title-2 {padding: 10px 0px 5px 0px;border-bottom: 1px solid #262626;}
  opacity: 0.8;
.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;}


/* p标签修正 */
.image-container .text {
p {
  color: white;
    margin: 0 0 0px;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
}


.image-container .description {
  color: white;
  font-size: 16px;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}


/*筛选按钮被选中*/
li.btn.cardSelectOption.selected {
    color: #333 !important;
    background-color: #e6e6e6;
    border-color: #adadad;
outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
/*smw更多结果修正*/
.smw-template-furtherresults {
display:none;
}


/*图片自适应*/
img{max-width:100%;height:auto;margin:0 auto;text-align:center;}


/*头像样式*/
/*通知栏*/
.img-tx img {
#siteNoticeScroll {
     width: 20px;
     width: 100%;
     height: 20px;
    height: 40px;
     background:rgba(0, 0, 0, 0.46);margin:0px 1px;
     line-height: 25px;
     overflow: hidden;
    text-align: center;
    margin-bottom: 0.25em;
}
}
.img-tx2 img {
 
     width: 30px;
#siteNoticeScroll ul {
     height: 30px;
     height: 25px;
     box-shadow: 0 0 2px #000;
     line-height: 25px;
     margin:0px 1px;
     -webkit-transition: margin .73s ease-in-out;
     -moz-transition: margin .73s ease-in-out;
    transition: margin .73s ease-in-out;
}
}


/* 评论区遮挡悬浮框修正 */
#siteNoticeScroll li {
.comment-replybox {
     height: 25px;
     position: unset;
     list-style: none;
     border-bottom: 1px solid rgba(0,0,0,0.16);
     float: left;
     padding: 16px 0;
     width: 100%;
}
.comment-toolbar {
     position: unset;
}
}


/* 悬浮 */
/* BEGIN Main Page carousel code */
.iteminfo {display:none;}
.itemhover:hover  .iteminfo{display:block;}


/* tabber选项卡预置样式 */
.jcarousel {
.tabber .tabbertab {
     position: relative;
     padding: 10px;
     overflow: hidden;
    border: 1px solid #404040;
        border-top-color: rgb(64, 64, 64);
        border-top-style: solid;
        border-top-width: 1px;
     border-top: 0;
}
}
ul.tabbernav {
 
margin: 0;
.jcarousel-wrapper {
padding: 12px 0;
max-width: 1125px;
border: 1px solid #404040;
    margin: 0;
font: bold 12px Verdana,sans-serif;
    position: relative;
background: #404040;
border-left: 0px;
border-right: 0px;
}
}
ul.tabbernav li a {
 
padding: 12px 10px;
.jcarousel .jcarousel-list {
margin: 0px;
     position: relative;
border: 1px solid #404040;
     margin: 0;
border-bottom: none;
     padding: 0;
background: #404040;
text-decoration: none;
}
ul.tabbernav li.tabberactive a {
background-color: #fff;
border-bottom: 1px solid #fff;
border-left: 1px solid #404040;
border-top: 1px solid #404040;
    color: #404040 !important;
}
ul.tabbernav li a:link {
    color: #fff;
}
ul.tabbernav li a:hover {
color: #404040;
background: #fff;
border-color: #404040;
border: 1px solid #404040;
}
ul.tabbernav li.tabberactive a:hover {
     color: #404040 !important;
     background: #fff;
     border-bottom: 1px solid #fff;
}
}


 
.jcarousel .jcarousel-item {
/*tabber选项卡加载状态隐藏*/
    float: left;
.tabber:not(.tabberlive){
display:none;
}
}


/* tab-panel选项卡预置样式 */
.jcarousel-item img {
.tab-panel {
     display: block;
     display: block;
     height: auto;
     max-width: 100%;
    padding: 5px 0px;
     height: auto !important;
    text-decoration: none;
    width: 76px;
     text-align: center;
    color: #fff;
}
}
.resp-tabs-list li {
 
    border-left: 0px solid rgba(0, 0, 0, 0.16);
.jcarousel-control-prev,
    float: left;
.jcarousel-control-next {
    background: #404040;
     position: absolute;
    border: 1px solid #404040;
     top: 45%;
}
     width: 30px;
.resp-tabs-list li:last-child {
     height: 30px;
     border: 1px solid #404040;
}
.resp-tabs-list li.active .tab-panel, .tab-panel:hover {
     font-family: MicrosoftYaHei-Bold;
     font-size: 14px;
     color: rgba(0, 0, 0, 0.85);
     text-align: center;
     text-align: center;
    font-weight: bold;
     background: #fff;
     background: #fff;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 1px #000;
    font: 24px/27px Arial, sans-serif;
    -webkit-border-radius: 30px;
      -moz-border-radius: 30px;
            border-radius: 30px;
    -webkit-box-shadow: 0 0 2px #999;
      -moz-box-shadow: 0 0 2px #999;
            box-shadow: 0 0 2px #999;
}
}
@media only screen and (max-width:759px){
 
ul.tabbernav li a {
.jcarousel-control-prev {
display: inline-block;
     left: -15px;
}
ul.tabbernav {
    padding: 0px;
}
.resp-tabs .resp-tabs-list {
     white-space: normal;
    overflow-x: auto;
}
}
/* 首页常用入口 */
.box-sy {
margin-left:-5px;
margin-right:-5px;
overflow:hidden;
}
.box-icon {
float:left;
width:25%;
padding:15px 5px;
}
@media only screen and (max-width:759px){
.box-sy {
margin-left:-5px;
margin-right:-5px;
overflow:hidden;
}
.box-icon {
float:left;
width:33%;
padding:5px;
}
}
}


 
.jcarousel-control-next {
/* 首页分类隐藏 */
     right: -15px;
.page-首页 .catlinks {
     display: none;
}
}


/* 模板:折叠面板 样式修正 */
.jcarousel-control-prev:hover span,
.panel, .panel .row .panel-title {
.jcarousel-control-next:hover span {
     padding: 0px 0;
     display: block;
}
}


 
.jcarousel-control-prev.inactive,
/* 模板:黑幕 */
.jcarousel-control-next.inactive {
.heimu {
    opacity: .5;
background:#000;
    cursor: default;
color:#000;
}
}
.heimu:hover {background:#000;color:#fff;}


 
.jcarousel-pagination {
/* 模板:资料卡片 */
    position: absolute;
.information {margin:0px 10px 10px 0px;width:300px;overflow: hidden;}
    bottom: 10px;
@media only screen and (max-width:759px){
    left: 15px;
.information {width:100%;margin:0px;}
}
}


/* 冻结表格首行 */
.jcarousel-pagination a {
.freeze th,.freeze td{
    text-decoration: none;
position:sticky;
    display: inline-block;
top:49px;
    font-size: 11px;
}
    line-height: 14px;
@media(max-width:768px){
    min-width: 14px;
.freeze th,.freeze td{
    background: #fff;
top:-1px;
    color: #4E443C;
}
    border-radius: 14px;
    padding: 3px;
    text-align: center;
    margin-right: 2px;
    opacity: .75;
}
}


 
.jcarousel-pagination a.active {
/* 更新日志调整 */
     background: #4E443C;
.update-log .bili-list-group .bili-list-group-item .log-label {
    font-family: "Microsoft YaHei", Arial, sans-serif, "PingFang SC";
    border-radius: 2px;
    width: 36px;
    min-width: 36px;
    font-size: 12px;
     background: #989898;
     color: #fff;
     color: #fff;
    opacity: 1;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
}
}
.update-log .bili-list-group {
 
    padding: 10px 0px;
/* END Main Page carousel code */
    margin-left: 0;
}
.update-log .bili-list-group .bili-list-group-item .log-content {
    width: 230px;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

2024年3月17日 (日) 21:20的最新版本

#site-tools {
    display: none;
}

#ca-talk {
    display: none;
}

#ca-nstab-main {
    display: none;
}

.logged-in #site-tools {
    display: block;
}

@media screen {
  #p-logo-text a {
    padding: 0.1em 1em 0.2em;
    color: #000000;
    font-family: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', serif;
    font-variant: small-caps;
    font-size: 1.5em;
    display: block;
  }
}
/* infobox 样式开始 */
/* 响应式布局 */
@media (min-width:0px) and (max-width:768px){
    .vcard{
        width:100%;
        max-width:768;
        border-radius:10px;
        margin:5px auto;
        float:none;
    }
}
@media (min-width:768px) and (max-width:992px){
    .vcard{
        width:100%;
        max-width:992;
        border-radius:10px;
        margin:5px auto;
        float:none;
    }
}
@media (min-width:992px) {
    .vcard{
        width:293px;
        min-width:293px;
        float:right;
        border-radius:10px;
        margin:1px auto;
        margin-left:1em;
        margin-right:1em;
    }
}
/* 移动端显示相关类(.nomobile, .mobileonly, .onlymobile) */
@media screen and (max-width: 768px) {
	.nomobile {
		display: none;
	}
		.clubbanner-content{
		display: none;
}
}
@media screen and (min-width: 768px) {
	.mobileonly,
	.onlymobile {
		display: none;
	}
}


/* 链接颜色 */
a.new, #p-personal a.new {
    color: #4591FF;
}





/* 模糊样式开始 */
.blur-text {
  filter: blur(5px); /* 设置默认模糊效果 */
  transition: filter 0.2s ease-in-out; /* 添加过渡效果 */
  cursor: pointer; /* 鼠标样式为手型 */
}

.blur-text:hover, .blur-text.touched {
  filter: none; /* 鼠标悬停或已点击时取消模糊效果 */
}
/* 模糊样式结束 */



/* 轮播图显示文字 */
.image-container {
  position: relative;
  width: 50%;
}

.image-container img {
  width: 100%;
  height: auto;
}

.image-container .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.image-container:hover .overlay {
  opacity: 0.8;
}

.image-container .text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.image-container .description {
  color: white;
  font-size: 16px;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}



/*通知栏*/
#siteNoticeScroll {
    width: 100%;
    height: 40px;
    line-height: 25px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 0.25em;
}

#siteNoticeScroll ul {
    height: 25px;
    line-height: 25px;
    -webkit-transition: margin .73s ease-in-out;
    -moz-transition: margin .73s ease-in-out;
    transition: margin .73s ease-in-out;
}

#siteNoticeScroll li {
    height: 25px;
    list-style: none;
    float: left;
    width: 100%;
}

/* BEGIN Main Page carousel code */

.jcarousel {
    position: relative;
    overflow: hidden;
}

.jcarousel-wrapper {
	max-width: 1125px;
    margin: 0;
    position: relative;
}

.jcarousel .jcarousel-list {
    position: relative;
    margin: 0;
    padding: 0;
}

.jcarousel .jcarousel-item {
    float: left;
}

.jcarousel-item img {
    display: block;
    max-width: 100%;
    height: auto !important;
}

.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    top: 45%;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #fff;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 1px #000;
    font: 24px/27px Arial, sans-serif;
    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
            border-radius: 30px;
    -webkit-box-shadow: 0 0 2px #999;
       -moz-box-shadow: 0 0 2px #999;
            box-shadow: 0 0 2px #999;
}

.jcarousel-control-prev {
    left: -15px;
}

.jcarousel-control-next {
    right: -15px;
}

.jcarousel-control-prev:hover span,
.jcarousel-control-next:hover span {
    display: block;
}

.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
    opacity: .5;
    cursor: default;
}

.jcarousel-pagination {
    position: absolute;
    bottom: 10px;
    left: 15px;
}

.jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    line-height: 14px;
    min-width: 14px;
    background: #fff;
    color: #4E443C;
    border-radius: 14px;
    padding: 3px;
    text-align: center;
    margin-right: 2px;
    opacity: .75;
}

.jcarousel-pagination a.active {
    background: #4E443C;
    color: #fff;
    opacity: 1;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
}

/* END Main Page carousel code */