MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
小无编辑摘要 标签:已被回退 |
无编辑摘要 标签:手工回退 |
||
| 第1行: | 第1行: | ||
/* 电脑端样式 */ | /* 电脑端样式 */ | ||
. | .responsive-two-columns .left-col { | ||
width: 320px; | |||
vertical-align: top; | |||
} | } | ||
.responsive-two-columns .right-col { | |||
vertical-align: top; | |||
. | padding-left: 20px; | ||
. | |||
} | } | ||
/* | /* 手机端样式 */ | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
. | .responsive-two-columns, | ||
. | .responsive-two-columns tbody, | ||
width: | .responsive-two-columns tr, | ||
.responsive-two-columns td { | |||
display: block; | |||
width: 100%; | |||
} | |||
.responsive-two-columns .right-col { | |||
padding-left: 0; | |||
margin-top: 20px; | |||
} | } | ||
.responsive-two-columns img { | |||
max-width: 100%; | |||
height: auto; | |||
. | |||
width: 100%; | |||
} | } | ||
} | } | ||
2026年4月25日 (六) 01:45的版本
/* 电脑端样式 */
.responsive-two-columns .left-col {
width: 320px;
vertical-align: top;
}
.responsive-two-columns .right-col {
vertical-align: top;
padding-left: 20px;
}
/* 手机端样式 */
@media screen and (max-width: 768px) {
.responsive-two-columns,
.responsive-two-columns tbody,
.responsive-two-columns tr,
.responsive-two-columns td {
display: block;
width: 100%;
}
.responsive-two-columns .right-col {
padding-left: 0;
margin-top: 20px;
}
.responsive-two-columns img {
max-width: 100%;
height: auto;
}
}