view src/site.css @ 68:32be9862e1cc default tip

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 15 Sep 2024 10:52:25 -0600
parents 84dd3edd03e9
children
line wrap: on
line source

* {
 	box-sizing: border-box;
}

body {
	font-family: Sans-Serif;
	margin: 0;
}

a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

div[header] {
	font-size: 14px;
	background-color: #ddd;
	padding: 8px 3%;
	display: flex;
	justify-content: space-between;
}

[content] {
	margin-left: 3%;
	margin-right: 3%;
	margin-bottom: 2em;
}

ul[links] {
	margin-top: 32px;
	list-style-type: none;
	padding-left: 0;
}
ul[links] li {
	margin: 12px 0;
}

img[src="external_link.svg"] {
	height: 12px;
}

code {
	background-color: #DDD;
	white-space: pre-wrap;
	word-wrap: break-word;
	padding: 2px;
}
code[block] {
	display: block;
	padding: 1em;
	margin-top: 1em;
	margin-bottom: 1em;
}
code[block]:first-line {
	line-height: 0;
}
span[pre] {
	white-space: pre;
}

div[toc] ul {
	list-style-type: none;
}
div[toc] > ul {
	padding-left: 0;
}
div[toc] > ul > li {
	margin-bottom: 16px;
}
div[heading] {
	display: flex;
	justify-content: space-between;
	margin-top: 36px;
}
div[heading] > * {
	margin: 0;
}
div[heading] > a {
	font-size: 14px;
}