summaryrefslogtreecommitdiff
path: root/style.css
blob: 8ec840092f896f7324f06ad05f0f975f3b05f688 (plain)
body {
	max-width: 70ch;
	margin: auto;
	padding-left: 20px;
	padding-right: 20px;
	line-height: 1.5;

	font-display: swap;
	font-size: 12pt;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-feature-settings: "liga";

	--dark-red: #623a46;
	--red: #8f6370;
	--light-red: #bf8f9d;

	--dark-orange: #623e29;
	--orange: #8f6752;
	--light-orange: #be947d;

	--dark-yellow: #4f481f;
	--yellow: #7a7349;
	--light-yellow: #a7a074;

	--dark-green: #2f5136;
	--green: #587c5f;
	--light-green: #84a98b;

	--dark-sky: #145154;
	--sky: #447c7f;
	--light-sky: #71aaad;

	--dark-blue: #2e4a67;
	--blue: #577594;
	--light-blue: #82a2c3;

	--dark-purple: #4d4063;
	--purple: #776a90;
	--light-purple: #a496bf;

	--white: #efedf4;
	--dark-white: #ceccd3;
	--lighter-gray: #afadb3;
	--light-gray: #908e94;
	--gray: #727077;
	--dark-gray: #56545a;
	--darker-gray: #3b393f;
	--light-black: #222126;
	--black: #0c0a0f;
}

h1 {
	font-size: 2.0rem;
	font-weight: 700;
}

h2 {
	font-size: 1.5rem;
	font-weight: 600;
}

h3 {
	font-size: 1.25rem;
	font-weight: 600;
}

h4 {
	font-size: 1.125rem;
	font-weight: 600;
}

h5 {
	font-size: 1rem;
	font-weight: 600;
}

h5 {
	font-size: 0.875rem;
	font-weight: 600;
}

h1,h2,h3,h4,h5,h6 {
	margin-block-start: 1.5em;
	margin-block-end: 0.5em;
	line-height: 1.2;
}

p {
	margin-block-end: 1em;
}

code {
	font-size: 85%;
	padding-block: 2px;
	padding-inline: 3pt;
	border-radius: 4px;
	font-family: "Fira Code", monospace;
	white-space: break-spaces;
}

pre {
	margin-inline: 1rem;
	padding: 0.5rem;
	border-radius: 8px;
	overflow-x: auto;

	font-size: 10pt;
	font-family: "Fira Code", monospace;
}

ul,ol {
	margin-block-end: 1em;
}

li {
	margin-block-end: 0.25em;
}

.nav {
	margin: 18pt 0 18pt 0;
	padding: 3px 15px;
	border-width: 2px;
}

.nav nav {
	display: inline-block;
}

.nav menu {
	display: inline-block;
	list-style-type: none;
	padding-left: 0;
}

.nav li {
	display: inline-block;
}

.nav__title {
	display: inline-block;
	font-size: 18pt;
	margin-right: 18pt;
}

.nav__button {
	display: inline-block;
	text-decoration: none;
	margin-right: 3px;
	border-width: 3px;
	border-style: solid;
	padding: 8px;
}

.screen-reader-focusable {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.screen-reader-focusable:focus {
	position: unset;
	left: unset;
	top: unset;
	width: unset;
	height: unset;
	overflow: unset;
}