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

来自Arcaea中文维基
无编辑摘要
(add .colorless .img-tab-part.active)
 
(未显示3个用户的19个中间版本)
第1行: 第1行:
/* The CSS used for https://zh.wikipedia.org/wiki/Template:Tabs/styles.css : */
/* 曲目信息模板 */


.arcaeabox {
.mcBoto {
display: grid;
  background-color: #d0b0ff; /* 4 */
grid-template-columns: 1fr 2fr 2fr 2fr auto;
  border: 0.15em solid #000000;
text-align: center;
  border-color: #f0d0ff #b090e0 #9070c0 #f0d0ff; /* 5 3 3 5 */
border: 1px solid #a2a9b1;
  cursor:pointer;
background-color: #f8f9fa;
  display: inline;
color: black;
  margin-right: 0.1em;
color: #202122;
  padding: 0.2em 0.3em 0.2em 0.3em;
word-wrap: break-word;
  position: relative;
font: inherit;
border-radius: 10px 10px 0px 0px;}
border-collapse: collapse;
box-sizing: border-box;
.mcBoto a,
margin: 1em 0;
.mcBoto strong {
overflow: auto;
  background: none !important;
overflow-y: hidden;
  color:#7050a0 !important; /* 1 */
overflow-x: auto;
  font-size: 90%;
float: none !important;
  font-weight: bold;
margin-left: 0 !important;
  padding: 0 !important;
margin-right: 0 !important;
  text-decoration: none !important;}
position: relative;
border: 1px solid #eaecf0;
.mcBoto a:hover,
margin-bottom: 2em;
.mcBoto strong:hover {
width: 100%;
  color: black !important;
max-width: 100% !important;
  text-decoration: underline !important;}
border-spacing: 3px;
font-size: small;
.mcBotoSel {
line-height: 1.5em;
  background-color: #9070c0; /* 2 */
  border: 0.15em solid #000000;
  border-color: #b090e0 #7050a0 #9070c0 #b090e0;  /* 3 1 2 3 */
  cursor: default;
  display: inline;
  margin-right: 0.1em;
  padding: 0.2em 0.3em 0.2em 0.3em;
  position: relative;
  color:white;
border-radius: 10px 10px 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;
}
}


.arcaeabox>div {
word-wrap: break-word;
/* Configuració del Verd 1;60b030 2;75c045 3;90d060 4;a5e085 5;c0f090 */
border-bottom: 1px solid #eaecf0;
padding: 5px 5px;
.mcVerd .mcBoto {
border-collapse: collapse;
background-color: #a5e085; /* 4 */
overflow-wrap: normal;
border-color: #c0f090 #90d060 #75c045 #c0f090; /* 5 3 2 5 */}
box-sizing: border-box;
}
.mcVerd .mcBoto a,
 
.mcVerd .mcBoto strong {
.arcaeabox>.header,
  color:#60b030 !important;  /* 1 */
.arcaeabox>.label,
  font-size:90%}
.arcaeabox>.pst-label,
.arcaeabox>.prs-label,
.mcVerd .mcBoto a:hover,
.arcaeabox>.ftr-label,
.mcVerd .mcBoto strong:hover {
.arcaeabox>.byd-label,
  color: black !important;
.arcaeabox>#right-image,
  text-decoration: underline;}
.arcaeabox>#top-image {
display: flex;
.mcVerd .mcBotoSel {
justify-content: center;
  background-color: #75c045; /* 2 */
align-items: center;
  border-color: #90d060 #60b030 #75c045 #90d060;  /* 3 1 2 3 */}
}
 
.mcVerd .mcContingut {
.arcaeabox>.byd-label {
  background-color: #f5fffa;
display: unset;
  border-color: #75c045 #60b030 #60b030 #75c045 ; /* 2 1 1 2 */}
}
 
.mcVerd .mcPestanya {
.arcaeabox.byd {
  background-color: #f5fffa;
grid-template-columns: 1fr 2fr 2fr 2fr 2fr auto;
  border-color: #60b030 #90d060 #90d060 #60b030; /* 1 3 3 1 */}
}
 
/* Configuració del Vermell 1;CC0000 2;FF0000 3;FF8888 4;FFAAAA 5;FFCCCC */
/* 背景色定义 */
 
.mcVermell .mcBoto {
.conflict>.label,
background-color: #FFAAAA; /* 4 */
.conflict>#title,
border-color: #FFCCCC #FF8888 #FF0000 #FFCCCC; /* 5 3 2 5 */}
.conflict>.header,
.conflict>div>div>.label-text,
.mcVermell .mcBoto a,
.conflict>div>div>div>.label-text {
.mcVermell .mcBoto strong {
background-color: #b99afd;
  color:#CC0000 !important; /* 1 */
}
  font-size:90%}
 
.light>.label,
.mcVermell .mcBoto a:hover
.light>#title,
.mcVermell .mcBoto strong:hover {
.light>.header,
  color: black !important;
.light>div>div>.label-text,
  text-decoration: underline;}
.light>div>div>div>.label-text {
background-color: lightskyblue;
.mcVermell .mcBotoSel {
}
  background-color: #FF0000; /* 2 */
 
  border-color: #FF8888 #CC0000 #FF0000 #FF8888; /* 3 1 2 3 */}
.label-text {
padding: 1px 5px 1px 5px;
.mcVermell .mcContingut {
margin: 0 5px 0 5px;
  background-color: #fffafa;
}
  border-color: #FF0000 #CC0000 #CC0000 #FF0000; /* 2 1 1 2 */}
 
.prs-data,
.mcVermell .mcPestanya {
.pst-data,
  background-color: #fffafa;
.pst-label,
  border-color: #CC0000 #FF0000 #FF0000 #CC0000; /* 1 3 3 1 */}
.prs-label,
.byd>.ftr-data,
/* Configuració del Blau 1;3379de 2;5b8dd6 3;88abde 4;a7c1e6 5;c8d6e9 */
.byd>.ftr-label,
.mobile-byd-date>#mobile-date-normal,
.mcBlau .mcBoto {
.byd>#ns-date-normal,
background-color: #a7c1e6; /* 4 */
.bg-ftr>#bg-normal {
border-color: #c8d6e9 #88abde #5b8dd6 #c8d6e9; /* 5 3 2 5 */}
border-right: 1px solid #eaecf0;
}
.mcBlau .mcBoto a,
 
.mcBlau .mcBoto strong {
.data {
  color:#3379de !important; /* 1 */
grid-column: 2 / 5;
  font-size:90%}
}
 
.mcBlau .mcBoto a:hover
.byd>.data {
.mcBlau .mcBoto strong:hover {
grid-column: 2 / 6;
  color: black !important;
}
  text-decoration: underline;}
 
.label {
.mcBlau .mcBotoSel {
grid-column: 1 / 2;
  background-color: #5b8dd6; /* 2 */
}
  border-color: #88abde #3379de #5b8dd6 #88abde; /* 3 1 2 3 */}
 
.header {
.mcBlau .mcContingut {
grid-column: 1 / 5;
  background-color: #f0f8ff;
font-size: medium;
  border-color: #5b8dd6 #3379de #3379de #5b8dd6; /* 2 1 1 2 */}
height: 25px !important;
}
.mcBlau .mcPestanya {
 
  background-color: #f0f8ff;
.byd>.header {
  border-color: #3379de #88abde #88abde #3379de; /* 1 3 3 1 */}
grid-column: 1 / 6;
}
 
/* Configuració del Groc 1;ffd813 2;ffe147 3;ffe977 4;fff1a4 5;fef4bc */
#top-image {
margin: 4px 0;
.mcGroc .mcBoto {
grid-column: 1 / 5;
background-color: #fff1a4; /* 4 */
}
border-color: #fef4bc #ffe977 #ffe147 #fef4bc; /* 5 3 2 5 */}
 
.byd>#top-image {
.mcGroc .mcBoto a,
grid-column: 1 / 6;
.mcGroc .mcBoto strong {
}
  color:#ffd813 !important; /* 1 */
 
  font-size:90%}
#top-image>div>img,
#right-image>div>img {
.mcGroc .mcBoto a:hover
margin: 0 auto;
.mcGroc .mcBoto strong:hover {
}
  color: black !important;
 
  text-decoration: underline;}
#title {
font-size: large;
.mcGroc .mcBotoSel {
grid-column: 1 / 6;
  background-color: #ffe147; /* 2 */
padding: 7px 10px;
  border-color: #ffe977 #ffd813 #ffe147 #ffe977;  /* 3 1 2 3 */}
max-width: 100%;
}
.mcGroc .mcContingut {
 
  background-color: #fffce8;
.byd>#title {
  border-color: #ffe147 #ffd813 #ffd813 #ffe147; /* 2 1 1 2 */}
grid-column: 1 / 7;
}
.mcGroc .mcPestanya {
 
  background-color: #fffce8;
.img-text {
  border-color: #ffd813 #88abde #88abde #ffd813; /* 1 3 3 1 */}
font-weight: bold;
}
/* Configuració del Taronja 1;ff820e 2;ff9d42 3;ffac5d 4;ffbd7f 5;ffd0a4 6;ffeedd */
 
.img-tab-part {
.mcTaronja .mcBoto {
align-items: center;
background-color: #ffbd7f; /* 4 */
display: inline-flex;
border-color: #ffd0a4 #ffac5d #ff9d42 #ffd0a4; /* 5 3 2 5 */}
font-size: 14px;
font-weight: 500;
.mcTaronja .mcBoto a,
height: 40px;
.mcTaronja .mcBoto strong {
letter-spacing: 0.5px;
  color:#ff820e !important; /* 1 */
margin: 0 11px;
  font-size:90%}
text-align: center;
text-decoration: none;
.mcTaronja .mcBoto a:hover
transition: color 0.1s;
.mcTaronja .mcBoto strong:hover {
white-space: nowrap;
  color: black !important;
margin-left: 3px;
  text-decoration: underline;}
margin-right: 3px;
cursor: default;
.mcTaronja .mcBotoSel {
}
  background-color: #ff9d42; /* 2 */
 
  border-color: #ffac5d #ff820e #ff9d42 #ffac5d; /* 3 1 2 3 */}
.img-tab-part.normal {
border-bottom: 1.5px solid #a040a0;
.mcTaronja .mcContingut {
}
  background-color: #ffeedd; /* 6 */
 
  border-color: #ff9d42 #ff820e #ff820e #ff9d42; /* 2 1 1 2 */}
.img-tab-part.byd {
border-bottom: 1.5px solid #a04040;
.mcTaronja .mcPestanya {
}
  background-color: #ffeedd; /* 6 */
 
  border-color: #ff820e #ffac5d #ffac5d #ff820e; /* 1 3 3 1 */}
.img-tab-part.pst {
border-bottom: 1.5px solid #40a0a0;
/* Configuració del Black 1;090909 2;333333 3;808080 4;c4c4c4 5;dddddd */
}
 
.mcBlack .mcBoto {
.img-tab-part.prs {
background-color: #c4c4c4; /* 4 */
border-bottom: 1.5px solid #40a040;
border-color: #dddddd #808080 #333333 #dddddd;  /* 5 3 2 5 */}
}
 
.img-tab-part.ftr {
.mcBlack .mcBotoSel {
border-bottom: 1.5px solid #a040a0;
  background-color: #333333; /* 2 */
}
  border-color: #808080 #090909 #333333 #808080; /* 3 1 2 3 */}
 
@media all and (min-width: 950px) {
 
/* vector2022中占满全宽度 */
/* Final d'estils de la Metacaixa */
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;
}

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;
}