From 13f822787783fa7a16e16d7468969054b7293e6c Mon Sep 17 00:00:00 2001 From: Martin Jorn Rogalla Date: Tue, 24 Feb 2015 22:04:49 +0100 Subject: [PATCH] Implemented the "Improve this page" feature. #3495 Created an "Improve this page" link for all the documentation headers. The feature uses the fa-pencil icon of font awesome. Improvement over #3504(closed). See issue #3495 for more information. Signed-off-by: Martin Jorn Rogalla --- site/_layouts/docs.html | 3 +++ site/_sass/_font-awesome.scss | 3 +++ site/_sass/_style.scss | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/site/_layouts/docs.html b/site/_layouts/docs.html index a0a8a5c1..d4d08026 100644 --- a/site/_layouts/docs.html +++ b/site/_layouts/docs.html @@ -9,6 +9,9 @@ layout: default
+

{{ page.title }}

{{ content }} {% include section_nav.html %} diff --git a/site/_sass/_font-awesome.scss b/site/_sass/_font-awesome.scss index 24ae2b61..d90676c2 100644 --- a/site/_sass/_font-awesome.scss +++ b/site/_sass/_font-awesome.scss @@ -20,3 +20,6 @@ .fa-link:before { content: "\f0c1"; } +.fa-pencil:before { + content: "\f040"; +} diff --git a/site/_sass/_style.scss b/site/_sass/_style.scss index 98ebebaa..154887dc 100644 --- a/site/_sass/_style.scss +++ b/site/_sass/_style.scss @@ -528,6 +528,12 @@ aside { } } +.improve { + margin-top: 0; + padding: 25px 0 0; + font-size: 16px; +} + .docs-nav-mobile select { color: #000; width: 100%;