318 lines
3.7 KiB
CSS
318 lines
3.7 KiB
CSS
html {
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
body {
|
|
text-rendering: optimizeLegibility;
|
|
font: 1.2rem/1.0 Lato,sans-serif;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
outline: none;
|
|
}
|
|
|
|
pre {
|
|
font-size: 1rem;
|
|
padding: 1rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
:not(pre)>code {
|
|
padding: 0 2px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.container {
|
|
max-width: 56rem;
|
|
margin: 2rem auto 12rem auto;
|
|
}
|
|
|
|
.copyright {
|
|
font: 1rem/1.5 Apparatus SIL,serif;
|
|
text-align: center;
|
|
}
|
|
|
|
.theme-select {
|
|
font-size: 1rem;
|
|
margin-bottom: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sidebar {
|
|
margin-top: 2px;
|
|
float: left;
|
|
width: 8rem;
|
|
text-align: right;
|
|
}
|
|
|
|
.sidebar .me {
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.sidebar .info {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.sidebar .contact-icons a {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.sidebar .contact-icons img {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.topbar {
|
|
display: table;
|
|
overflow: auto;
|
|
margin: auto;
|
|
margin-top: -0.5rem;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.topbar .me {
|
|
float: left;
|
|
height: 6.5rem;
|
|
width: auto;
|
|
}
|
|
|
|
.topbar .info {
|
|
float: left;
|
|
margin-top: -0.25rem;
|
|
margin-left: 1.5rem;
|
|
}
|
|
|
|
.topbar .contact-icons {
|
|
margin-left: 0.25rem;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.topbar .contact-icons a {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.topbar .contact-icons img {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.topbar .theme-select {
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.toc {
|
|
float: right;
|
|
padding: 0.75rem;
|
|
padding-top: 0;
|
|
margin-left: 0.75rem;
|
|
}
|
|
|
|
.toc ul {
|
|
padding-left: 1.2rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.toc li {
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.content p.metadata {
|
|
font: 1rem/1.0 Apparatus SIL,serif;
|
|
font-style: italic;
|
|
}
|
|
|
|
.content div.summary p {
|
|
margin-top: -0.5rem;
|
|
margin-left: 1rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
.content {
|
|
max-width: 36rem;
|
|
}
|
|
|
|
.content-wide {
|
|
max-width: none;
|
|
}
|
|
|
|
.content p {
|
|
font: 1.2rem/1.5 Apparatus SIL,serif;
|
|
}
|
|
|
|
.content ul {
|
|
padding-left: 1.1rem;
|
|
}
|
|
|
|
.content li {
|
|
font: 1.2rem/1.5 Apparatus SIL,serif;
|
|
}
|
|
|
|
.content img {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.content .aside {
|
|
display: inline;
|
|
float: left;
|
|
position: relative;
|
|
width: 8rem;
|
|
margin-left: -9rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.toclink:not(:hover) {
|
|
border-bottom: none;
|
|
}
|
|
|
|
@media screen and (min-width:36rem) {
|
|
.content {
|
|
margin-left: 10rem;
|
|
}
|
|
.topbar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width:36rem) {
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
background-color: #eee;
|
|
color: #000;
|
|
}
|
|
|
|
a {
|
|
color: #000;
|
|
border-bottom: 1px solid #000;
|
|
}
|
|
|
|
pre {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
:not(pre)>code {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
.toc {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
.content p.metadata {
|
|
color: #555;
|
|
}
|
|
|
|
body.dark {
|
|
background-color: #000;
|
|
color: #eee;
|
|
}
|
|
|
|
body.dark a {
|
|
color: #eee;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
body.dark pre {
|
|
background-color: #222;
|
|
}
|
|
|
|
body.dark :not(pre)>code {
|
|
background-color: #222;
|
|
}
|
|
|
|
body.dark .toc {
|
|
background-color: #222;
|
|
}
|
|
|
|
body.dark .content p.metadata {
|
|
color: #aaa;
|
|
}
|
|
|
|
body.dark .content img {
|
|
filter: brightness(75%);
|
|
}
|
|
|
|
body.dark .contact-icons img {
|
|
filter: invert(1);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body.light {
|
|
background-color: #eee;
|
|
color: #000;
|
|
}
|
|
|
|
body.light a {
|
|
color: #000;
|
|
border-bottom: 1px solid #000;
|
|
}
|
|
|
|
body.light pre {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
body.light :not(pre)>code {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
body.light .toc {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
body.light .content p.metadata {
|
|
color: #555;
|
|
}
|
|
|
|
body.light .contact-icons img {
|
|
filter: none;
|
|
}
|
|
|
|
body.light .content img {
|
|
filter: none;
|
|
}
|
|
|
|
body {
|
|
background-color: #000;
|
|
color: #eee;
|
|
}
|
|
|
|
a {
|
|
color: #eee;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
pre {
|
|
background-color: #222;
|
|
}
|
|
|
|
:not(pre)>code {
|
|
background-color: #222;
|
|
}
|
|
|
|
.toc {
|
|
background-color: #222;
|
|
}
|
|
|
|
.content p.metadata {
|
|
color: #aaa;
|
|
}
|
|
|
|
.content img {
|
|
filter: brightness(75%);
|
|
}
|
|
|
|
.contact-icons img {
|
|
filter: invert(1);
|
|
}
|
|
}
|