1
0
Fork 0

Fix darkmode (#8393)

* Rearrange the custom CSS a bit.

* fix css name

* add missing quote

* Fix up dark mode rendering. (#8392)

* Fix up dark mode rendering.

* Update index.html

* Fix up code blocks

* Fix code in page toc

* Update docs/qmk_custom_dark.css

Co-Authored-By: Ryan <fauxpark@gmail.com>

Co-authored-by: skullY <skullydazed@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
Nick Brassel 2020-03-12 18:17:47 +11:00 committed by GitHub
parent 32d03eef90
commit 1b267d4840
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 1 deletions

30
docs/qmk_custom_light.css Normal file
View file

@ -0,0 +1,30 @@
.sidebar-toggle {
position: absolute;
top: 0;
bottom: auto;
left: 0;
}
.search {
margin-top: 40px;
}
.markdown-section h2 {
padding-top: 0.25rem;
}
.markdown-section h3 {
margin-top: 0.25rem;
}
.sidebar, .sidebar-nav {
line-height: 1.5em !important;
}
.markdown-section ul ul {
margin: 0;
}
.markdown-section pre {
padding: 0;
}