2018-10-29 21:49:22 +01:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2018-10-15 23:37:28 +02:00
|
|
|
body {
|
|
|
|
font-size: 18px;
|
2018-10-17 21:06:31 +02:00
|
|
|
line-height: 1.5;
|
2018-10-15 23:37:28 +02:00
|
|
|
color: #333;
|
2018-11-02 18:07:44 +01:00
|
|
|
background: #ffffff;
|
2018-10-15 23:37:28 +02:00
|
|
|
font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif," "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
|
|
|
|
/* font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; */
|
|
|
|
}
|
|
|
|
|
2018-11-02 18:07:44 +01:00
|
|
|
main {
|
|
|
|
margin: 40px auto 80vh;
|
|
|
|
max-width: 1000px;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
2018-11-01 18:39:04 +01:00
|
|
|
#content {
|
|
|
|
}
|
2018-11-02 18:07:44 +01:00
|
|
|
|
|
|
|
.toc {
|
2018-11-01 18:39:04 +01:00
|
|
|
height: 100%;
|
|
|
|
width: 300px;
|
2018-11-02 18:07:44 +01:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2018-11-01 18:39:04 +01:00
|
|
|
padding-left: 20px;
|
|
|
|
padding-top: 20px;
|
2018-11-02 18:07:44 +01:00
|
|
|
background-color: rgba(255,255,255,0.95);
|
|
|
|
transition: all 300ms ease-in-out;
|
|
|
|
transform: translateX(100%);
|
|
|
|
}
|
|
|
|
.toc.open {
|
|
|
|
box-shadow: 0 0 5px #c8c8c8;
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
@media (min-width: 1000px) {
|
|
|
|
#content {
|
|
|
|
margin-right: 300px;
|
|
|
|
}
|
|
|
|
.toc {
|
|
|
|
right: calc((100% - 1000px) / 2);
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
.toc-menu {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.toc .is-active-link::before {
|
|
|
|
background-color: #0074D9;
|
2018-11-01 18:39:04 +01:00
|
|
|
}
|
|
|
|
.is-position-fixed {
|
|
|
|
position: fixed !important;
|
|
|
|
top: 0;
|
|
|
|
}
|
2018-11-02 18:07:44 +01:00
|
|
|
.toc-menu {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 2;
|
|
|
|
margin: .25rem;
|
|
|
|
padding: .25rem;
|
|
|
|
background-color: #f4f4f4;
|
|
|
|
line-height: 1;
|
|
|
|
border-radius: .125rem;
|
|
|
|
border-color: #999;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px;
|
2018-11-01 18:39:04 +01:00
|
|
|
}
|
|
|
|
|
2018-10-17 21:06:31 +02:00
|
|
|
p {
|
|
|
|
margin-bottom: 1.4rem;
|
|
|
|
}
|
|
|
|
|
2018-11-01 18:39:04 +01:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2018-10-17 21:06:31 +02:00
|
|
|
line-height: 1.2;
|
|
|
|
}
|
2018-11-01 18:39:04 +01:00
|
|
|
h1:focus, h2:focus, h3:focus, h4:focus, h5:focus, h6:focus {
|
|
|
|
/* fix weird outline when clicking a TOC link */
|
|
|
|
outline: 0;
|
|
|
|
}
|
2018-10-17 21:06:31 +02:00
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin-top: 0;
|
|
|
|
font-size: 4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 2.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
font-variant: small-caps;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2018-11-01 18:39:04 +01:00
|
|
|
h6 {
|
|
|
|
font-size: 1.125rem;
|
|
|
|
font-variant: small-caps;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2018-10-17 21:06:31 +02:00
|
|
|
small {
|
|
|
|
font-size: 0.8rem;
|
2018-10-15 23:37:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #0074D9;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
/* font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace; */
|
2018-10-17 21:06:31 +02:00
|
|
|
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
color: #B10DC9;
|
2018-10-15 23:37:28 +02:00
|
|
|
}
|
2018-10-17 21:06:31 +02:00
|
|
|
|
2018-10-15 23:37:28 +02:00
|
|
|
pre {
|
|
|
|
display: block;
|
|
|
|
color: #212529;
|
|
|
|
overflow: auto;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside {
|
|
|
|
position: relative;
|
|
|
|
padding: .75rem 1.25rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: .25rem;
|
|
|
|
color: #0c5460;
|
|
|
|
background-color: #d1ecf1;
|
|
|
|
border-color: #bee5eb;
|
|
|
|
}
|
2018-10-17 21:06:31 +02:00
|
|
|
|
2018-10-15 23:37:28 +02:00
|
|
|
aside p:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2018-10-17 21:06:31 +02:00
|
|
|
|
2018-10-15 23:37:28 +02:00
|
|
|
aside p:last-child {
|
|
|
|
margin-bottom: 0;
|
2018-10-17 21:06:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
ol ol {
|
|
|
|
list-style-type: lower-alpha;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toc ul {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toc>ul {
|
|
|
|
padding-left: 0;
|
2018-10-29 21:49:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
table tr {
|
|
|
|
border-top: 1px solid #dee2e6;
|
|
|
|
}
|
|
|
|
table thead tr {
|
|
|
|
border-bottom: 2px solid #dee2e6;
|
|
|
|
}
|
|
|
|
table tbody tr:nth-child(odd) {
|
|
|
|
background-color: rgba(0,0,0,.05);
|
|
|
|
}
|