“MediaWiki:Common.css”的版本间的差异

来自iFx Wiki
跳到导航 跳到搜索
标签移动网页编辑 移动版编辑
 
(未显示同一用户的8个中间版本)
第1行: 第1行:
 
/* 这里放置的CSS将应用于所有皮肤 */
 
/* 这里放置的CSS将应用于所有皮肤 */
  
 +
/*button box*/
 +
.ifw-button-box {
 +
text-align: center;
 +
margin: 0.1rem;
 +
display: grid;
 +
grid-template-columns: 1fr;
 +
border-radius: 5px;
 +
}
 +
 +
.ifw-button-box .avatar{
 +
display: grid;
 +
place-items: center;
 +
}
  
 
/* LiteInfoBox */
 
/* LiteInfoBox */
第22行: 第35行:
 
}
 
}
  
.ifw-lite-info-box > .avatar{
+
.ifw-lite-info-box .avatar{
 
display: grid;  
 
display: grid;  
 
place-items: center;
 
place-items: center;
第32行: 第45行:
 
}
 
}
 
.ifw-banner > img {
 
.ifw-banner > img {
max-width: 100%;
+
max-width: 100% !important;
 
min-height: 100%;
 
min-height: 100%;
 
width: 100%;
 
width: 100%;
第43行: 第56行:
  
 
.ifw-basepagename {
 
.ifw-basepagename {
font-size:0.3rem;
+
font-size:0.6rem;
 
color: gray;
 
color: gray;
 
}
 
}

2022年6月11日 (六) 06:44的最新版本

/* 这里放置的CSS将应用于所有皮肤 */

/*button box*/
.ifw-button-box {
text-align: center; 
margin: 0.1rem;
display: grid;
grid-template-columns: 1fr;
border-radius: 5px;
}

.ifw-button-box .avatar{
display: grid; 
place-items: center;
}

/* 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% !important;
min-height: 100%;
width: 100%;
height: auto;
}

.rootpage-首页 #firstHeading {
display:none;
}

.ifw-basepagename {
font-size:0.6rem;
color: gray;
}