dork.dev/stylesheet.css
2024-04-07 17:28:12 +00:00

40 lines
1 KiB
CSS

/* Let's keep it stupid, simple. ^^ */
* {
/* Make CSS sizing sane */
box-sizing: border-box; }
html {
font-family: "Monaspace Krypton", monospace;
/* Make the main text not solid black */
color: #333;
/* Let's not use solid white */
background: #fcfcfc; }
body {
/* Make the body a 80 character wide container */
width: 80ch;
/* Center the container within the viewport */
margin: 0 auto;
/* Give the lines an adequate amount of room to breathe. */
line-height: 1.4em; }
h1, h2, h3 {
/* More contrast with the headers than the main text */
color: #111; }
/* We want the footer to be like two columns, where the right columns are also right-aligned and the columns grow to share the space sanely. */
footer nav ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
column-count: 2;
gap: 0.5em 0.25em; }
footer nav ul li {
display: inline-block;
padding: 0;
margin: 0;
flex-grow: 1; }
footer nav ul li:nth-child(2) {
text-align: right; }