2020-07-21 09:50:35 +01:00
|
|
|
/* Main
|
|
|
|
-------------------------------------------------- */
|
|
|
|
.main {
|
|
|
|
position: relative;
|
|
|
|
min-height: calc(100vh - var(--header-height) - var(--footer-height));
|
|
|
|
max-width: calc(var(--main-width) + var(--gap) * 2);
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding: var(--gap);
|
|
|
|
}
|
|
|
|
|
2020-07-23 09:04:53 +01:00
|
|
|
@media screen and (max-width: 400px) {
|
|
|
|
.main {
|
|
|
|
min-height: calc(100vh - var(--header-height) - var(--footer-height) - 24px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-21 09:50:35 +01:00
|
|
|
.page-header {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-header h1 {
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination a {
|
|
|
|
color: var(--theme);
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 36px;
|
|
|
|
background: var(--primary);
|
|
|
|
border-radius: calc(36px / 2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination .prev {
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination .next {
|
|
|
|
margin-left: auto;
|
|
|
|
padding-left: 18px;
|
|
|
|
padding-right: 16px;
|
2020-07-24 17:33:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.toc {
|
2020-07-24 19:23:25 +01:00
|
|
|
margin-bottom: 40px;
|
|
|
|
border: 1px solid var(--border);
|
2020-07-26 16:13:40 +01:00
|
|
|
border-radius: var(--radius);
|
2020-07-24 19:23:25 +01:00
|
|
|
padding: .5em;
|
|
|
|
}
|
|
|
|
|
2020-09-15 18:17:10 +01:00
|
|
|
.toc details summary {
|
|
|
|
cursor: zoom-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc details[open] summary {
|
|
|
|
cursor: zoom-out;
|
|
|
|
}
|
|
|
|
|
2020-07-24 19:23:25 +01:00
|
|
|
.toc .details {
|
|
|
|
display: inline;
|
2020-07-24 17:33:13 +01:00
|
|
|
font-weight: 500;
|
2020-09-16 08:10:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.toc blockquote {
|
|
|
|
border-left: 2px solid;
|
|
|
|
margin: 20px;
|
|
|
|
padding: 10px 40px;
|
2020-09-19 12:33:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.toc li ul {
|
|
|
|
margin-left: var(--gap);
|
|
|
|
}
|