Template:曲目信息/sandbox/styles.css:修订间差异
< Template:曲目信息 | sandbox
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的5个中间版本) | |||
第1行: | 第1行: | ||
/* 曲目信息模板 */ | |||
.songbox { | .songbox { | ||
display: grid; | display: grid; | ||
第27行: | 第29行: | ||
font-size: small; | font-size: small; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
} | |||
.songbox > div { | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
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; | |||
} | |||
.songbox > .byd-label{ | |||
display:unset; | |||
} | } | ||
第33行: | 第52行: | ||
grid-template-columns: 1fr 2fr 2fr 2fr 2fr auto; | grid-template-columns: 1fr 2fr 2fr 2fr 2fr auto; | ||
} | } | ||
/* 背景色定义 */ | |||
.conflict>.label, | .conflict>.label, | ||
.conflict>#title, | .conflict>#title, | ||
.conflict>.header { | .conflict>.header, | ||
.conflict>div>div>.label-text, | |||
.conflict>div>div>div>.label-text { | |||
background-color: #b99afd; | background-color: #b99afd; | ||
} | } | ||
第43行: | 第66行: | ||
.light>.label, | .light>.label, | ||
.light>#title, | .light>#title, | ||
.light>.header { | .light>.header, | ||
.light>div>div>.label-text, | |||
.light>div>div>div>.label-text { | |||
background-color: lightskyblue; | background-color: lightskyblue; | ||
} | } | ||
. | .label-text { | ||
padding:2px 10px 2px 0; | |||
padding: | |||
} | } | ||
第82行: | 第101行: | ||
.label { | .label { | ||
grid-column: 1 / 2; | grid-column: 1 / 2; | ||
} | } | ||
第91行: | 第107行: | ||
font-size: medium; | font-size: medium; | ||
height: 25px !important; | height: 25px !important; | ||
} | } | ||
第107行: | 第120行: | ||
.byd>#top-image { | .byd>#top-image { | ||
grid-column: 1 / 6; | grid-column: 1 / 6; | ||
} | } | ||
第137行: | 第142行: | ||
} | } | ||
.img-tab | .img-tab-part { | ||
align-items: center; | align-items: center; | ||
display: inline-flex; | display: inline-flex; | ||
第161行: | 第159行: | ||
} | } | ||
.img-tab- | .img-tab-part.normal { | ||
border-bottom: 1.5px solid #a040a0; | border-bottom: 1.5px solid #a040a0; | ||
} | } | ||
.img-tab- | .img-tab-part.byd { | ||
border-bottom: 1.5px solid #a04040; | border-bottom: 1.5px solid #a04040; | ||
} | } | ||
.img-tab-part.pst { | |||
border-bottom: 1.5px solid #40a0a0; | |||
} | |||
.img-tab-part.prs { | |||
border-bottom: 1.5px solid #40a040; | |||
} | |||
.img-tab-part.ftr { | |||
border-bottom: 1.5px solid #a040a0; | |||
} | |||
@media all and (min-width: 950px) { | @media all and (min-width: 950px) { | ||
第225行: | 第236行: | ||
.date-box { | .date-box { | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
} | } | ||
第270行: | 第278行: | ||
.ns-same > #ns-date-normal, | .ns-same > #ns-date-normal, | ||
.ns-same.byd > #ns-date-byd{ | .ns-same.byd > #ns-date-byd{ | ||
display: | display: flex; | ||
} | } | ||
.ns-same > #all-play-header{ | .ns-same > #all-play-header{ | ||
display: | display: flex; | ||
} | } | ||
第291行: | 第299行: | ||
.byd-label{ | .byd-label{ | ||
color: #a04040; | color: #a04040; | ||
} | |||
.ns-date-span > #ns-date-byd{ | |||
display:none; | |||
} | |||
.ns-date-span > #ns-date-normal{ | |||
grid-column: 2 / 6; | |||
} | } |
2021年7月15日 (四) 19:34的最新版本
/* 曲目信息模板 */
.songbox {
display: grid;
grid-template-columns: 1fr 2fr 2fr 2fr auto;
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;
}
.songbox > div {
display: flex;
justify-content: center;
align-items: center;
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;
}
.songbox > .byd-label{
display:unset;
}
.songbox.byd {
grid-template-columns: 1fr 2fr 2fr 2fr 2fr auto;
}
/* 背景色定义 */
.conflict>.label,
.conflict>#title,
.conflict>.header,
.conflict>div>div>.label-text,
.conflict>div>div>div>.label-text {
background-color: #b99afd;
}
.light>.label,
.light>#title,
.light>.header,
.light>div>div>.label-text,
.light>div>div>div>.label-text {
background-color: lightskyblue;
}
.label-text {
padding:2px 10px 2px 0;
}
.prs-data,
.pst-data,
.pst-label,
.prs-label,
.byd>.ftr-data,
.byd>.ftr-label,
.mobile-byd-date>#mobile-date-normal,
.byd>#ns-date-normal{
border-right: 1px solid #eaecf0;
}
.data {
grid-column: 2 / 5;
}
.byd>.data {
grid-column: 2 / 6;
}
.label {
grid-column: 1 / 2;
}
.header {
grid-column: 1 / 5;
font-size: medium;
height: 25px !important;
}
.byd>.header {
grid-column: 1 / 6;
}
#top-image {
margin: 4px 0px;
grid-column: 1 / 5;
}
.byd>#top-image {
grid-column: 1 / 6;
}
#top-image>div>img,
#right-image>div>img {
margin: 0 auto;
}
#title {
font-size: large;
grid-column: 1 / 6;
padding: 7px 10px;
max-width: 100%;
}
.byd>#title {
grid-column: 1 / 7;
}
.img-text {
font-weight: bold;
}
.img-tab-part {
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;
cursor: default;
}
.img-tab-part.normal {
border-bottom: 1.5px solid #a040a0;
}
.img-tab-part.byd {
border-bottom: 1.5px solid #a04040;
}
.img-tab-part.pst {
border-bottom: 1.5px solid #40a0a0;
}
.img-tab-part.prs {
border-bottom: 1.5px solid #40a040;
}
.img-tab-part.ftr {
border-bottom: 1.5px solid #a040a0;
}
@media all and (min-width: 950px) {
.songbox {
width: min-content;
min-width: 800px;
}
#top-image {
display: none;
}
#right-image {
grid-column: 5 / 6;
grid-row: 2 / 25;
border-left: 1px solid #eaecf0;
}
.byd>#right-image {
grid-column: 6 / 7;
}
#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;
}
}
.tab-text-a,
.tab-text-b,
.tab-text-c {
display: none;
}
.container .active {
display: block;
}
.play-diff {
float: right;
}
.date-box {
flex-wrap: wrap;
}
div:not(.byd)>.byd-data,
div:not(.byd)>.byd-label{
display: none;
}
#update-data-label {
grid-row-end: span 2;
}
.mobile-byd-date > #mobile-date-normal,
#ns-date-normal {
grid-column: 2 / 5;
}
#mobile-date-byd,
#ns-date-byd {
grid-column: 5 / 6;
}
div:not(.byd) > #ns-date-byd{
display:none;
}
div:not(.mobile-byd-date) > #mobile-date-byd{
display: none;
}
div:not(.ns-box) > .ns,
#all-play-header{
display: none;
}
.ns-same > .ns,
.ns-same > #mobile-play-header{
display: none;
}
.ns-same > #ns-date-normal,
.ns-same.byd > #ns-date-byd{
display: flex;
}
.ns-same > #all-play-header{
display: flex;
}
.pst-label{
color: #40a0a0;
}
.prs-label{
color: #40a040;
}
.ftr-label{
color: #a040a0;
}
.byd-label{
color: #a04040;
}
.ns-date-span > #ns-date-byd{
display:none;
}
.ns-date-span > #ns-date-normal{
grid-column: 2 / 6;
}