From 1b267d48405b6e24fbb197cf27f9e42264c66598 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Thu, 12 Mar 2020 18:17:47 +1100 Subject: 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 Co-authored-by: skullY Co-authored-by: Ryan --- docs/qmk_custom_light.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 docs/qmk_custom_light.css (limited to 'docs/qmk_custom_light.css') diff --git a/docs/qmk_custom_light.css b/docs/qmk_custom_light.css new file mode 100644 index 0000000000..07b26ecec9 --- /dev/null +++ b/docs/qmk_custom_light.css @@ -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; +} -- cgit v1.2.3