MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
删除的内容 添加的内容
无编辑摘要 |
无编辑摘要 |
||
| 第23行: | 第23行: | ||
.maimp-layout p { margin: 0; } |
.maimp-layout p { margin: 0; } |
||
.maimp-item { |
|||
background-color: #F0F8FF; |
|||
border-radius: 10px; |
|||
overflow: hidden; |
|||
padding: 0; |
|||
} |
|||
.maimp-item-header { |
|||
background-color: #dadada; |
|||
font-weight: bold; |
|||
margin: 0; |
|||
padding: 4px; |
|||
text-align: center; |
|||
} |
|||
.maimp-item-content { |
|||
margin: 0; |
|||
padding: 10px; |
|||
} |
|||
.maimp-item-content a > img { |
|||
display: block; |
|||
margin: auto; |
|||
clear: both; |
|||
max-width: 100%; |
|||
height: auto; |
|||
} |
|||
.maimp-item-content ul { |
|||
margin-left: 0; |
|||
} |
|||
.maimp-item-content ul li { |
|||
margin-left: 1em; |
|||
} |
|||
2025年9月27日 (六) 09:37的版本
/* 这里放置的CSS将应用于所有皮肤 */
.maimp-layout {
display: grid;
gap: 10px;
grid-template-areas: "list list list"
"mechanics mechanics mechanics"
"extend extend extend";
grid-template-columns: 1fr 320px 320px;
margin: 0 auto;
width:100%;
}
@media (max-width: 1200px) {
.maimp-layout {
grid-template-areas: "list "
"mechanics "
"extend ";
grid-template-columns: 50px 1fr;
width: 100%;
}
}
.maimp-layout p { margin: 0; }
.maimp-item {
background-color: #F0F8FF;
border-radius: 10px;
overflow: hidden;
padding: 0;
}
.maimp-item-header {
background-color: #dadada;
font-weight: bold;
margin: 0;
padding: 4px;
text-align: center;
}
.maimp-item-content {
margin: 0;
padding: 10px;
}
.maimp-item-content a > img {
display: block;
margin: auto;
clear: both;
max-width: 100%;
height: auto;
}
.maimp-item-content ul {
margin-left: 0;
}
.maimp-item-content ul li {
margin-left: 1em;
}