Arcaea中文维基:沙盒/styles.css:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第93行: | 第93行: | ||
.img-text{ | .img-text{ | ||
font-weight:bold; | font-weight:bold; | ||
} | |||
.img-tab{ | |||
display: flex; | |||
} | |||
.img-tab-part1,.img-tab-part2{ | |||
align-items: center; | |||
display: inline-flex; | |||
font-size: 14px; | |||
font-weight: 500; | |||
height: 40px; | |||
letter-spacing: .5px; | |||
margin: 0 11px; | |||
text-align: center; | |||
text-decoration: none; | |||
transition: color .1s; | |||
white-space: nowrap; | |||
margin-left: 3px; | |||
margin-right: 3px; | |||
} | |||
.img-tab-part1{ | |||
border-bottom: 1.5px solid #a040a0; | |||
} | |||
.img-tab-part2{ | |||
border-bottom: 1.5px solid #a04040; | |||
} | } | ||
2021年5月15日 (六) 19:50的版本
#box {
display: grid;
grid-template-columns: 1fr 2fr 2fr 2fr;
text-align: center;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
color: black;
color: #202122;
word-wrap: break-word;
font: inherit;
border-collapse: collapse;
box-sizing: border-box;
margin: 1em 0;
overflow: auto;
overflow-y: hidden;
overflow-x: auto;
float: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
position: relative;
border: 1px solid #eaecf0;
margin-bottom: 2em;
background-color: #f8f9fa;
width: 100%;
max-width: 100% !important;
border-spacing: 3px;
font-size: small;
line-height: 1.5em;
}
.label.conflict,#title.conflict,.header.conflict{
background-color: #b99afd;
}
.label.light,#title.light,.header.light{
background-color: lightskyblue;
}
.label,.data,#title,.header,.prs-data,.pst-data,.ftr-data {
word-wrap: break-word;
border-bottom: 1px solid #eaecf0;
padding: 5px 5px;
border-collapse: collapse;
overflow-wrap: normal;
white-space: nowrap;
box-sizing: border-box;
}
.prs-data,.pst-data{
border-right: 1px solid #eaecf0;
}
.data {
grid-column: 2 / 5;
}
.label {
grid-column: 1 / 2;
display: flex;
align-items: center;
justify-content: center;
}
.header{
grid-column: 1 / 5;
font-size: medium;
height: 25px !important;
display: flex;
align-items: center;
justify-content: center;
}
#top-image {
margin: 4px 0px;
grid-column: 1 / 5;
}
#top-image,#right-image{
display: flex;
align-items: center;
justify-content: center;
}
#title {
font-size: large;
grid-column: 1 / 5;
padding: 7px 10px;
max-width: 100%;
}
.img-text{
font-weight:bold;
}
.img-tab{
display: flex;
}
.img-tab-part1,.img-tab-part2{
align-items: center;
display: inline-flex;
font-size: 14px;
font-weight: 500;
height: 40px;
letter-spacing: .5px;
margin: 0 11px;
text-align: center;
text-decoration: none;
transition: color .1s;
white-space: nowrap;
margin-left: 3px;
margin-right: 3px;
}
.img-tab-part1{
border-bottom: 1.5px solid #a040a0;
}
.img-tab-part2{
border-bottom: 1.5px solid #a04040;
}
@media all and ( min-width: 950px ) {
#box {
width: min-content;
grid-template-columns: 1fr 2fr 2fr 2fr auto;
}
#top-image{
display:none;
}
#right-image{
grid-column: 5 / 6;
grid-row: 2 / 13;
border-left: 1px solid #eaecf0;
}
#title{
grid-column: 1 / 6;
}
#image-info{
grid-column: 5 / 6 !important;
border-left: 1px solid #eaecf0;
}
}
@media all and ( max-width: 950px ) {
#right-image,#image-info{
display: none;
}
}