Style updates & jump to top
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/ad3cad82 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/ad3cad82 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/ad3cad82 Branch: refs/heads/master Commit: ad3cad8266f56cef6c276100c06eab4cd6459d9c Parents: f3c06f5 Author: Duncan Godwin <duncan.god...@cloudsoftcorp.com> Authored: Tue Feb 9 15:49:38 2016 +0000 Committer: Duncan Godwin <duncan.god...@cloudsoftcorp.com> Committed: Thu Feb 25 14:52:55 2016 +0000 ---------------------------------------------------------------------- _includes/singlepage-content.html | 3 +-- style/css/singlePage.css | 11 +++++++++++ zoneMergeManual.html | 2 +- zoneMergeStarted.html | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/ad3cad82/_includes/singlepage-content.html ---------------------------------------------------------------------- diff --git a/_includes/singlepage-content.html b/_includes/singlepage-content.html index 7d24206..5fadfe2 100644 --- a/_includes/singlepage-content.html +++ b/_includes/singlepage-content.html @@ -16,13 +16,12 @@ {% capture pid %}{{ item.title | remove:'/' | replace:' ','-' | downcase }}{% endcapture %} {% if item_content != null %} <div id="contentsLink-{{pid}}" class="section-breaker section p-{{item_id}}"> - <h1>{{ item_title }}</h1> + <span style="width: 100%"><h1>{{ item_title }}</h1><a href="#content-top" class="goToTop">^</a></span> {% comment %} <!-- --This Section re-writes images so the base of their paths is the root docs directory. This allows the PDF to build properly. --> {% endcomment %} - {% comment %}<!-- Build the page directory by removing the file name from the item url -->{% endcomment %} {% capture page_url %}{{ item_url | replace_regex:'[^\/]*$', '' }}{% endcapture %} http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/ad3cad82/style/css/singlePage.css ---------------------------------------------------------------------- diff --git a/style/css/singlePage.css b/style/css/singlePage.css index 4b03262..f8f14f6 100644 --- a/style/css/singlePage.css +++ b/style/css/singlePage.css @@ -42,4 +42,15 @@ pre, pre code{ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ +} +.goToTop{ + padding-right: 25px; + padding-top: 75px; + float: right; + font-size: 20pt; + font-weight: bold; +} +#content_container h1{ + display: inline-block; + width: 95%; } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/ad3cad82/zoneMergeManual.html ---------------------------------------------------------------------- diff --git a/zoneMergeManual.html b/zoneMergeManual.html index 3111d01..89c57f1 100644 --- a/zoneMergeManual.html +++ b/zoneMergeManual.html @@ -10,7 +10,7 @@ availablePages: [] <div id="content_container" class="container"> <header> - <h1>Apache Brooklyn: User Manual</h1> + <h1 id="content-top">Apache Brooklyn: User Manual</h1> </header> <h1>Contents</h1> http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/ad3cad82/zoneMergeStarted.html ---------------------------------------------------------------------- diff --git a/zoneMergeStarted.html b/zoneMergeStarted.html index 3cc0e3a..3cf4710 100644 --- a/zoneMergeStarted.html +++ b/zoneMergeStarted.html @@ -10,7 +10,7 @@ availablePages: [] <div id="content_container" class="container"> <header> - <h1>Apache Brooklyn: Getting Started Guide</h1> + <h1 id="content-top">Apache Brooklyn: Getting Started Guide</h1> </header> <h1>Contents</h1>