@import url("fonts/Inter-4.1/web/inter.css"); body { font-family: Inter, sans-serif; max-width: 50em; margin: auto; padding: 0 1em; background-color: #181818; color: white; } nav#top { background-color: black; border-radius: 0.25rem; } nav#top ul { display: flex; flex-wrap: wrap; list-style-type: none; padding: 0; } nav#top ul li { padding: 0.5em 0; border-radius: 0.25rem; } nav#top ul li a { color: white; text-decoration: none; padding: 0.5em 1em; } nav#top ul li a:hover { background-color: white; color: black; } nav#top ul li#active { border-radius: 0.25rem; background-color: rgb(194, 79, 30); } nav#top ul li#active a:hover { border-radius: 0.25rem; background-color: rgb(132, 40, 0); color: white; } div#main ul { padding-left: 0; list-style: none; } div#main ul li { border: 1px solid #303030; } div#main ul li a { display: block; color: white; text-decoration: none; padding: 0.5em; } div#main a:hover { background-color: white; color: black; text-decoration: revert; } h1 { /* position: sticky; */ /* top: 0; */ /* background: inherit; */ padding: 0.5em 0; } .commit-hash { font-family: monospace; } #blob { display: grid; column-gap: 1.5em; grid-template-columns: 3em auto; font-family: monospace; } #blob a.line-anchor { color: grey; text-decoration: none; text-align: right; } #blob a.line-anchor:target { color: white; background-color: grey; } #blob a.line-anchor:hover { color: skyblue; background-color: inherit; text-decoration: none; } #blob span.line { white-space: preserve-spaces; } footer { margin-top: 1em; text-align: center; } @media (max-width: 400px) { body { padding: 0; } #blob { column-gap: 1em; grid-template-columns: max-content auto; } }