add nim lang

This commit is contained in:
shadawck
2023-07-06 15:53:46 +02:00
parent 8e56902e28
commit 2e2dc716ea
12 changed files with 320 additions and 261 deletions

View File

@@ -8,16 +8,19 @@
main {
position: relative;
}
.sidetoc {
margin-left: auto;
margin-right: auto;
left: calc(100% + (var(--content-max-width))/4 - 140px);
position: absolute;
}
.pagetoc {
position: fixed;
width: 200px;
}
.pagetoc a {
border-left: 1px solid var(--sidebar-bg);
color: var(--fg) !important;
@@ -28,13 +31,15 @@
text-align: left;
text-decoration: none;
}
.pagetoc a:hover,
.pagetoc a.active {
background: var(--sidebar-bg);
color: var(--sidebar-fg) !important;
}
.pagetoc .active {
background: var(--sidebar-bg);
color: var(--sidebar-fg);
}
}
}