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
@@ -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