MediaWiki:Common.css:修订间差异
删除的内容 添加的内容
继续测试移动端 |
测试 |
||
第96行:
}
/* 让软件信息
.software-info {
display: flex;
flex-direction: column; /* 默认移动端纵向排列 */
flex-wrap: wrap;▼
gap: 10px; /* 分组之间的间距 */▼
width: 100%;
}
/* 每一组的默认样式(移动端:占满整行) */
/* 适配桌面端,2x2 格式排列 */▼
.software-info-section {
width: 100%; /* 在移动端时,占满整行 */
display: flex;
flex-direction: column; /* 让表格填充整个区域 */
}
@media (min-width: 768px) {
.software-info {
flex-direction: row; /* 横向排列 */
flex-wrap:
justify-content: space-between; /*
}
.software-info-section {
width:
}
}
/* 让表格填充整个分
.software-info-section table {
width: 100%;
border-collapse: collapse;
flex-grow: 1; /* 让表格填满父容器 */
}
/*
.software-info-section table caption {
font-weight: bold;
text-align: center;
padding:
}
/* 表格单元格样式 */
.software-info-section th,
.software-info-section td {
| |||