From 5f8f46d94870ff44b4ab3bce2939437b471f53d7 Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Sat, 2 Mar 2019 14:47:13 +0000 Subject: [PATCH] WIP help layout (#4) Moved css to docs folder; fleshing out English template, then will localize for Spanish overall --- docs/_layouts/default.html | 35 +++++++++++++++++++++++++------ docs/css/help.css | 43 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 6 deletions(-) create mode 100644 docs/css/help.css diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 1959b8a..dbb4702 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -3,16 +3,39 @@ - {{ page.title }} | PrayerTracker Help + {{ page.title }} « PrayerTracker Help + - +
-
PrayerTracker Help
+
PrayerTracker
+
Help
-
- {{ content }} -
+
+
+
+ Language: English • + Esta pagina en espaƱol +
+
+

{{ page.title }}

+
+ {{ content }} + + +
+
\ No newline at end of file diff --git a/docs/css/help.css b/docs/css/help.css new file mode 100644 index 0000000..f537ec4 --- /dev/null +++ b/docs/css/help.css @@ -0,0 +1,43 @@ +/** + * PrayerTracker Help styling + */ +.pt-content { + background-color: white; + padding: 0 .25em; +} +.pt-title-bar-home { + height: 2rem; +} +.pt-title-bar-left { + color: white; + font-size: 1.25rem; + font-weight: bold; + margin-left: .5rem; +} +.pt-title-bar-right { + color: white; + color: rgba(255, 255, 255, .75); + font-size: 1.1rem; + font-variant: small-caps; + margin-right: 1rem; + align-self: center; +} +h2 { + margin-top: 0; + padding-left: .5rem; + border-bottom: solid 1px #444; +} +.pt-close-window, .pt-help-index { + font-size: 1.25rem; +} +.pt-help-index { + display: none; +} +@media screen and (min-width:451px) { + .pt-close-window { + display: none; + } + .pt-help-index { + display: block; + } +}