accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [2/2] accumulo git commit: Jekyll build from gh-pages:d81c5f0
Date Wed, 04 May 2016 22:23:19 GMT
Jekyll build from gh-pages:d81c5f0

Fix section linking/hiding under nav menu problem

Fix linking directly to a section within a document by id attribute, by using
CSS to insert an invisible blank area just above the item being linked to, so
the actual content shifts below the navigation menu.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/3a07227e
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/3a07227e
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/3a07227e

Branch: refs/heads/asf-site
Commit: 3a07227ec1e47ef451456a105ea552e7e6f57df7
Parents: 987edc4
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Wed May 4 18:17:30 2016 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Wed May 4 18:18:53 2016 -0400

----------------------------------------------------------------------
 css/accumulo.css | 10 ++++++++++
 feed.xml         |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/3a07227e/css/accumulo.css
----------------------------------------------------------------------
diff --git a/css/accumulo.css b/css/accumulo.css
index a87a2c0..3ae9330 100644
--- a/css/accumulo.css
+++ b/css/accumulo.css
@@ -115,3 +115,13 @@ h6:hover .header-link {
   opacity: 1;
 }
 
+/* insert invisible blank space above elements with an id attribute, so that if
+ * they are linked to, the actual content will appear below the nav menu */
+*[id]:before {
+  display: block;
+  content: " ";
+  margin-top: -55px;
+  height: 55px;
+  visibility: hidden;
+}
+

http://git-wip-us.apache.org/repos/asf/accumulo/blob/3a07227e/feed.xml
----------------------------------------------------------------------
diff --git a/feed.xml b/feed.xml
index 8f691f2..e1cd7a8 100644
--- a/feed.xml
+++ b/feed.xml
@@ -6,8 +6,8 @@
 </description>
     <link>https://accumulo.apache.org/</link>
     <atom:link href="https://accumulo.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
-    <pubDate>Tue, 03 May 2016 19:47:49 -0400</pubDate>
-    <lastBuildDate>Tue, 03 May 2016 19:47:49 -0400</lastBuildDate>
+    <pubDate>Wed, 04 May 2016 18:18:48 -0400</pubDate>
+    <lastBuildDate>Wed, 04 May 2016 18:18:48 -0400</lastBuildDate>
     <generator>Jekyll v3.0.3</generator>
     
   </channel>


Mime
View raw message