1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vdoc: use maps, enum-based categorization; fixes (#6659)

This commit is contained in:
Ned Palacios
2020-10-21 16:26:33 +08:00
committed by GitHub
parent 0e56b96bda
commit 5b1ab3b0bb
4 changed files with 305 additions and 299 deletions

View File

@@ -274,6 +274,9 @@ body {
word-break: break-all; /* IE11 */
word-break: break-word;
}
.doc-content > .doc-node.const:nth-child(2) {
padding-bottom: 0 !important;
}
.doc-content > .doc-node.const:not(:first-child) {
padding-top: 4rem;
}
@@ -417,7 +420,7 @@ pre, code, pre code {
background-color: #edf2f7;
background-color: var(--code-background-color);
border-radius: 0.25rem;
}
}
pre code {
direction: ltr;
text-align: left;
@@ -556,6 +559,9 @@ pre {
.doc-nav .content.hidden {
display: flex;
}
.doc-content > .doc-node.const:nth-child(2) {
padding-bottom: 0 !important;
}
.doc-content > .doc-node.const:not(:first-child) {
padding-top: 0;
}