Template:模板样式/定数表.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第7行: | 第7行: | ||
.ds{ | .ds{ | ||
width: 100%; | width: 100%; | ||
color: #202122; | |||
font: inherit; | |||
border-collapse: collapse; | |||
border-spacing: 3px; | |||
line-height: 1.5em; | |||
font-size: 100%; | |||
vertical-align: top; | |||
border: 0; | |||
border-bottom: 1px solid #eaecf0; | |||
padding: 7px 10px; | |||
flex: 1 0; | |||
white-space: nowrap; | |||
} | } | ||
.number{ | .number{ | ||
width: 100%; | width: 100%; | ||
color: #202122; | |||
font: inherit; | |||
border-collapse: collapse; | |||
border-spacing: 3px; | |||
line-height: 1.5em; | |||
font-size: 100%; | |||
vertical-align: top; | |||
border: 0; | |||
border-bottom: 1px solid #eaecf0; | |||
padding: 7px 10px; | |||
flex: 1 0; | |||
white-space: nowrap; | |||
} | } | ||
2021年1月30日 (六) 16:00的版本
.dstable{
display:grid;
grid-template-columns: 5% 95%;
justify-items: center ;
align-items: center ;
}
.ds{
width: 100%;
color: #202122;
font: inherit;
border-collapse: collapse;
border-spacing: 3px;
line-height: 1.5em;
font-size: 100%;
vertical-align: top;
border: 0;
border-bottom: 1px solid #eaecf0;
padding: 7px 10px;
flex: 1 0;
white-space: nowrap;
}
.number{
width: 100%;
color: #202122;
font: inherit;
border-collapse: collapse;
border-spacing: 3px;
line-height: 1.5em;
font-size: 100%;
vertical-align: top;
border: 0;
border-bottom: 1px solid #eaecf0;
padding: 7px 10px;
flex: 1 0;
white-space: nowrap;
}
@media all and ( max-width: 720px ) {
.dstable{
grid-template-columns: 100%;
}
}