Re-write to cleanup all styles and such (#158)
* Rewrite and re-style the wiki * Fix links * Fix mobile width being wrong * Make the anticheat warning pretty * Fix root pages * Fix code blocks and cleanup some other bits * Fix search * Fix android and iOS sidebar links
This commit is contained in:
1 parent
17e1be5177
commit
09025ac3cb
93 files changed
+595
-3676
No files matched your search
+147
@@ -0,0 +1,147 @@
|
||||
/**
|
||||
* Syntax highlighting styles
|
||||
* Based on the Darcula theme for JetBrains IDEs
|
||||
* https://github.com/shadowfacts/RougeDarcula
|
||||
* Author: Shadowfacts
|
||||
*/
|
||||
.highlight {
|
||||
background-color: #2B2B2B;
|
||||
margin-bottom: 15px;
|
||||
color: #A9B7C6; }
|
||||
.highlight pre {
|
||||
background-color: #2B2B2B; }
|
||||
.highlight pre code {
|
||||
background-color: #2B2B2B; }
|
||||
.highlight .lineno {
|
||||
color: #888888; }
|
||||
.highlighter-rouge .highlight {
|
||||
background: #2B2B2B; }
|
||||
.highlight .c {
|
||||
color: #808080; }
|
||||
.highlight .err {
|
||||
color: #BC3F3C; }
|
||||
.highlight .k {
|
||||
color: #CC7832; }
|
||||
.highlight .o {
|
||||
color: #A9B7C6; }
|
||||
.highlight .cm {
|
||||
color: #808080; }
|
||||
.highlight .cp {
|
||||
color: #808080;
|
||||
font-style: italic; }
|
||||
.highlight .c1 {
|
||||
color: #808080; }
|
||||
.highlight .cs {
|
||||
color: #629755;
|
||||
font-style: italic; }
|
||||
.highlight .gd {
|
||||
color: #BBBBBB;
|
||||
background-color: #450505;
|
||||
text-decoration: line-through; }
|
||||
.highlight .gd .x {
|
||||
color: #BBBBBB;
|
||||
background-color: #450505;
|
||||
text-decoration: line-through; }
|
||||
.highlight .ge {
|
||||
font-style: italic; }
|
||||
.highlight .gr {
|
||||
color: #BC3F3C; }
|
||||
.highlight .gh {
|
||||
color: #999; }
|
||||
.highlight .gi {
|
||||
background-color: #364135; }
|
||||
.highlight .gi .x {
|
||||
background-color: #364135; }
|
||||
.highlight .go {
|
||||
color: #A9B7C6; }
|
||||
.highlight .gp {
|
||||
color: #007F00; }
|
||||
.highlight .gs {
|
||||
font-weight: bold; }
|
||||
.highlight .gu {
|
||||
color: #aaa; }
|
||||
.highlight .gt {
|
||||
color: #a00; }
|
||||
.highlight .kc {
|
||||
color: #CC7832; }
|
||||
.highlight .kd {
|
||||
color: #CC7832; }
|
||||
.highlight .kn {
|
||||
color: #CC7832; }
|
||||
.highlight .kp {
|
||||
color: #CC7832;
|
||||
font-weight: bold; }
|
||||
.highlight .kr {
|
||||
color: #CC7832; }
|
||||
.highlight .kt {
|
||||
color: #CC7832; }
|
||||
.highlight .m {
|
||||
color: #6897BB; }
|
||||
.highlight .s {
|
||||
color: #6A8759; }
|
||||
.highlight .n {
|
||||
color: #A9B7C6; }
|
||||
.highlight .na {
|
||||
color: #A9B7C6; }
|
||||
.highlight .nb {
|
||||
color: #CC7832; }
|
||||
.highlight .nc {
|
||||
color: #A9B7C6; }
|
||||
.highlight .no {
|
||||
color: #9876AA; }
|
||||
.highlight .ni {
|
||||
color: #9876AA; }
|
||||
.highlight .ne {
|
||||
color: #A9B7C6; }
|
||||
.highlight .nf {
|
||||
color: #A9B7C6; }
|
||||
.highlight .nn {
|
||||
color: #A9B7C6; }
|
||||
.highlight .nt {
|
||||
color: #E8BF6A; }
|
||||
.highlight .nv {
|
||||
color: #A9B7C6; }
|
||||
.highlight .ow {
|
||||
color: #A9B7C6; }
|
||||
.highlight .mf {
|
||||
color: #6897BB; }
|
||||
.highlight .mh {
|
||||
color: #6897BB; }
|
||||
.highlight .mi {
|
||||
color: #6897BB; }
|
||||
.highlight .mo {
|
||||
color: #6897BB; }
|
||||
.highlight .sb {
|
||||
color: #d14; }
|
||||
.highlight .sc {
|
||||
color: #6A8759; }
|
||||
.highlight .sd {
|
||||
color: #6A8759; }
|
||||
.highlight .s2 {
|
||||
color: #6A8759; }
|
||||
.highlight .se {
|
||||
color: #CC7832; }
|
||||
.highlight .sh {
|
||||
color: #6A8759; }
|
||||
.highlight .si {
|
||||
color: #6A8759; }
|
||||
.highlight .sx {
|
||||
color: #6A8759; }
|
||||
.highlight .sr {
|
||||
background-color: #364135; }
|
||||
.highlight .s1 {
|
||||
color: #6A8759; }
|
||||
.highlight .ss {
|
||||
color: #6A8759; }
|
||||
.highlight .bp {
|
||||
color: #CC7832; }
|
||||
.highlight .vc {
|
||||
color: #A9B7C6; }
|
||||
.highlight .vg {
|
||||
color: #A9B7C6; }
|
||||
.highlight .vi {
|
||||
color: #A9B7C6; }
|
||||
.highlight .il {
|
||||
color: #6897BB; }
|
||||
.highlight .p {
|
||||
color: #A9B7C6; }
|
||||
@@ -0,0 +1,57 @@
|
||||
:root {
|
||||
--bs-body-font-family: 'Montserrat', sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
flex-direction: column;
|
||||
padding-top: 3.75rem;
|
||||
}
|
||||
|
||||
.sticky-top {
|
||||
top: 3.75rem;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
max-height: calc(100vh - 3.75rem);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.sidebar a {
|
||||
text-decoration: none;
|
||||
--bs-link-color-rgb: var(--bs-body-color);
|
||||
}
|
||||
|
||||
.sidebar a:hover {
|
||||
--bs-link-color-rgb: var(--bs-link-hover-color-rgb);
|
||||
}
|
||||
|
||||
#page-content {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
h1[id]::before, h2[id]::before, h3[id]::before {
|
||||
content: '';
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 0;
|
||||
height: 3.75rem;
|
||||
margin-top: -3.75rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 2rem;
|
||||
padding-bottom: 0.5rem;
|
||||
border-bottom: 1px solid var(--bs-secondary-color);
|
||||
}
|
||||
|
||||
div.highlight {
|
||||
margin: 1rem;
|
||||
padding: 0.5rem;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.highlight pre {
|
||||
margin: 0;
|
||||
}
|
||||
Reference in new issue
Block a user