跳转到内容

MediaWiki:Common.css:修订间差异

来自猎空书评百科
无编辑摘要
标签已被回退
无编辑摘要
 
(未显示同一用户的9个中间版本)
第1行: 第1行:
/* 这里放置的CSS将影响使用Common皮肤的用户 */
/*
* This is the CSS for all skins (for both mobile and desktop) on MediaWiki.org.
* Styling inside .mw-parser-output should generally use TemplateStyles.
*/


/* 板块用CSS */
/* Force lining numbers in headers (for fonts like Georgia) */
.BILIBILI-BOX {width:100%;margin-bottom:20px;}
h1,
.BOX-title-1 {width:100%;font-size:14px;padding:7px 10px;font-weight: bold;background:#404040;color:#fff;}
h2,
.BOX-title-2 {padding: 10px 0px 5px 0px;font-size: 14px;font-weight: bold;border-bottom: 1px solid #384348;}
.firstHeading {
.BOX-N {width:100%;padding:0px;}
    font-variant-numeric: lining-nums;
.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;}
/* Consistent size for sub/sup */
.update-log .bili-list-group {padding: 0px 0px;}
.mw-body sub,
.update-log .read-more {display: none;}
.mw-body sup {
 
    font-size: 80%;
.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;}
.carousel.big-carousel .carousel-indicators li, .carousel.big-carousel .carousel-indicators li.active {box-shadow: 0px 0px 3px 0 rgb(255 255 255 / 90%);}
 
.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;}
 
 
 
.oo-ui-defaultOverlay, .skin-vector .oo-ui-windowManager-modal > .oo-ui-dialog, .skin-vector .ve-ui-overlay-global{ z-index:1001}
.wiki-header .wiki-nav .ul-menu-1 .li-menu-1 .menu-title-1{font-family:Microsoft YaHei;}
 
 
/*隐藏首页贡献者*/
.page-首页 .wiki-componment-rank {display:none;}
/*隐藏首页标题*/
.page-123 body{
background:url("https://patchwiki.biligame.com/images/factorio/1/1f/dlx6y415mb8eips96h3ib9phxyapx1g.jpg");
}
}


/*首页*/
/* Public Domain background in the Help namespace */
.box-glz{
.action-view.ns-12 #bodyContent {
width:100%;
background-image: url(//upload.wikimedia.org/wikipedia/commons/6/67/PD-icon-faded.png);
text-align:center;
background-repeat: no-repeat;
border-radius: 10px;
/* @noflip */
background-position: right 5em;
}
}


.page-首页 .wikitable a:new {color:#222222;}
/*
.page-首页 .wikitable a:link {color:#222222;}
* Hide elements on the main page.  
.page-首页 .wikitable a:visited {color:#222222;}
*/
.page-首页 .wikitable .mw-parser-output a.external:visited {color: #222222;}
.page-MediaWiki #lastmod,
 
.page-MediaWiki #siteSub,
.page-首页 .table a:new {color:#222222;}
.page-MediaWiki #contentSub,
.page-首页 .table a:link {color:#222222;}
.page-MediaWiki .subtitle,
.page-首页 .table a:visited {color:#222222;}
.page-MediaWiki #jump-to-nav,
.page-首页 .table .mw-parser-output a.external:visited {color: #222222;}
/* can be removed when Template:Main_page translations are updated. */
 
.page-MediaWiki #firstHeading,
.box-glz>p>font>a:new {color:#222222;}
[lang="en"] .page-MediaWiki .mw-parser-output h2 {
.box-glz>p>font>a:link {color:#222222;}
display: none;  
.box-glz>p>font>a:visited {color:#222222;}
 
.box-sy .game-aggregation-wrap .game-card-list {
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    margin-left: -21px;
}
}


.box-sy .game-aggregation-wrap .game-card-list .game-card-list-item {
[lang="en"] .page-MediaWiki #firstHeading {
    margin-left: 21px;
  font-size: 1.5em;
    margin-bottom: 21px;
  display: block;
    width: 240px;
    border: 1px solid rgba(0,0,0,0.1);
}
.box-sy .game-card-button-rt {
    line-height: 34px;
}
.box-sy .game-aggregation-wrap .game-card-list .game-card-list-item .game-card-button {
    height: 36px;
}
.box-sy .game-aggregation-wrap .game-card-list .game-card-list-item .game-card-cover {
    height: 133px;
}
}


.box-sy .game-aggregation-wrap .game-card-list .game-card-list-item .game-card-button-lt, .game-card-button-rt {
/* Give a bit of space to the TOC */
    line-height: 34px;
#toc {
margin: 1em 0;
}
}


@media (max-width: 768px) {
/* Fonts for Persian language for consistency with other Wikimedia wikis */
.box-glz{
:lang(fa) {
float:left;
font-family: '.Arabic UI Text', Tahoma, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif;
width:30%;
margin:1%;
text-align:center;
border-radius: 10px;
}
}
}


/*p表格字体*/
/* Div based "warning" style fmbox messages. */
.poke-zt {font-size:12px;}
div.mw-warning-with-logexcerpt,
@media only screen and (max-width:759px){
div.mw-lag-warn-high,
.poke-zt {font-size:10px;}
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning {
clear: both;
margin: 0.2em 0;
border: 1px solid var( --border-color-error, #9f3526 );
background-color: var( --background-color-error-subtle, #ffdbdb );
color: var( --color-base, #202122 );
padding: 0.25em 0.9em;
box-sizing: border-box;
}
}


/*p标签修复*/
/* Hide confusing "Discussion" tab on [[Project:Support_desk]].
.mw-body p {
* For sanity, only do this if [[Project_talk:Support_desk]] is a
    line-height: inherit;
* redirect (which goes back to [[Project:Support_desk]]).
    margin: 0.5em 0;
* If that is changed for some reason, it automatically comes back.
*/
.page-Project_Support_desk #ca-talk a.mw-redirect {
display: none;
}
}
 
.wikitable td {
 
    text-align: center !important;
/* 顶通logo 临时[2020年1月20日]*/
    vertical-align: middle; /* 确保垂直居中 */
.wiki-header .wiki-nav .wiki-logo .pic-logo{
    width:auto;
}
}


/*视频测试*/
.center-text {
.video-player{
    text-align: center !important;
width:100%;
height: 35vw;
min-height: 200px;
}
}
 
/* 定义一个用于缩略图的CSS类 */
/*测试*/
.thumb-220px {
.img-video {
     width: 220px; /* 固定宽度 */
     background-size: cover;
     height: auto; /* 自动调整高度以保持纵横比 */
     border-radius: 4px;
     display: block; /* 确保图片是块级元素 */
     display: block;
     margin: auto; /* 居中显示 */
     width: 160px;
     margin-bottom: 10px; /* 增加底部间距 */
    height: 100px;
     overflow: hidden;
    position: relative;
}
}


/* 这里放置的CSS将应用于所有页面 */
.novel-list {
 
     display: flex;
 
    flex-wrap: wrap;
.resp-tabs-list {
    gap: 10px;
     zoom: 1
}
}


.resp-tabs-list:after {
.novel-item {
     visibility: hidden;
    background-color: #f9f9f9;
     display: block;
     border: 1px solid #ddd;
     font-size: 0;
     padding: 10px;
     content: " ";
     border-radius: 5px;
     clear: both;
     width: calc(20% - 8px); /* Adjust the percentage for different column counts */
     height: 0
     text-align: center;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}


@media (max-width: 768px) {
.novel-item:hover {
     .resp-tabs .resp-tabs-list {
     transform: translateY(-5px);
        white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        overflow-x: scroll
    }
 
    .resp-tabs .resp-tabs-list .bili-list-style {
        float: none !important;
        display: inline-block
    }
}
}


/*主站登陆样式修复*/
.novel-item a {
.bili-header-m .i_menu_login .img {
     text-decoration: none;
    width: 294px !important;
     color: #333;
}
 
/*分类高度修正*/
 
#catlinks {
margin-bottom:14px;
}
 
/*隐藏更新日志时间*/
 
.bili-list-group .bili-list-group-item .fr {
     display: none !important;
}
 
.wikiEditor-ui-toolbar .tabs{
height:auto
}
.wikiEditor-ui-toolbar .tabs, .wikiEditor-ui-toolbar .section-main{
height:auto
}
/* 这里放置的CSS将影响使用Vector皮肤的用户 */
 
/*图片自适应*/
.img-kk {max-width:100%;height:auto;}
 
.img-icon {
border-radius:5px
}
img{max-width:100%;height:auto;margin:0 auto;text-align:center;}
 
/*logo修正*/
.wiki-logo .pic-logo {
margin-left:0px;
}
 
.wiki-logo {
padding-left:0px;
}
 
@media (max-width: 768px){
    .wiki-header .wiki-logo {
        padding-left: 0;
    }
}
 
/*隐藏首页标题*/
.page-首页 #firstHeading{display:none;}
 
/*隐藏首页分类*/
.page-首页 #catlinks{display:none;}
 
 
/*标题*/
#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;
     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;
}
/*标题编辑隐藏
h1 .mw-editsection ,h2 .mw-editsection,h3 .mw-editsection ,h4 .mw-editsection,h5 .mw-editsection{
    white-space: nowrap;
    unicode-bidi: -moz-isolate;
    display: none;
}*/
/*隐藏特殊页面帮助*/
.mw-body .mw-indicators {
    display: none;
}
/*更新日志样式修复*/
.update-log .bili-list-group {
    padding: 10px 0px;
    margin-left: 0;
}
/*更新日志标签变色*/
.bili-label-purple {
    background: rgba(0,182,255,0.10);
    color: #00B6FF;
}
.bili-label-pink {
    background: rgba(0,182,255,0.10);
    color: #00B6FF;
}
.bili-label-green {
    background: rgba(0,182,255,0.10);
    color: #00B6FF;
}
/*条件筛选页面*/
.select-grid {
width: 100%;
    padding: 10px 0 35px 0;
    display: table;
    margin: 0 0 40px 0;
    border-bottom: 1px solid #a2a9b1;
}
.select-grid table td {
    padding: 5px 10px 0 0;
}
.filter {
    display: block;
    clear: both;
}
span.select-wrap, span.imgselect-wrap {
margin:0 15px 5px 0;
padding: 8px 0;
font-family: SourceHanSansCN-Regular;
    font-size: 14px;
    display: inline-block;
    color: rgba(0,0,0,.85);
    text-align: center;
    line-height: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
}
span.select-wrap {
width:80px;
height:30px;
}
span.imgselect-wrap {
padding:8px 10px;
}
span.imgselect-wrap p {
display: block;
margin-top:10px;
}
/*手机端hover伪类显示异常,magic,只能靠js了*/
span.select-wrap.hover, span.imgselect-wrap.hover {
color: #000;
    border: 1px solid rgb(133, 146, 239);
    cursor: pointer;
    background:#FFF;
}
span.select-wrap.active, span.imgselect-wrap.active {
border: 1px solid rgba(119,132,222);
    color:rgba(119,132,222);
}
.filter li {
    list-style:none;
    float:left;
}
.game-aggregation-wrap {
padding-bottom: 30px;
}
.game-aggregation-wrap .game-card-list {
padding-top: 10px;
display: flex;
flex-wrap: wrap;
margin-left: -40px;
}
.game-aggregation-wrap .game-card-list .game-card-list-item{
margin-left: 40px;
margin-bottom: 30px;
border: 1px solid rgba(0,0,0,0.1);
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-cover{
width: 100%;
height: 132px;
overflow: hidden;
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-cover .cover-img{
width: 100%;
height: 100%;
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-info{
width: 100%;
height: 93px;
padding: 20px;
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-info .game-name{
font-family: MicrosoftYaHei;
font-weight: 700;
font-size: 20px;
color: rgba(0,0,0,0.85);
letter-spacing: 0;
line-height: 28px;
white-space: nowrap;
overflow: hidden;
text-overflow:ellipsis;
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-info .game-message{
font-family: MicrosoftYaHei;
font-size: 14px;
color: rgba(0,0,0,0.35);
line-height: 22px;
margin-top: 6px;
white-space: nowrap;
overflow: hidden;
text-overflow:ellipsis;
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-button{
width: 100%;
height: 51px;
border-top: 1px solid rgba(0,0,0,0.1);
display: flex;
align-items: center;
justify-content: space-between;
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-button-line{
height: 100%;
width: 1px;
background-color: rgba(0,0,0,0.1);
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-button-lt,.game-card-button-rt{
height: 100%;
flex: 1;
color: #000;
font-family: 'MicrosoftYaHei';
background-color: #fff;
font-size: 14px;
text-align: left;
line-height: 60px;
cursor: pointer;
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-button a {
display: block;
color: #000;
    background-image: none;
    margin-right: 0;
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-button a,a:hover,a:visited,a:active,a:focus {
text-decoration: none;
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-button-lt:hover,.game-card-button-rt:hover{
color: #00B6FF;
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-button-lt:hover a,.game-card-button-rt:hover a{
color: #00B6FF;
}
.game-aggregation-wrap .game-card-list .game-card-list-item .game-card-button-lt:active,.game-card-button-rt:active,.game-card-button-lt:focus,.game-card-button-rt:focus{
background-color: rgb(234, 249, 255);
}
.game-card-before a{
color: #fafafa;
     font-weight: bold;
     font-weight: bold;
}
}


.game-card-before a:hover{
.novel-item a:hover {
     border-bottom: 1px solid rgba(255,255,255,0.5);
     color: #06c;
}
}
.game-aggregation-wrap .other-game-list {
width: 100%;
padding-top: 10px;
display: flex;
flex-wrap: wrap;
margin-left: 0px;
}
.game-aggregation-wrap .other-game-list-item {
width: 116px;
height: 128px;
margin-left: 0px;
margin-bottom: 30px;
}
.game-aggregation-wrap .other-game-list-item .game-pic {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
}
.game-aggregation-wrap .other-game-list-item .game-pic img {
    display: block;
    width: 80px;
    height: 80px;
}
.game-aggregation-wrap .other-game-list-item .game-name{
width: 100%;
height: 48px;
line-height: 24px;
margin: 10px 0 0;
text-align: center;
font-family: MicrosoftYaHei;
font-size: 14px;
color: rgba(0,0,0,0.85);
text-align: center;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
@media only screen and (max-width: 1200px) {
.game-aggregation-wrap .game-card-list {
width: 100%;
margin-left: 0;
justify-content: space-between;
}
.game-aggregation-wrap .game-card-list .game-card-list-item {
margin-left: 0;
}
.game-aggregation-wrap .other-game-list {
width: 1017.6px;
margin-left: -47.6px;
}
.game-aggregation-wrap .other-game-list .other-game-list-item {
margin-left: 47.6px;
}
}
@media only screen and (max-width: 992px) {
.game-aggregation-wrap .other-game-list {
width: 785px;
margin-left: -35px;
}
.game-aggregation-wrap .other-game-list .other-game-list-item {
margin-left: 35px;
}
}
@media only screen and (max-width: 768px) {
.game-aggregation-wrap .game-card-list {
justify-content: center;
}
.game-aggregation-wrap .other-game-list {
width: 100%;
justify-content: flex-start;
margin-left: 0;
}
.game-aggregation-wrap .other-game-list .other-game-list-item {
width: 24%;
margin-left: 0;
}
.game-aggregation-wrap .other-game-list .other-game-list-item:not(:nth-child(4n)) {
margin-right: calc(4% / 3);
}
.new-game-list .other-game-list-item {
margin-right: calc(4% / 3)!important;
}
}
@media only screen and (max-width: 500px) {
.game-aggregation-wrap .other-game-list .other-game-list-item {
width: 24%;
margin-left: 0;
}
.game-aggregation-wrap .other-game-list .other-game-list-item:not(:nth-child(4n)) {
margin-right: 0;
}
.game-aggregation-wrap .other-game-list .other-game-list-item:not(:nth-child(3n)) {
margin-right: calc(4% / 3);
}
.new-game-list .other-game-list-item {
margin-right: calc(4% / 3)!important;
}
}
/*表格圆角*/
/* == 模板 == */
/* - [[模板:黑幕]] - */
.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;
  }

2025年1月29日 (三) 00:44的最新版本

/*
 * This is the CSS for all skins (for both mobile and desktop) on MediaWiki.org.
 * Styling inside .mw-parser-output should generally use TemplateStyles.
 */

/* Force lining numbers in headers (for fonts like Georgia) */
h1,
h2,
.firstHeading {
    font-variant-numeric: lining-nums;
}

/* Consistent size for sub/sup */
.mw-body sub,
.mw-body sup {
    font-size: 80%;
}

/* Public Domain background in the Help namespace */
.action-view.ns-12 #bodyContent {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/6/67/PD-icon-faded.png);
	background-repeat: no-repeat;
	/* @noflip */
	background-position: right 5em;
}

/*
 * Hide elements on the main page. 
 */
.page-MediaWiki #lastmod,
.page-MediaWiki #siteSub,
.page-MediaWiki #contentSub,
.page-MediaWiki .subtitle,
.page-MediaWiki #jump-to-nav,
/* can be removed when Template:Main_page translations are updated. */ 
.page-MediaWiki #firstHeading,
[lang="en"] .page-MediaWiki .mw-parser-output h2 {
	display: none; 
}

[lang="en"] .page-MediaWiki #firstHeading {
  font-size: 1.5em;
  display: block;
}

/* Give a bit of space to the TOC */
#toc {
	margin: 1em 0;
}

/* Fonts for Persian language for consistency with other Wikimedia wikis */
:lang(fa) {
	font-family: '.Arabic UI Text', Tahoma, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif;
}

/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid var( --border-color-error, #9f3526 );
	background-color: var( --background-color-error-subtle, #ffdbdb );
	color: var( --color-base, #202122 );
	padding: 0.25em 0.9em;
	box-sizing: border-box;
}

/* Hide confusing "Discussion" tab on [[Project:Support_desk]].
 * For sanity, only do this if [[Project_talk:Support_desk]] is a
 * redirect (which goes back to [[Project:Support_desk]]).
 * If that is changed for some reason, it automatically comes back.
 */
.page-Project_Support_desk #ca-talk a.mw-redirect {
	display: none;
}
.wikitable td {
    text-align: center !important;
    vertical-align: middle; /* 确保垂直居中 */
}

.center-text {
    text-align: center !important;
}
/* 定义一个用于缩略图的CSS类 */
.thumb-220px {
    width: 220px; /* 固定宽度 */
    height: auto; /* 自动调整高度以保持纵横比 */
    display: block; /* 确保图片是块级元素 */
    margin: auto; /* 居中显示 */
    margin-bottom: 10px; /* 增加底部间距 */
}

.novel-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.novel-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    width: calc(20% - 8px); /* Adjust the percentage for different column counts */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.novel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.novel-item a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.novel-item a:hover {
    color: #06c;
}