2023-02-28 16:59:26 +00:00
|
|
|
.apidocs,
|
|
|
|
.guide {
|
2023-02-18 00:04:20 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-rows: 1fr;
|
|
|
|
grid-template-columns: 250px 1fr;
|
|
|
|
@media only screen and (max-width: $mobile) {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
& > nav {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-02-19 20:17:13 +00:00
|
|
|
& > div.doc {
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
2023-03-01 09:15:30 +00:00
|
|
|
@media (min-width: 1200px) {
|
|
|
|
grid-template-columns: 1fr 1000px 1fr;
|
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
& > nav,
|
|
|
|
& > .doc {
|
|
|
|
grid-row: 1;
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
& > nav {
|
2023-02-19 20:17:13 +00:00
|
|
|
background-color: $gray2;
|
2023-02-18 00:04:20 +00:00
|
|
|
padding: 0;
|
|
|
|
grid-column: 1;
|
2023-02-28 16:59:26 +00:00
|
|
|
header {
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 0.6rem 0.9rem;
|
|
|
|
border-bottom: 1px solid $gray4;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
li {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
justify-content: stretch;
|
|
|
|
transition: all 100ms;
|
2023-02-28 16:59:26 +00:00
|
|
|
font-size: 14px;
|
|
|
|
&.active {
|
|
|
|
pointer-events: none;
|
|
|
|
background-color: $gray5;
|
|
|
|
a {
|
|
|
|
color: $teal11;
|
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
flex: 1;
|
2023-02-28 16:59:26 +00:00
|
|
|
padding: 0.6rem 1rem;
|
|
|
|
color: $teal12;
|
|
|
|
text-decoration: none;
|
|
|
|
&:first-of-type {
|
|
|
|
padding-top: 0.8rem;
|
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
a:hover {
|
2023-02-28 16:59:26 +00:00
|
|
|
color: $teal11;
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& > .doc {
|
|
|
|
grid-column: 2;
|
2023-02-19 20:17:13 +00:00
|
|
|
padding: 1rem 2rem;
|
2023-02-18 00:04:20 +00:00
|
|
|
}
|
|
|
|
.monotitle {
|
|
|
|
font-family: "Iosevka Web", monospace;
|
|
|
|
}
|
|
|
|
.reference {
|
|
|
|
.api {
|
|
|
|
padding-bottom: 15px;
|
|
|
|
.tag {
|
|
|
|
background-color: #5699e1;
|
|
|
|
color: rgb(239, 245, 249);
|
|
|
|
font-size: 12px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 5px;
|
|
|
|
border-radius: 8px;
|
|
|
|
&.rpc {
|
|
|
|
background-color: #8e56e1;
|
|
|
|
}
|
|
|
|
&.event {
|
|
|
|
background-color: #018937;
|
|
|
|
}
|
|
|
|
&.history {
|
|
|
|
background-color: #037f88;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.schema {
|
|
|
|
margin-top: 1rem;
|
2023-02-18 12:18:01 +00:00
|
|
|
code > ul:first-of-type > li > blockquote {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
blockquote {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
color: $gray9;
|
|
|
|
&::before {
|
|
|
|
content: "// ";
|
|
|
|
}
|
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
.nameblock {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-02-18 00:27:11 +00:00
|
|
|
.kind.array,
|
|
|
|
.kind.object,
|
|
|
|
.kind.dictionary {
|
|
|
|
color: $grass12;
|
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
li {
|
|
|
|
list-style-type: none;
|
|
|
|
& > code > .nameblock {
|
|
|
|
display: inline-flex;
|
2023-02-18 12:02:00 +00:00
|
|
|
padding-right: 0.5rem;
|
2023-02-18 00:04:20 +00:00
|
|
|
& > .name {
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: '"';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-18 00:27:11 +00:00
|
|
|
.dict {
|
|
|
|
display: inline;
|
|
|
|
.key {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
.element {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2023-02-18 00:04:20 +00:00
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
margin-left: 2rem;
|
|
|
|
}
|
|
|
|
.name {
|
|
|
|
color: $yellow11;
|
|
|
|
}
|
|
|
|
.kind {
|
|
|
|
color: $grass10;
|
|
|
|
}
|
|
|
|
}
|
2023-03-01 09:15:30 +00:00
|
|
|
|
|
|
|
.doc {
|
|
|
|
h2 {
|
|
|
|
border-bottom: 1px solid $gray5;
|
|
|
|
padding-bottom: 0.4rem;
|
|
|
|
margin-top: 2rem;
|
|
|
|
}
|
2023-03-01 10:18:16 +00:00
|
|
|
|
|
|
|
p {
|
|
|
|
line-height: 1.5;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pages {
|
|
|
|
}
|
2023-03-01 09:15:30 +00:00
|
|
|
}
|