“MediaWiki:Common.css”的版本间的差异
跳到导航
跳到搜索
第33行: | 第33行: | ||
.ifw-banner > img { | .ifw-banner > img { | ||
max-width: 100%; | max-width: 100%; | ||
+ | max-height: 100%; | ||
+ | width: auto; | ||
+ | height: auto; | ||
} | } | ||
2020年12月10日 (四) 07:34的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* LiteInfoBox */
.ifw-lite-info-box {
text-align: center;
margin: 0.1rem;
display: grid;
grid-template-columns: auto 1fr;
grid-gap: 0.5rem;
padding: 0.2rem;
border-radius: 5px;
}
.ifw-lite-info-box > .content{
text-align: left;
margin: 0.2rem;
width: auto;
font-size: 0.7rem;
display: grid;
place-items: center start;
}
.ifw-lite-info-box > .avatar{
display: grid;
place-items: center;
}
.ifw-banner {
display: grid;
grid-template-columns: auto-fit;
}
.ifw-banner > img {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
}
.rootpage-首页 #firstHeading {
display:none;
}