跳到内容

User:盐棋/Sandbox.css:修订间差异

添加348字节 、​ 2024年3月13日 (星期三)
修复样式,todo:竖直居中、等级NS、labeltext间距、datecov不换行、figure未填充
(初步css)
(修复样式,todo:竖直居中、等级NS、labeltext间距、datecov不换行、figure未填充)
第1行: 第1行:
.infotable {
.infotable {
margin: 0;
max-width: 100%;
padding: 0;
display: grid;
display: grid;
grid-template-columns: 1fr;
grid-template-columns: auto min-content;
grid-template-rows: auto auto auto;
margin: 1em 0 2em;
font-size: small;
line-height: 1.5em;
text-align: center;
text-align: center;
background-color: #f8f8f8;
overflow: auto hidden;
position: relative;
}
}


.header,
.infotable,
.main,
.infotable>*,
.figure {
.infotable .main>* {
width: 100%;
outline: 1px solid #eee;
box-sizing: border-box;
box-sizing: border-box;
overflow-wrap: break-word;
}
}


第24行: 第29行:
}
}


@media (max-width: 719px) {
@media (max-width: 720px) {
.infotable {
.infotable {
grid-template-areas:
grid-template-areas:
第31行: 第36行:
"main";
"main";
}
}
}
.header,
.figure,
.main>* {
padding: 5px 5px;
}
}


第36行: 第47行:
.header {
.header {
grid-area: header;
grid-area: header;
font-size: large;
height: auto !important;
}
}


第46行: 第59行:
.figure {
.figure {
grid-area: figure;
grid-area: figure;
margin: 0 auto;
justify-self: center;
align-self: center;
}
}


span.bg-c {
padding: 1px 5px 1px 5px;
margin: 0 5px 0 5px;
}


.infotable.light .bg-c {
.infotable.light .bg-c {
1,452

个编辑