2023年政策修订增补工作正在进行中,欢迎参与!
  • Moegirl.ICU:萌娘百科流亡社群 581077156(QQ),欢迎对萌娘百科运营感到失望的编辑者加入
  • Moegirl.ICU:账号认领正在试运行,有意者请参照账号认领流程

Template:LyricsKai/multi/styles.css

萌娘百科,万物皆可萌的百科全书!转载请标注来源页面的网页链接,并声明引自萌娘百科。内容不可商用。
跳转到导航 跳转到搜索
.Lyrics {
	display: flow-root;
	min-width: 480px;
}
.Lyrics-has-ruby .Lyrics-column {
	line-height: 2.1;
}
.Lyrics-no-ruby .Lyrics-column {
	vertical-align: top;
}

.Lyrics .Lyrics-column {
	white-space: pre-wrap;
}
.Lyrics .Lyrics-column-suppressed {
	display: inline-block;
}
.Lyrics .Lyrics-column-wrapped {
	width: 100%;
	display: none;
}

@media all and ( max-width: 900px ) {
	.Lyrics {
		min-width: 100%;
	}
	.Lyrics .Lyrics-column-suppressed {
		display: none;
	}
	.Lyrics .Lyrics-column-wrapped {
		display: block;
	}
}

@media screen and (max-device-width: 720px){
	.Lyrics-column span[title]:not(.NoTitlebox):hover {
		position: relative;
	}
	/* title="全员"自带class="NoTitlebox" */
	.Lyrics-column span[title]:not(.NoTitlebox):hover::before {
		content: attr(title);
		position: absolute;
		bottom: 100%;
		left: 0;
		background-color: white;
		white-space: nowrap;
		font-size: 13px;
		text-shadow: none;
		border: 1px #666 solid;
		box-sizing: border-box;
		padding: 1px 2px;
		box-shadow: 1px 1px 1px #ccc;
		color: black;
	}
}
/* [[Category:在模板名字空间下的CSS页面]] */