Template:曲目信息/styles.css:修订间差异

来自Arcaea中文维基
无编辑摘要
(add .colorless .img-tab-part.active)
(未显示1个用户的3个中间版本)
第1行: 第1行:
@media all and ( min-width: 720px ) {
/* 曲目信息模板 */
td.toppic {
   display: none;
   }


.arcaeabox {
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;
width: 100%;
max-width: 100% !important;
border-spacing: 3px;
font-size: small;
line-height: 1.5em;
}
}


@media all and ( max-width: 720px ) {
.arcaeabox>div {
td.sidepic {
word-wrap: break-word;
   display: none;
border-bottom: 1px solid #eaecf0;
   }
padding: 5px 5px;
  
border-collapse: collapse;
.songtable {
overflow-wrap: normal;
   min-width: 100%;
box-sizing: border-box;
   margin: 0 auto;
   }
}
}


.arcaeabox>.header,
.arcaeabox>.label,
.arcaeabox>.pst-label,
.arcaeabox>.prs-label,
.arcaeabox>.ftr-label,
.arcaeabox>.byd-label,
.arcaeabox>#right-image,
.arcaeabox>#top-image {
display: flex;
justify-content: center;
align-items: center;
}
.arcaeabox>.byd-label {
display: unset;
}
.arcaeabox.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: 1px 5px 1px 5px;
margin: 0 5px 0 5px;
}
.prs-data,
.pst-data,
.pst-label,
.prs-label,
.byd>.ftr-data,
.byd>.ftr-label,
.mobile-byd-date>#mobile-date-normal,
.byd>#ns-date-normal,
.bg-ftr>#bg-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 0;
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: 0.5px;
margin: 0 11px;
text-align: center;
text-decoration: none;
transition: color 0.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) {
/* vector2022中占满全宽度 */
body:not(.skin-vector-2022) .arcaeabox {
width: min-content;
min-width: 800px;
}
#top-image {
display: none !important;
}
#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 !important;
}
}
.tab-text-a,
.tab-text-b,
.tab-text-c {
display: none;
}
.tab-text-a.active,
.tab-text-b.active,
.tab-text-c.active {
display: block;
}
.conflict .img-tab-part.active {
background-color: #b99afd;
}
.light .img-tab-part.active {
background-color: lightskyblue;
}
.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;
}


/* The CSS revised for https://zh.wikipedia.org/wiki/Template:Tabs/styles.css : */
div:not(.byd)>#ns-date-byd {
display: none;
}


.mcBoto {
div:not(.mobile-byd-date)>#mobile-date-byd {
  background-color: #d0b0ff;
display: none;
  border: 0.15em solid #000000;
  border-color: #f0d0ff #b090e0 #9070c0 #f0d0ff; 
  cursor:pointer;
  display: inline;
  margin-right: 0.1em;
  padding: 0.2em 0.3em 0.3em 0.3em;
  position: relative;
border-radius: 5px 5px 0px 0px;}
.mcBoto a,
.mcBoto strong {
  background: none !important;
  color:#7050a0 !important; 
  font-size: 90%;
  font-weight: bold;
  padding: 0 !important;
  text-decoration: none !important;}
.mcBoto a:hover,
.mcBoto strong:hover {
  color: black !important;
  text-decoration: underline !important;}
.mcBotoSel {
  background-color: #9070c0;
  border: 0.15em solid #000000;
  border-color: #b090e0 #7050a0 #9070c0 #b090e0; 
  cursor: default;
  display: inline;
  margin-right: 0.1em;
  padding: 0.2em 0.3em 0.3em 0.3em;
  position: relative;
  color:white;
border-radius: 5px 5px 0px 0px;}
.mcBotoSel a {
  background: none !important;
  color:white !important;
  cursor: default;
  font-size: 90%;
  font-weight: bold;
  padding: 0 !important;
  text-decoration: none !important;
}
}


div:not(.ns-box)>.ns,
#all-play-header {
display: none;
}


.ns-same>.ns,
.mcPst .mcBoto {
.ns-same>#mobile-play-header {
background-color: #0B8DCE;
display: none;
border-color:#0B8DCE #0B8DCE #0B8DCE #0B8DCE;  }
}
.mcPst .mcBoto a,
.mcPst .mcBoto strong {
  color:#fffafa !important; 
  font-size:90%}
.mcPst .mcBoto a:hover,
.mcPst .mcBoto strong:hover {
  color: black !important;
  text-decoration: underline;}
.mcPst .mcBotoSel {
  background-color: #08628F;
  border-color: #08628F #08628F #08628F #08628F;  }
.mcPst .mcContingut {
  background-color: #0B8DCE;
  border-color: #0B8DCE #0B8DCE #0B8DCE #0B8DCE ; }
.mcPst .mcPestanya {
  background-color: #fffafa;
  border-color: #fffafa  #fffafa  #fffafa  #fffafa; }


.ns-same>#ns-date-normal,
.mcPrs .mcBoto {
.ns-same.byd>#ns-date-byd {
background-color: #79A948;
display: unset;
border-color: #79A948 #79A948 #79A948 #79A948;  }
}
.mcPrs .mcBoto a,
.mcPrs .mcBoto strong {
  color:#fffafa !important; 
  font-size:90%}
.mcPrs .mcBoto a:hover
.mcPrs .mcBoto strong:hover {
  color: black !important;
  text-decoration: underline;}
.mcPrs .mcBotoSel {
  background-color: #4B692D;
  border-color: #4B692D #4B692D #4B692D #4B692D;  }
.mcPrs .mcContingut {
  background-color: #79A948;
  border-color: #79A948 #79A948 #79A948 #79A948; }
.mcPrs .mcPestanya {
  background-color: #fffafa;
  border-color: #fffafa #fffafa #fffafa #fffafa; }


.ns-same>#all-play-header {
.mcFtr .mcBoto {
display: unset;
background-color: #7C276F;
}
border-color: #7C276F #7C276F #7C276F #7C276F;  }
.mcFtr .mcBoto a,
.mcFtr .mcBoto strong {
  color:#fffafa !important; 
  font-size:90%}
.mcFtr .mcBoto a:hover
.mcFtr .mcBoto strong:hover {
  color: black !important;
  text-decoration: underline;}
.mcFtr .mcBotoSel {
  background-color: #660033;
  border-color: #660033 #660033 #660033 #660033;  }
.mcFtr .mcContingut {
  background-color: #7C276F;
  border-color: #7C276F #7C276F #7C276F #7C276F; }
.mcFtr .mcPestanya {
  background-color: #fffafa;
  border-color: #fffafa #fffafa #fffafa #fffafa; }


.pst-label {
.mcByd .mcBotoSel {
color: #40a0a0;
background-color: #621A1E
}
border-color: #621A1E #621A1E #621A1E #621A1E; }
 
.prs-label {
.mcByd .mcBoto a,
color: #40a040;
.mcByd .mcBoto strong {
}
  color:#fffafa !important;
 
  font-size:90%}
.ftr-label {
color: #a040a0;
.mcByd .mcBoto a:hover
}
.mcByd .mcBoto strong:hover {
 
  color: black !important;
.byd-label {
  text-decoration: underline;}
color: #a04040;
}
.mcByd .mcBoto {
 
  background-color: #A12B32;
.etr-label {
  border-color: #A12B32 #A12B32 #A12B32 #A12B32; }
color: #a040a0;
  
}
.mcByd .mcContingut {
 
  background-color: #621A1E;
.ns-date-span>#ns-date-byd {
  border-color: #621A1E #621A1E #621A1E #621A1E; }
display: none;
}
.mcByd .mcPestanya {
 
  background-color: #fffafa;
.ns-date-span>#ns-date-normal {
  border-color: #fffafa #fffafa #fffafa #fffafa; }
grid-column: 2 / 6;
}
 
.no-mobile>#mobile-date-normal,
.no-mobile>#mobile-date-byd {
display: none;
}
 
#bg-ftr {
display: none;
}
 
.bg-ftr>#bg-ftr {
display: unset;
grid-column: 4 / 5;
}
 
.bg-ftr>#bg-normal {
grid-column: 2 / 4;
}
 
/* 曲目信息模板 arcaea V4.0 */
 
.colorless>.label,
.colorless>#title,
.colorless>.header,
.colorless>div>div>.label-text,
.colorless>div>div>div>.label-text {
background-color: #f4d2f8;
}
 
.skin-vector-2022 .arcaeabox {
width: 100%;
}
 
.colorless .img-tab-part.active {
background-color: #f4d2f8;
}

2024年8月16日 (五) 15:31的版本

/* 曲目信息模板 */

.arcaeabox {
	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;
	width: 100%;
	max-width: 100% !important;
	border-spacing: 3px;
	font-size: small;
	line-height: 1.5em;
}

.arcaeabox>div {
	word-wrap: break-word;
	border-bottom: 1px solid #eaecf0;
	padding: 5px 5px;
	border-collapse: collapse;
	overflow-wrap: normal;
	box-sizing: border-box;
}

.arcaeabox>.header,
.arcaeabox>.label,
.arcaeabox>.pst-label,
.arcaeabox>.prs-label,
.arcaeabox>.ftr-label,
.arcaeabox>.byd-label,
.arcaeabox>#right-image,
.arcaeabox>#top-image {
	display: flex;
	justify-content: center;
	align-items: center;
}

.arcaeabox>.byd-label {
	display: unset;
}

.arcaeabox.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: 1px 5px 1px 5px;
	margin: 0 5px 0 5px;
}

.prs-data,
.pst-data,
.pst-label,
.prs-label,
.byd>.ftr-data,
.byd>.ftr-label,
.mobile-byd-date>#mobile-date-normal,
.byd>#ns-date-normal,
.bg-ftr>#bg-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 0;
	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: 0.5px;
	margin: 0 11px;
	text-align: center;
	text-decoration: none;
	transition: color 0.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) {
	/* vector2022中占满全宽度 */
	body:not(.skin-vector-2022) .arcaeabox {
		width: min-content;
		min-width: 800px;
	}

	#top-image {
		display: none !important;
	}

	#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 !important;
	}
}

.tab-text-a,
.tab-text-b,
.tab-text-c {
	display: none;
}

.tab-text-a.active,
.tab-text-b.active,
.tab-text-c.active {
	display: block;
}

.conflict .img-tab-part.active {
	background-color: #b99afd;
}

.light .img-tab-part.active {
	background-color: lightskyblue;
}

.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: unset;
}

.ns-same>#all-play-header {
	display: unset;
}

.pst-label {
	color: #40a0a0;
}

.prs-label {
	color: #40a040;
}

.ftr-label {
	color: #a040a0;
}

.byd-label {
	color: #a04040;
}

.etr-label {
	color: #a040a0;
}

.ns-date-span>#ns-date-byd {
	display: none;
}

.ns-date-span>#ns-date-normal {
	grid-column: 2 / 6;
}

.no-mobile>#mobile-date-normal,
.no-mobile>#mobile-date-byd {
	display: none;
}

#bg-ftr {
	display: none;
}

.bg-ftr>#bg-ftr {
	display: unset;
	grid-column: 4 / 5;
}

.bg-ftr>#bg-normal {
	grid-column: 2 / 4;
}

/* 曲目信息模板 arcaea V4.0 */

.colorless>.label,
.colorless>#title,
.colorless>.header,
.colorless>div>div>.label-text,
.colorless>div>div>div>.label-text {
	background-color: #f4d2f8;
}

.skin-vector-2022 .arcaeabox {
	width: 100%;
}

.colorless .img-tab-part.active {
	background-color: #f4d2f8;
}