From 12251e07228123d103921d458288eb6c052e1d27 Mon Sep 17 00:00:00 2001
From: dragonwocky
Date: Tue, 31 Mar 2020 20:49:27 +1100
Subject: [PATCH] docs: remove weird line spacing
---
README.md | 4 ++--
docs/docs.css | 9 ++++-----
docs/index.html | 10 ++++------
3 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index d56840b..313b96c 100644
--- a/README.md
+++ b/README.md
@@ -64,8 +64,8 @@ to add these to the web version, copy lines 43 - 87 from `user.css` into your cs
you can now reload a window with `F5`.
- **toggle all notion windows to/from the tray**: `CmdOrCtrl+Shift+A` by default.
- to set your own toggle hotkey, open `customiser.py` and change line 16 (`hotkey = 'CmdOrCtrl+Shift+A'`)
- to your preference. you will need to run or re-run `customiser.py` afterwards.
+to set your own toggle hotkey, open `customiser.py` and change line 16 (`hotkey = 'CmdOrCtrl+Shift+A'`)
+to your preference. you will need to run or re-run `customiser.py` afterwards.
### tray
diff --git a/docs/docs.css b/docs/docs.css
index 20da200..2d39555 100644
--- a/docs/docs.css
+++ b/docs/docs.css
@@ -313,17 +313,16 @@ aside .mark a {
border: 1px solid var(--border);
}
.wrapper .documentative code {
- padding: 0.5em;
+ font-size: 0.8em;
background-color: var(--code);
- border-radius: 5px;
overflow-x: auto;
position: relative;
display: block;
font-family: 'Source Code Pro', monospace;
}
.wrapper .documentative *:not(pre) > code {
- line-height: 2.5em;
- font-size: 0.75em;
+ padding: 0.275em 0.35em;
+ border-radius: 2px;
display: inline;
}
.wrapper .documentative pre {
@@ -331,8 +330,8 @@ aside .mark a {
}
.wrapper .documentative pre code {
padding: 1.8em;
+ border-radius: 5px;
position: static;
- font-size: 0.8em;
}
.wrapper .documentative pre code::before {
position: absolute;
diff --git a/docs/index.html b/docs/index.html
index 60145c8..8cb2486 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -79,14 +79,12 @@ ones that actually look as if they're part of notion.
hotkeys
-reload window: in addition to the built-in CmdOrCtrl+R
reload,
-you can now reload a window with F5
.
-
-toggle all notion windows to/from the tray: CmdOrCtrl+Shift+A
by default.
+- reload window: in addition to the built-in
CmdOrCtrl+R
reload,
+you can now reload a window with F5
.
+- toggle all notion windows to/from the tray:
CmdOrCtrl+Shift+A
by default.
+
to set your own toggle hotkey, open customiser.py
and change line 16 (hotkey = 'CmdOrCtrl+Shift+A'
)
to your preference. you will need to run or re-run customiser.py
afterwards.
-
-