MediaWiki:Common.css:修订间差异
删除的内容 添加的内容
测试移动端 |
测试移动端 |
||
第100行:
display: flex;
flex-direction: column; /* 默认移动端纵向 */
align-items:
gap: 10px; /* 每个分类
width: 100%; /* 宽度撑满 */
}
/*
@media (min-width: 768px) {
.software-info {
flex-direction: row;
flex-wrap: wrap;
justify-content:
align-items: stretch; /* 让所有分类高度对齐 */
}
.software-info-section {
flex: 1; /*
min-width:
display: flex;
flex-direction: column; /* 让表格填充整个区域 */
}
}
/* 让表格
.software-info-section table {
width: 100%;
border-collapse: collapse;
flex-grow: 1; /* 让表格填满父容器 */
}
/*
.software-info-section table caption {
font-weight: bold;
第136行 ⟶ 第141行:
border: 1px solid var(--mw-border-color);
padding: 8px;
text-align: left;
}
| |||