Fallenchungus Wiki:Reference desk/styles.css

From Fallenchungus Wiki
Revision as of 21:28, 26 May 2025 by CapybaraKiller (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.rd-boxstyle {
	background-color: #f4f4f5;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	text-align: center;
	box-sizing: border-box;
}
.rd-mainheader {
	padding: .5em .5em 1em .5em;
	margin-bottom: 1.5em;
}
.rd-mainheader-heading {
	font-size: 180%;
	font-weight: bold;
	margin-top: 1em;
}
.rd-mainheader-contents {
	clear: both;
}
.rd-mainheader-top {
	text-align: left;
}
.rd-topics {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding: .5em 0;
}
.rd-topic {
	margin: .5em;
	min-width: 10em;
	display: flex;
	flex: 1 1 15em;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.rd-topic > div:nth-last-child(2) {
	font-weight: bold;
}
.rd-topic > div + div {
	margin-top: .5em;
}

@media screen {
	html.skin-theme-clientpref-night .rd-boxstyle {
		background-color: transparent;
	}
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .rd-boxstyle {
		background-color: transparent;
	}
}