Template:Documentation/styles.css: Difference between revisions

From HKVFS Wiki
Jump to navigation Jump to search
(Fixes phab:T369874. Please see talk page and do not revert without discussion. See also meta:User:Jon_(WMF)/Edit_for_dark_mode_support)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 05:51, 11 September 2024

.template-documentation {
	margin-top: 1em;
	clear: both;
	border: 2px dotted #666;
	padding: 0.6em;
	background-color: #ecfcf4;
}
.template-documentation:after {
	content: "";
	display: block;
	clear: both;
}
.template-documentation-heading {
	padding-bottom: 3px;
	border-bottom: 1px solid #a2a9b1;
	margin-bottom: 1ex;
}
.template-documentation-title {
	font-size: 150%;
}
.template-documentation-transcludedfrom {
	font-size: smaller;
	font-style: italic;
}


@media screen {
    html.skin-theme-clientpref-night .template-documentation {
	    background-color: #0b1e1c;
	}
}


@media screen and ( prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .template-documentation {
        background-color: #0b1e1c;
    }
}