Template:Hatnote/styles.css: Difference between revisions

Template page
(Created page with ".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 ); }")
 
No edit summary
Tag: Reverted
Line 10: Line 10:
font-size: 0.875rem;
font-size: 0.875rem;
line-height: 1.4;
line-height: 1.4;
z-index: -100;
}
}



Revision as of 23:41, 12 February 2023

.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;
	z-index: -100;
}

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