From bf35707cec4f70538980b49602c2972c5fbbd3a9 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 18 Dec 2019 09:25:36 -0800 Subject: [PATCH] docs: switch to the "Hacker" theme which is darker refs: https://github.com/wez/wezterm/issues/77 --- docs/_config.yml | 2 +- docs/assets/css/style.scss | 31 ++++++++++++++++++++++++++----- docs/index.markdown | 2 +- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index 8d2d077f3..6f08a261a 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,4 +1,4 @@ -theme: jekyll-theme-primer +theme: jekyll-theme-hacker plugins: - jekyll-octicons - jekyll-sitemap diff --git a/docs/assets/css/style.scss b/docs/assets/css/style.scss index 38e777b89..0fc86dd7b 100644 --- a/docs/assets/css/style.scss +++ b/docs/assets/css/style.scss @@ -44,15 +44,23 @@ svg.octicon { margin-right: 0.25em; } -a.btn svg { + +a.btn svg.octicon { fill: white; + vertical-align: text-bottom; +} + +h2 svg.octicon { + fill: #eaeaea; + vertical-align: text-bottom; } #toc { + font-size: 0.8em; width: 250px; position: fixed; - background-color: #eee; - border: solid 1px #ddd; + background-color: #222; + border: solid 1px #111; padding: 1.1em; overflow-y: auto; max-height: 100%; @@ -62,11 +70,24 @@ a.btn svg { list-style: square; } -#toc ul li { +#toc ul { + margin-left: 0em; + padding-left: 1em; +} + +#toc li { margin-left: 1em; + padding-left: 0em; } #container { - margin-left: 250px; + margin-left: 300px; } +.container-lg { + padding: 1em; +} + +.text-right { + float: right; +} diff --git a/docs/index.markdown b/docs/index.markdown index cfde45152..db74a548f 100644 --- a/docs/index.markdown +++ b/docs/index.markdown @@ -17,7 +17,7 @@ layout: notoc Looking for a [configuration reference?](configuration.html) -![Screenshot](screenshots/two.png) +Screenshot *Screenshot of wezterm on macOS, running vim*