From c31e148ea8d48a4e72d384efe95c9371db7899ed Mon Sep 17 00:00:00 2001 From: Cynthia Lin Date: Tue, 26 Dec 2017 10:51:38 -0800 Subject: [PATCH] user docs: Add links back to homepage to the bottom of the sidebars. --- static/styles/portico.css | 16 ++++++++++++++++ templates/zerver/api/main.html | 1 + templates/zerver/help/main.html | 1 + 3 files changed, 18 insertions(+) diff --git a/static/styles/portico.css b/static/styles/portico.css index 6ae2c40b13..d56b857b93 100644 --- a/static/styles/portico.css +++ b/static/styles/portico.css @@ -182,6 +182,22 @@ body { opacity: 0.5; } +.help .sidebar h1.home-link { + font-size: 1em; +} + +.help .sidebar h1.home-link a::before { + display: inline-block; + font: normal normal normal 14px/1 FontAwesome; + font-size: inherit; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + + content: "\f0d9"; + margin-right: 10px; +} + .help .sidebar ul { margin: 5px 0px 10px 12px; } diff --git a/templates/zerver/api/main.html b/templates/zerver/api/main.html index 1e0664a83e..ad5f64b97c 100644 --- a/templates/zerver/api/main.html +++ b/templates/zerver/api/main.html @@ -7,6 +7,7 @@ diff --git a/templates/zerver/help/main.html b/templates/zerver/help/main.html index b07e9da67f..fc4d218bc4 100644 --- a/templates/zerver/help/main.html +++ b/templates/zerver/help/main.html @@ -7,6 +7,7 @@