From 5b292790365515a265eb4e57db6ded6dff150dd5 Mon Sep 17 00:00:00 2001 From: achmizs Date: Mon, 28 Jan 2019 23:41:09 +0000 Subject: [PATCH] Revamped edit quick reference --- papyrus.css | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/papyrus.css b/papyrus.css index 454fe97..9063d8d 100644 --- a/papyrus.css +++ b/papyrus.css @@ -401,6 +401,47 @@ body { } } +/*========================*/ +/*= Edit quick reference =*/ +/*========================*/ + +#wikitext .quickref { + display: flex; + flex-flow: row wrap; + margin: 1em 0; + color: #444; + border-style: solid; + border-color: #bbb; + border-width: 1px 0; + hyphens: none; +} + +#wikitext .quickref p { + flex: 1 1 50%; + padding: 0.5em 0.25em; + margin: 0; +} +#wikitext .quickref p:nth-last-of-type(n+2) { + border-bottom: 1px solid #ddd; +} +#wikitext .quickref p:nth-of-type(2n) { + text-align: right; +} + +#wikitext .quickref strong { + color: #000; +} +#wikitext .quickref code.escaped { + font-weight: bold; + color: #b00; + padding: 0 1px; + text-shadow: 0.5px 0.5px 0.5px #f88; + font-size: 1.1em; +} +#wikitext .quickref code.escaped + code.escaped { + margin: 0 0 0 -2px; +} + /**********/ /* FRAMES */ /**********/