Template:Mdn.css

From pronounmail wiki
Revision as of 16:01, 19 June 2025 by Leah (talk | contribs)
Jump to navigation Jump to search
:root {
	color-scheme: light dark;
	--font: Inter, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	--inner-width: 1440px;
}

.wrapper {
	max-width: var(--inner-width);
	margin: auto;
	
	display: grid;
	grid-gap: 3rem;
	gap: 3rem;
	grid-template-areas: "sidebar main toc";
	grid-template-columns: minmax(0,1fr) minmax(0,2.5fr) minmax(0,15rem);
	font-family: var(--font) !important;
	color: light-dark(rgb(27, 27, 27), #fff);
	
	line-height: 1.75;
	font-size: 1rem;
}

*, *::before, *::after {
	box-sizing: border-box;
}

.main-bit {
	grid-area: main;
}

#firstHeading {
	display: none;
}

#content {
	border: none;
	background: transparent;
	padding: 0;
}

body {
	background-color: light-dark(#fff, rgb(27, 27, 27));
}

.baseline p {
	background-color: rgb(230, 244, 234);
	display: flex;
	gap: .5rem;
	align-items: center;
	padding: 1rem;
	
	.text {
		font-size: 1rem;
		letter-spacing: 0;
		line-height: 1.5;
		margin: 0;
		padding: .375rem 0;
		display: block;
		b { font-weight: 600; }
	}
}

.baseline-img img {
	height: 2.25rem;
	width: 2.3125rem;
}

.nav {
	padding: 2rem calc((100% - var(--inner-width)) / 2);
	display: flex;
	height: 4rem;
	align-items: center;
	gap: 1rem;
	
	a {
		color: rgb(78 78 78);
	}
	
	.selected a {
		color: rgb(133, 133, 133);
	}
}
.logo img {
	height: 1.5rem;
	aspect-ratio: 512 / 77;
	width: auto;
}