模板:Hatnote/styles.css

来自NebulaeWiki
Kuina讨论 | 贡献2023年9月18日 (一) 21:24的版本 (创建页面,内容为“.hatnote { display: flex; align-items: center; padding: 10px 15px; margin-top: 0.6rem; margin-bottom: 0.8rem; background: var( --color-surface-2 ); border-radius: var( --border-radius--medium ); color: var( --color-base--subtle ); font-size: 0.875rem; line-height: 1.4; } .hatnote-icon img { width: 14px; height: auto; margin-right: 10px; opacity: var( --opacity-icon-base ); } →‎Dark theme:​ html.skin-citizen-dark .hatnote-icon img { filter: in…”
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
.hatnote {
	display: flex;
	align-items: center;
	padding: 10px 15px;
	margin-top: 0.6rem;
	margin-bottom: 0.8rem;
	background: var( --color-surface-2 );
	border-radius: var( --border-radius--medium );
	color: var( --color-base--subtle );
	font-size: 0.875rem;
	line-height: 1.4;
}

.hatnote-icon img {
	width: 14px;
	height: auto;
	margin-right: 10px;
	opacity: var( --opacity-icon-base );
}

/* Dark theme */
html.skin-citizen-dark .hatnote-icon img {
	filter: invert( 1 );
}