2020-07-21 10:50:35 +02:00
|
|
|
/* Main
|
|
|
|
-------------------------------------------------- */
|
|
|
|
.main {
|
|
|
|
position: relative;
|
|
|
|
min-height: calc(100vh - var(--header-height) - var(--footer-height));
|
|
|
|
max-width: calc(var(--main-width) + var(--gap) * 2);
|
2020-09-20 08:24:41 +02:00
|
|
|
margin: auto;
|
2020-07-21 10:50:35 +02:00
|
|
|
padding: var(--gap);
|
|
|
|
}
|
|
|
|
|
2020-07-23 10:04:53 +02:00
|
|
|
@media screen and (max-width: 400px) {
|
|
|
|
.main {
|
|
|
|
min-height: calc(100vh - var(--header-height) - var(--footer-height) - 24px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-21 10:50:35 +02: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);
|
2020-09-20 13:32:35 +02:00
|
|
|
padding: 0 16px;
|
2020-07-21 10:50:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination .next {
|
|
|
|
margin-left: auto;
|
2020-07-24 18:33:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.toc {
|
2020-07-24 20:23:25 +02:00
|
|
|
margin-bottom: 40px;
|
|
|
|
border: 1px solid var(--border);
|
2020-07-26 17:13:40 +02:00
|
|
|
border-radius: var(--radius);
|
2020-07-24 20:23:25 +02:00
|
|
|
padding: .5em;
|
|
|
|
}
|
|
|
|
|
2020-09-15 19:17:10 +02:00
|
|
|
.toc details summary {
|
|
|
|
cursor: zoom-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc details[open] summary {
|
|
|
|
cursor: zoom-out;
|
|
|
|
}
|
|
|
|
|
2020-07-24 20:23:25 +02:00
|
|
|
.toc .details {
|
|
|
|
display: inline;
|
2020-07-24 18:33:13 +02:00
|
|
|
font-weight: 500;
|
2020-09-16 09:10:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.toc blockquote {
|
|
|
|
border-left: 2px solid;
|
|
|
|
margin: 20px;
|
|
|
|
padding: 10px 40px;
|
2020-09-19 13:33:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.toc li ul {
|
|
|
|
margin-left: var(--gap);
|
2020-09-20 13:32:35 +02:00
|
|
|
}
|