181 lines
2.6 KiB
CSS
181 lines
2.6 KiB
CSS
:root {
|
|
--glass: #EEEEEE77;
|
|
--background: #EEE;
|
|
--foreground: #333;
|
|
--subtle-foreground: #888;
|
|
--outline: #00000015;
|
|
--accent: #209D6E;
|
|
--subtle-accent: #209D6E30;
|
|
--shadow: 0 4px 32px #03281A12;
|
|
}
|
|
|
|
* {
|
|
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, #mainTabs, 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 a {
|
|
margin-right: 1em;
|
|
}
|
|
|
|
header {
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
#contentWrap {
|
|
padding: 1rem;
|
|
}
|
|
|
|
@media screen and not (min-width: 60rem) {
|
|
aside {
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 60rem) {
|
|
#contentWrap {
|
|
display: grid;
|
|
grid-gap: 1rem;
|
|
grid-template-columns: 24rem auto;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 80rem) {
|
|
#contentWrap {
|
|
grid-template-columns: 36rem auto;
|
|
}
|
|
}
|
|
|
|
.tabs {
|
|
padding: 1rem 1rem 0 1rem;
|
|
position: relative;
|
|
}
|
|
|
|
.tabs::after {
|
|
position: absolute;
|
|
display: block;
|
|
width: 1rem;
|
|
height: 100%;
|
|
top: 0;
|
|
right: 1rem;
|
|
content: "";
|
|
background-image: linear-gradient(to right, transparent 0%, var(--background) 100%);
|
|
}
|
|
|
|
.tabs ul {
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
scrollbar-width: thin;
|
|
width: 100%;
|
|
}
|
|
|
|
.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 }
|