/* mint theme :root { --glass: #EEEEEE77; --background: #EEE; --foreground: #333; --subtle-foreground: #888; --outline: #00000015; --accent: #209D6E; --subtle-accent: #209D6E30; --shadow: 0 4px 32px #03281A12; } */ /* martian theme */ :root { --glass: hsla(0, 20%, 7%, 0.5); --background: hsl(0, 20%, 7%); --foreground: hsl(0, 25%, 90%); --subtle-foreground: hsl(0, 35%, 55%); --outline: #FFFFFF10; --accent: hsl(0, 80%, 40%); --subtle-accent: hsla(0, 80%, 40%, 0.2); --shadow: 0 4px 32px #00000070; } * { box-sizing: border-box; scrollbar-color: var(--accent) transparent; } *::selection { background-color: var(--subtle-accent); } body { background: var(--background); color: var(--foreground); font-size: 10pt; font-family: monospace; margin: 0; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } h1 { font-size: 2em; font-weight: bold; border-bottom: 1px solid var(--outline); margin: 0.5em 0; padding-bottom: 0.2em; } h2 { font-size: 1.5em; font-weight: bold; margin: 1em 0; } h3 { font-size: 1em; font-weight: bold; margin: 1em 0; } #contentWrap, header, nav, footer { max-width: 90rem; margin: auto; } #stickyWrap { position: sticky; top: 0; transition: 0.2s box-shadow; z-index: 255; } #stickyWrap.lifted { background: var(--glass); backdrop-filter: blur(32px); box-shadow: var(--shadow); border-bottom: 1px solid var(--outline); } nav { padding: 1rem; } .buttonList { margin: 0; padding: 0; } .buttonList li { display: inline; } .buttonList li:not(:last-child) a { margin-right: 1em; } header { padding: 0 1rem; } #contentWrap { padding: 1rem; } @media screen and not (min-width: 66rem) { aside { margin-bottom: 1rem; } nav .buttonListWrap { position: relative; } nav .buttonListWrap .buttonList { overflow-x: auto; white-space: nowrap; scrollbar-width: thin; width: 100%; } nav .buttonListWrap::after { position: absolute; display: block; width: 1rem; height: 100%; top: 0; right: 0; content: ""; background-image: linear-gradient( to right, transparent 0%, var(--background) 100%); } } @media screen and (min-width: 66rem) { #contentWrap { display: grid; grid-gap: 1rem; grid-template-columns: 24rem auto; } nav { display: grid; grid-grid: 1rem; grid-template-columns: auto auto; } nav > .buttonListWrap:last-child { text-align: right; } } @media screen and (min-width: 80rem) { #contentWrap { grid-template-columns: 36rem auto; } } .files { border-collapse:collapse; border: none; width: 100%; } .files tr { display: grid; grid-template-columns: 30% auto 30%; } .files td { border: none; padding: 0; } .files td:last-child { text-align: right; } .files tr:not(:last-child) { border-bottom: 1px solid var(--outline); padding-bottom: 0.5rem; margin-bottom: 0.5rem; } footer { padding: 1rem; text-align: center; color: var(--subtle-foreground); } /* please leave this at the very bottom */ *:first-child { margin-top: 0 } *:last-child { margin-bottom: 0 }