MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第8行: | 第8行: | ||
} | } | ||
/* | /* H2:快速css */ | ||
/* -- H3:宽度 */ | |||
.width-auto {width: auto} | .width-auto {width: auto} | ||
.width-100 {width: 100%} | .width-100 {width: 100%} | ||
第19行: | 第20行: | ||
.height-25 {height: 25%} | .height-25 {height: 25%} | ||
.height-20 {height: 20%} | .height-20 {height: 20%} | ||
/* -- H3;flex */ | |||
.flex-row-center{ | |||
display: flex; | |||
flex-direction: row; | |||
justify-content: center; | |||
} | |||
/* H2 模板 */ | |||
/* -- H3模板:图标居中相关 */ | |||
.flex-row-icon{ | |||
text-align:center; | |||
margin: 2px; | |||
} | |||
/* -- H3:模板:信息框*/ | |||
.description-container{ | |||
text-align: center; | |||
color: lightslategray; | |||
box-shadow: rgba(0,0,0,0.24) 0px 3px 8px 0px; | |||
border-radius: 0.5em; | |||
margin: 10px 0 10px 0; | |||
padding: 10px; | |||
display: table; | |||
width: 100%; | |||
} | |||
.description-display{ | |||
display: table-cell; | |||
vertical-align: middle; | |||
} |
2024年3月29日 (五) 00:37的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* WIKI背景图 */
body {
background:url("https://i.17173cdn.com/g8bz6k/octopathsp/f/fc/bg-1.jpg") no-repeat fixed 50% 0;
background-size:cover;
}
/* H2:快速css */
/* -- H3:宽度 */
.width-auto {width: auto}
.width-100 {width: 100%}
.width-50 {width: 50%}
.width-25 {width: 25%}
.width-20 {width: 20%}
.height-auto {height: auto}
.height-100 {height: 100%}
.height-50 {height: 50%}
.height-25 {height: 25%}
.height-20 {height: 20%}
/* -- H3;flex */
.flex-row-center{
display: flex;
flex-direction: row;
justify-content: center;
}
/* H2 模板 */
/* -- H3模板:图标居中相关 */
.flex-row-icon{
text-align:center;
margin: 2px;
}
/* -- H3:模板:信息框*/
.description-container{
text-align: center;
color: lightslategray;
box-shadow: rgba(0,0,0,0.24) 0px 3px 8px 0px;
border-radius: 0.5em;
margin: 10px 0 10px 0;
padding: 10px;
display: table;
width: 100%;
}
.description-display{
display: table-cell;
vertical-align: middle;
}