2020-06-06 11:43:50 +03:00
|
|
|
:root {
|
|
|
|
--background-color: #fff;
|
|
|
|
--link-color: #2779bd;
|
2020-06-07 02:23:56 +03:00
|
|
|
--text-color: #000;
|
2020-06-06 11:43:50 +03:00
|
|
|
--ref-symbol-color: #dae1e7;
|
|
|
|
--ref-symbol-hover-color: #b8c2cc;
|
|
|
|
--title-bottom-line-color: #f1f5f8;
|
|
|
|
--footer-top-line-color: #f1f5f8;
|
2020-06-07 02:23:56 +03:00
|
|
|
--footer-text-color: #616161;
|
2020-06-06 11:43:50 +03:00
|
|
|
--code-signature-border-color: #a0aec0;
|
|
|
|
--menu-background-color: #4b6c88;
|
2020-06-07 02:23:56 +03:00
|
|
|
--menu-text-color: #fff;
|
2020-06-06 11:43:50 +03:00
|
|
|
--menu-indent-line-color: #3b3b3b66;
|
|
|
|
--menu-indent-line-active-color: #00000066;
|
|
|
|
--menu-scrollbar-color: #a0aec0;
|
|
|
|
--menu-toggle-icon-color: #fff;
|
|
|
|
--menu-toggle-icon-hover-color: #00000044;
|
|
|
|
--menu-search-background-color: #00000044;
|
2020-06-08 00:01:44 +03:00
|
|
|
--menu-search-font-color: #fff;
|
2020-06-07 02:23:56 +03:00
|
|
|
--toc-text-color: #2779bd;
|
2020-06-08 00:01:44 +03:00
|
|
|
--toc-indicator-color: #4299e1;
|
2020-06-06 17:12:07 +03:00
|
|
|
--code-default-text-color: #5c6e74;
|
|
|
|
--code-background-color: #edf2f7;
|
|
|
|
--code-keyword-text-color: #2b6cb0;
|
|
|
|
--code-builtin-text-color: #0a0a0a;
|
|
|
|
--code-function-text-color: #319795;
|
|
|
|
--code-comment-text-color: #93a1a1;
|
|
|
|
--code-punctuation-text-color: #999999;
|
|
|
|
--code-symbol-text-color: #702459;
|
|
|
|
--code-operator-text-color: #a67f59;
|
2020-06-06 11:43:50 +03:00
|
|
|
}
|
|
|
|
:root.dark .dark-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
:root:not(.dark) .light-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark body {
|
|
|
|
--background-color: #1a202c;
|
2020-06-07 02:23:56 +03:00
|
|
|
--text-color: #fff;
|
2020-06-06 11:43:50 +03:00
|
|
|
--link-color: #90cdf4;
|
|
|
|
--ref-symbol-color: #2d3748;
|
|
|
|
--ref-symbol-hover-color: #4a5568;
|
|
|
|
--title-bottom-line-color: #2d3748;
|
|
|
|
--footer-top-line-color: #2d3748;
|
2020-06-07 02:23:56 +03:00
|
|
|
--footer-text-color: #bbd3e1;
|
2020-06-06 11:43:50 +03:00
|
|
|
--code-signature-border-color: #4a5568;
|
|
|
|
--menu-background-color: #2d3748;
|
2020-06-07 02:23:56 +03:00
|
|
|
--menu-text-color: #fff;
|
2020-06-06 11:43:50 +03:00
|
|
|
--menu-indent-line-color: #4a5568;
|
|
|
|
--menu-indent-line-active-color: #90cdf4;
|
|
|
|
--menu-scrollbar-color: #4a5568;
|
|
|
|
--menu-toggle-icon-color: #fff;
|
|
|
|
--menu-search-background-color: #4a5568;
|
2020-06-08 00:01:44 +03:00
|
|
|
--menu-search-font-color: #fff;
|
2020-06-07 02:23:56 +03:00
|
|
|
--toc-text-color: #90cdf4;
|
2020-06-08 00:01:44 +03:00
|
|
|
--toc-indicator-color: #4299e1;
|
2020-06-06 17:12:07 +03:00
|
|
|
--code-default-text-color: #cbd5e0;
|
|
|
|
--code-background-color: #2d3748;
|
|
|
|
--code-builtin-text-color: #68d391;
|
|
|
|
--code-keyword-text-color: #63b3ed;
|
|
|
|
--code-function-text-color: #4fd1c5;
|
|
|
|
--code-comment-text-color: #a0aec0;
|
|
|
|
--code-punctuation-text-color: #a0aec0;
|
|
|
|
--code-symbol-text-color: #ed64a6;
|
2020-06-06 11:43:50 +03:00
|
|
|
}
|
2020-06-06 08:56:17 +03:00
|
|
|
body {
|
|
|
|
margin: 0;
|
2020-06-06 17:12:07 +03:00
|
|
|
font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
2020-06-06 11:43:50 +03:00
|
|
|
background-color: #fff;
|
|
|
|
background-color: var(--background-color);
|
|
|
|
color: #000;
|
2020-06-07 02:23:56 +03:00
|
|
|
color: var(--text-color);
|
2020-06-08 16:32:21 +03:00
|
|
|
overflow-y: scroll;
|
2020-06-06 08:56:17 +03:00
|
|
|
}
|
2020-06-06 11:43:50 +03:00
|
|
|
|
2020-06-05 00:50:59 +03:00
|
|
|
/** Reset for menus */
|
2020-06-06 08:56:17 +03:00
|
|
|
.doc-nav ul,
|
|
|
|
.doc-toc ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
|
2020-06-06 17:12:07 +03:00
|
|
|
/* Left nav */
|
2020-06-05 00:50:59 +03:00
|
|
|
.doc-nav {
|
2020-06-06 08:56:17 +03:00
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
display: flex;
|
|
|
|
background-color: #4b6c88;
|
|
|
|
background-color: var(--menu-background-color);
|
|
|
|
color: #fff;
|
2020-06-07 02:23:56 +03:00
|
|
|
color: var(--menu-text-color);
|
2020-06-06 08:56:17 +03:00
|
|
|
flex-direction: column;
|
|
|
|
overflow-y: auto;
|
|
|
|
height: 100vh;
|
|
|
|
z-index: 10;
|
|
|
|
scrollbar-width: thin;
|
|
|
|
scrollbar-color: #a0aec0 transparent;
|
|
|
|
scrollbar-color: var(--menu-scrollbar-color) transparent;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
2020-06-06 08:56:17 +03:00
|
|
|
width: 8px;
|
2020-06-07 02:24:12 +03:00
|
|
|
height: 8px;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
*::-webkit-scrollbar-track {
|
2020-06-06 08:56:17 +03:00
|
|
|
background: transparent;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
2020-06-06 08:56:17 +03:00
|
|
|
background-color: #a0aec0;
|
|
|
|
background-color: var(--menu-scrollbar-color);
|
|
|
|
border: 3px solid transparent;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
.doc-nav li {
|
2020-06-06 08:56:17 +03:00
|
|
|
line-height: 1.8;
|
|
|
|
font-weight: 300;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
.doc-nav .content.show {
|
2020-06-06 08:56:17 +03:00
|
|
|
display: flex;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
.doc-nav .content.hidden {
|
2020-06-06 08:56:17 +03:00
|
|
|
display: none;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
.doc-nav #toggle-menu {
|
2020-06-06 08:56:17 +03:00
|
|
|
cursor: pointer;
|
|
|
|
padding: 0.3rem;
|
|
|
|
fill: #fff;
|
|
|
|
fill: var(--menu-toggle-icon-color);
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
.doc-nav #toggle-menu:active {
|
2020-06-06 08:56:17 +03:00
|
|
|
background-color: #00000044;
|
|
|
|
background-color: var(--menu-toggle-icon-hover-color);
|
|
|
|
border-radius: 5rem;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container {
|
2020-06-06 08:56:17 +03:00
|
|
|
position: relative;
|
|
|
|
/* IE11 */
|
|
|
|
position: sticky;
|
|
|
|
position: -webkit-sticky;
|
|
|
|
top: 0;
|
|
|
|
background-color: #4b6c88;
|
|
|
|
background-color: var(--menu-background-color);
|
|
|
|
z-index: 10;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading {
|
2020-06-06 08:56:17 +03:00
|
|
|
display: flex;
|
2020-06-08 16:32:21 +03:00
|
|
|
padding: 0 1rem;
|
2020-06-06 08:56:17 +03:00
|
|
|
height: 56px;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading > .module {
|
2020-06-06 08:56:17 +03:00
|
|
|
font-size: 1.6rem;
|
|
|
|
font-weight: 500;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading > .toggle-version-container {
|
2020-06-06 08:56:17 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading > .toggle-version-container > #dark-mode-toggle {
|
2020-06-06 08:56:17 +03:00
|
|
|
cursor: pointer;
|
|
|
|
fill: #fff;
|
|
|
|
display: flex;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading > .toggle-version-container > #dark-mode-toggle > svg {
|
2020-06-06 08:56:17 +03:00
|
|
|
width: 1.2rem;
|
|
|
|
height: 1.2rem;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading > #search {
|
2020-06-06 08:56:17 +03:00
|
|
|
margin-top: 1rem;
|
|
|
|
border: none;
|
|
|
|
border-radius: 0.2rem;
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
outline: none;
|
|
|
|
background-color: #00000044;
|
|
|
|
background-color: var(--menu-search-background-color);
|
|
|
|
color: #fff;
|
2020-06-07 02:23:56 +03:00
|
|
|
color: var(--menu-search-text-color);
|
2020-06-06 08:56:17 +03:00
|
|
|
margin-left: -0.6rem;
|
|
|
|
margin-right: -0.6rem;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading > #search::placeholder {
|
2020-06-06 08:56:17 +03:00
|
|
|
color: #edf2f7;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading > #search:-ms-input-placeholder {
|
2020-06-06 08:56:17 +03:00
|
|
|
color: #edf2f7;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .content {
|
2020-06-06 08:56:17 +03:00
|
|
|
padding: 0 2rem 2rem 2rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .content > ul > li.active {
|
2020-06-06 08:56:17 +03:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .content > ul > li.open ul {
|
2020-06-06 08:56:17 +03:00
|
|
|
display: initial;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .content > ul > li.open > .menu-row > .dropdown-arrow {
|
2020-06-06 08:56:17 +03:00
|
|
|
transform: initial;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .content > ul > li > .menu-row {
|
2020-06-06 08:56:17 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .content > ul > li > .menu-row > .dropdown-arrow {
|
2020-06-06 08:56:17 +03:00
|
|
|
transform: rotate(-90deg);
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
|
|
|
margin-left: calc(-18px - 0.3rem);
|
|
|
|
margin-right: 0.3rem;
|
|
|
|
cursor: pointer;
|
|
|
|
fill: #fff;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .content > ul > li > ul {
|
2020-06-06 08:56:17 +03:00
|
|
|
margin: 0.4rem 0;
|
|
|
|
display: none;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .content > ul > li > ul > li {
|
2020-06-06 08:56:17 +03:00
|
|
|
border-color: #ffffff66;
|
|
|
|
border-color: var(--menu-indent-line-color);
|
|
|
|
border-left-width: 1.7px;
|
|
|
|
border-left-style: solid;
|
|
|
|
padding-left: 0.7rem;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .content > ul > li > ul > li.active {
|
2020-06-06 08:56:17 +03:00
|
|
|
border-color: #00000066;
|
|
|
|
border-color: var(--menu-indent-line-active-color);
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .content a {
|
2020-06-06 08:56:17 +03:00
|
|
|
color: #fff;
|
2020-06-07 02:23:56 +03:00
|
|
|
color: var(--menu-text-color);
|
2020-06-06 08:56:17 +03:00
|
|
|
text-decoration: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .content a:hover {
|
2020-06-06 08:56:17 +03:00
|
|
|
text-decoration: underline;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
|
2020-06-06 17:12:07 +03:00
|
|
|
/* Main content */
|
2020-06-05 00:50:59 +03:00
|
|
|
.doc-container {
|
2020-06-06 08:56:17 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
margin-top: 56px;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
.doc-content {
|
2020-06-06 11:43:50 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-06-08 16:32:21 +03:00
|
|
|
padding: 1rem;
|
2020-06-06 08:56:17 +03:00
|
|
|
overflow: hidden;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
2020-06-10 12:13:42 +03:00
|
|
|
.doc-content p {
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
2020-06-05 00:50:59 +03:00
|
|
|
.doc-content a {
|
2020-06-07 02:23:56 +03:00
|
|
|
color: #2779bd;
|
2020-06-06 08:56:17 +03:00
|
|
|
color: var(--link-color);
|
|
|
|
}
|
2020-06-08 16:32:21 +03:00
|
|
|
.doc-content > .doc-node {
|
|
|
|
padding: 5rem 0 2rem 0;
|
|
|
|
margin-top: -4rem;
|
2020-06-10 12:13:42 +03:00
|
|
|
overflow: hidden;
|
|
|
|
word-break: break-all; /* IE11 */
|
|
|
|
word-break: break-word;
|
2020-06-06 08:56:17 +03:00
|
|
|
}
|
2020-06-07 13:27:42 +03:00
|
|
|
.doc-content > .doc-node.const:not(:first-child) {
|
2020-06-19 11:36:45 +03:00
|
|
|
padding-top: 4rem;
|
2020-06-07 13:27:42 +03:00
|
|
|
}
|
|
|
|
.doc-content > .doc-node.const:not(:last-child) {
|
2020-06-19 11:36:45 +03:00
|
|
|
padding-bottom: 2rem;
|
2020-06-07 13:27:42 +03:00
|
|
|
}
|
|
|
|
.doc-content > .timestamp {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
color: #b8c2cc;
|
|
|
|
color: var(--timestamp-color);
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-content > .doc-node > .title {
|
2020-06-06 08:56:17 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
border-bottom: 1px solid #f1f5f8;
|
|
|
|
border-bottom: 1px solid var(--title-bottom-line-color);
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-content > .doc-node > .title > .link {
|
2020-06-08 16:32:21 +03:00
|
|
|
display: flex;
|
2020-06-06 08:56:17 +03:00
|
|
|
margin-left: auto;
|
|
|
|
fill: #dae1e7;
|
|
|
|
fill: var(--ref-symbol-color);
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-content > .doc-node > .title > .link:hover {
|
2020-06-07 02:23:56 +03:00
|
|
|
fill: #b8c2cc;
|
2020-06-06 08:56:17 +03:00
|
|
|
fill: var(--ref-symbol-hover-color);
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-content > .doc-node h1 {
|
2020-06-06 08:56:17 +03:00
|
|
|
font-size: 2.5rem;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-content > .doc-node .signature {
|
2020-06-06 08:56:17 +03:00
|
|
|
border-color: #a0aec0;
|
|
|
|
border-color: var(--code-signature-border-color);
|
|
|
|
border-left-width: 3px;
|
|
|
|
border-left-style: solid;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-content > .doc-node > ul > li .task-list-item-checkbox {
|
2020-06-06 08:56:17 +03:00
|
|
|
margin-right: 0.5rem;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-content > .doc-node > .title h1,
|
|
|
|
.doc-content > .doc-node > .title h2,
|
|
|
|
.doc-content > .doc-node > .title h3,
|
|
|
|
.doc-content > .doc-node > .title h4,
|
|
|
|
.doc-content > .doc-node > .title h5,
|
|
|
|
.doc-content > .doc-node > .title h6 {
|
2020-06-06 08:56:17 +03:00
|
|
|
font-weight: 400;
|
2020-06-08 16:32:21 +03:00
|
|
|
padding-top: 0.6rem 0;
|
2020-06-06 08:56:17 +03:00
|
|
|
margin: 0;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-content > .doc-node > .title h1 a,
|
|
|
|
.doc-content > .doc-node > .title h2 a,
|
|
|
|
.doc-content > .doc-node > .title h3 a,
|
|
|
|
.doc-content > .doc-node > .title h4 a,
|
|
|
|
.doc-content > .doc-node > .title h5 a,
|
|
|
|
.doc-content > .doc-node > .title h6 a {
|
2020-06-06 08:56:17 +03:00
|
|
|
text-decoration: none;
|
|
|
|
color: #dae1e7;
|
|
|
|
color: var(--ref-symbol-color);
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-content > .doc-node > .title h1 a:hover,
|
|
|
|
.doc-content > .doc-node > .title h2 a:hover,
|
|
|
|
.doc-content > .doc-node > .title h3 a:hover,
|
|
|
|
.doc-content > .doc-node > .title h4 a:hover,
|
|
|
|
.doc-content > .doc-node > .title h5 a:hover,
|
|
|
|
.doc-content > .doc-node > .title h6 a:hover {
|
2020-06-07 02:23:56 +03:00
|
|
|
color: #b8c2cc;
|
2020-06-06 08:56:17 +03:00
|
|
|
color: var(--ref-symbol-hover-color);
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
2020-06-07 02:23:56 +03:00
|
|
|
.doc-content > .footer {
|
2020-06-06 11:43:50 +03:00
|
|
|
padding-top: 1rem;
|
|
|
|
margin-top: auto;
|
|
|
|
bottom: 1rem;
|
2020-06-07 02:23:56 +03:00
|
|
|
color: 616161;
|
|
|
|
color: var(--footer-text-color);
|
|
|
|
border-color: #f1f5f8;
|
|
|
|
border-color: var(--footer-top-line-color);
|
|
|
|
border-top-style: solid;
|
|
|
|
border-top-width: 1px;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
font-weight: 500;
|
2020-06-06 11:43:50 +03:00
|
|
|
}
|
|
|
|
|
2020-06-06 17:12:07 +03:00
|
|
|
/* Right menu */
|
2020-06-05 00:50:59 +03:00
|
|
|
.doc-toc {
|
2020-06-06 08:56:17 +03:00
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
overflow-y: auto;
|
2020-06-08 16:32:21 +03:00
|
|
|
padding: 1rem 1rem 0 1rem;
|
2020-06-06 08:56:17 +03:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
scrollbar-width: none;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
.doc-toc::-webkit-scrollbar {
|
2020-06-06 08:56:17 +03:00
|
|
|
display: none;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
.doc-toc li {
|
2020-06-06 08:56:17 +03:00
|
|
|
line-height: 1.5;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
.doc-toc a {
|
2020-06-06 08:56:17 +03:00
|
|
|
color: #2779bd;
|
2020-06-07 02:23:56 +03:00
|
|
|
color: var(--toc-text-color);
|
2020-06-06 08:56:17 +03:00
|
|
|
font-size: 0.9rem;
|
|
|
|
font-weight: 600;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
2020-06-08 00:01:44 +03:00
|
|
|
border-left-width: 2px;
|
|
|
|
border-left-style: solid;
|
|
|
|
border-color: transparent;
|
|
|
|
padding-left: 0.4rem;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
.doc-toc a:hover {
|
2020-06-06 08:56:17 +03:00
|
|
|
text-decoration: underline;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
2020-06-08 00:01:44 +03:00
|
|
|
.doc-toc a.active {
|
|
|
|
border-color: #4299e1;
|
|
|
|
border-color: var(--toc-indicator-color);
|
|
|
|
}
|
2020-06-05 00:50:59 +03:00
|
|
|
.doc-toc li ul {
|
2020-06-06 08:56:17 +03:00
|
|
|
margin: 0.2rem 0 0.2rem;
|
|
|
|
font-size: 0.7rem;
|
|
|
|
list-style: none;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
.doc-toc li ul a {
|
2020-06-06 08:56:17 +03:00
|
|
|
font-weight: 400;
|
2020-06-08 00:01:44 +03:00
|
|
|
padding-left: 0.8rem;
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
|
2020-06-06 17:12:07 +03:00
|
|
|
/* Code highlight */
|
2020-06-08 14:11:55 +03:00
|
|
|
pre, code, pre code {
|
2020-06-06 17:12:07 +03:00
|
|
|
color: #5c6e74;
|
|
|
|
color: var(--code-default-text-color);
|
2020-06-08 14:11:55 +03:00
|
|
|
font-size: 0.9rem;
|
2020-06-06 17:12:07 +03:00
|
|
|
text-shadow: none;
|
|
|
|
font-family: monospace;
|
2020-06-10 12:13:42 +03:00
|
|
|
background-color: #edf2f7;
|
|
|
|
background-color: var(--code-background-color);
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
}
|
|
|
|
pre code {
|
2020-06-06 17:12:07 +03:00
|
|
|
direction: ltr;
|
|
|
|
text-align: left;
|
|
|
|
white-space: pre;
|
|
|
|
word-spacing: normal;
|
|
|
|
word-break: normal;
|
|
|
|
line-height: 1.5;
|
|
|
|
-moz-tab-size: 4;
|
|
|
|
-o-tab-size: 4;
|
|
|
|
tab-size: 4;
|
|
|
|
-webkit-hyphens: none;
|
|
|
|
-moz-hyphens: none;
|
|
|
|
-ms-hyphens: none;
|
|
|
|
hyphens: none;
|
|
|
|
display: block;
|
|
|
|
overflow-x: auto;
|
2020-06-10 12:13:42 +03:00
|
|
|
padding: 1rem;
|
2020-06-06 17:12:07 +03:00
|
|
|
}
|
2020-06-10 12:13:42 +03:00
|
|
|
code {
|
|
|
|
padding: 0.2rem;
|
|
|
|
vertical-align: middle;
|
2020-06-07 02:24:12 +03:00
|
|
|
}
|
2020-06-08 14:11:55 +03:00
|
|
|
pre {
|
2020-06-06 17:12:07 +03:00
|
|
|
overflow: auto;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.namespace {
|
|
|
|
opacity: .7;
|
|
|
|
}
|
|
|
|
.token.comment {
|
|
|
|
color: #93a1a1;
|
|
|
|
color: var(--code-comment-text-color)
|
|
|
|
}
|
|
|
|
.token.punctuation {
|
|
|
|
color: #999999;
|
|
|
|
color: var(--code-punctuation-text-color);
|
|
|
|
}
|
|
|
|
.token.number,
|
|
|
|
.token.symbol {
|
|
|
|
color: #702459;
|
|
|
|
color: var(--code-symbol-text-color);
|
|
|
|
}
|
|
|
|
.token.string,
|
|
|
|
.token.char,
|
|
|
|
.token.builtin {
|
|
|
|
color: #38a169;
|
|
|
|
color: var(--code-builtin-text-color);
|
|
|
|
}
|
|
|
|
.token.operator,
|
|
|
|
.token.entity,
|
|
|
|
.token.url,
|
|
|
|
.language-css .token.string,
|
|
|
|
.style .token.string {
|
|
|
|
color: #a67f59;
|
|
|
|
color: var(--code-operator-text-color);
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
.token.boolean,
|
|
|
|
.token.keyword {
|
|
|
|
color: #2b6cb0;
|
|
|
|
color: var(--code-keyword-text-color);
|
|
|
|
}
|
|
|
|
.token.function {
|
|
|
|
color: #319795;
|
|
|
|
color: var(--code-function-text-color);
|
|
|
|
}
|
|
|
|
|
2020-06-05 00:50:59 +03:00
|
|
|
/* Medium screen and up */
|
|
|
|
@media (min-width: 768px) {
|
2020-06-06 08:56:17 +03:00
|
|
|
.doc-container {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
.doc-content {
|
2020-06-08 14:11:55 +03:00
|
|
|
font-size: 0.95rem;
|
2020-06-06 08:56:17 +03:00
|
|
|
flex: 1;
|
2020-06-08 16:32:21 +03:00
|
|
|
padding: 1rem 2rem;
|
2020-06-06 08:56:17 +03:00
|
|
|
}
|
|
|
|
.doc-toc {
|
|
|
|
position: relative;
|
|
|
|
/* IE11 */
|
|
|
|
position: sticky;
|
|
|
|
position: -webkit-sticky;
|
|
|
|
align-self: flex-start;
|
|
|
|
top: 56px;
|
|
|
|
height: auto;
|
|
|
|
height: 100vh;
|
|
|
|
min-width: 200px;
|
|
|
|
width: auto;
|
|
|
|
max-width: 300px;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-toc > ul {
|
2020-06-06 08:56:17 +03:00
|
|
|
padding-bottom: 1rem;
|
|
|
|
}
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1023px) {
|
2020-06-06 08:56:17 +03:00
|
|
|
.doc-nav.hidden {
|
|
|
|
height: auto;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading {
|
2020-06-06 08:56:17 +03:00
|
|
|
align-items: center;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading > .toggle-version-container {
|
2020-06-06 08:56:17 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
padding: 0 1rem;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading > #search {
|
2020-06-06 08:56:17 +03:00
|
|
|
display: none;
|
|
|
|
}
|
2020-06-05 00:50:59 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1024px) {
|
2020-06-06 08:56:17 +03:00
|
|
|
.doc-nav {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
.doc-nav #toggle-menu {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading {
|
2020-06-06 08:56:17 +03:00
|
|
|
height: auto;
|
2020-06-08 16:32:21 +03:00
|
|
|
padding: 1rem 2rem;
|
2020-06-06 08:56:17 +03:00
|
|
|
flex-direction: column-reverse;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading > .toggle-version-container {
|
2020-06-06 08:56:17 +03:00
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 0.2rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
2020-06-06 17:12:07 +03:00
|
|
|
.doc-nav > .heading-container > .heading > .toggle-version-container > #dark-mode-toggle {
|
2020-06-06 08:56:17 +03:00
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.doc-nav .content.show,
|
|
|
|
.doc-nav .content.hidden {
|
|
|
|
display: flex;
|
|
|
|
}
|
2020-06-19 11:36:45 +03:00
|
|
|
.doc-content > .doc-node.const:not(:first-child) {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
.doc-content > .doc-node.const:not(:last-child) {
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
}
|
2020-06-06 08:56:17 +03:00
|
|
|
.doc-container {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-left: 300px;
|
|
|
|
}
|
2020-06-08 16:32:21 +03:00
|
|
|
.doc-node {
|
|
|
|
padding-top: 1rem !important;
|
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
2020-06-06 08:56:17 +03:00
|
|
|
.doc-toc {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|