@import "colors", "code", "syntax";
html {
background: var(--bg_s);
color: var(--fg);
font-size: 14pt;
font-family: monospace;
display: flex;
flex-direction: column;
}
::selection {
color: var(--bg);
background-color: var(--fg);
}
ul.simple {
list-style: none;
}
a {
color: var(--aqua);
&:visited {
color: var(--aqua-dim);
}
text-decoration: none;
&:hover {
text-decoration: underline;
}
&:active {
background: var(--orange-dim);
}
}
footer {
color: var(--gray);
font-size: 0.8rem;
}
body {
height: calc(100vh - 1rem);
width: calc(100vw - 4rem);
max-width: 900px;
display: flex;
flex-direction: column;
margin: 0 2rem 1rem;
line-height: 1.4;
align-self: center;
& > header > nav {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
column-gap: 1rem;
& > * {
display: flex;
align-items: center;
}
& > span {
margin-right: auto;
}
& > ul {
margin-left: auto;
column-gap: 1rem;
list-style: none;
padding-left: 0;
flex-wrap: wrap;
justify-content: space-around;
& > li {
display: flex;
align-items: center;
}
}
a,
a:visited {
font-size: 1.2rem;
color: var(--gray);
font-weight: bold;
&.active {
color: var(--orange-dim);
}
}
}
article,
aside,
main,
nav,
section {
& > header {
& > hgroup {
& > :first-child {
color: var(--orange);
margin-bottom: 0;
}
& > :not(:first-child) {
color: var(--gray-dim);
margin-top: 0;
margin-bottom: 0;
}
}
& > nav {
text-align: left;
}
}
& > footer {
& > * {
display: inline;
}
}
}
address {
dl {
display: grid;
grid-template-columns: max-content auto;
}
dt {
grid-column-start: 1;
}
dd {
margin-left: 1rem;
grid-column-start: 2;
}
}
.breadcrumb > ul {
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
li:not(:first-child)::before {
display: inline-block;
content: "::";
}
}
li > article > header > hgroup > :first-child a {
color: var(--blue);
&:visited {
color: var(--blue-dim);
}
}
& > footer {
text-align: center;
margin-top: auto;
}
}