accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [01/20] accumulo git commit: Only apply nav menu fix to header sections
Date Wed, 04 May 2016 23:53:33 GMT
Repository: accumulo
Updated Branches:
  refs/heads/asf-site 3a07227ec -> 3b7866159
  refs/heads/gh-pages d81c5f099 -> 0361e60ed


Only apply nav menu fix to header sections

Some styling problems occur when applying the previous nav menu fix to all
elements with an id attribute (in particular, contents of lists). So, limit it
to section headers.


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

Branch: refs/heads/gh-pages
Commit: c299cf22e80ee1dff03b92c4b45b4a7efcd2299d
Parents: d81c5f0
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Wed May 4 18:42:14 2016 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Wed May 4 18:42:14 2016 -0400

----------------------------------------------------------------------
 css/accumulo.css | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/c299cf22/css/accumulo.css
----------------------------------------------------------------------
diff --git a/css/accumulo.css b/css/accumulo.css
index 3ae9330..9b44f56 100644
--- a/css/accumulo.css
+++ b/css/accumulo.css
@@ -115,9 +115,9 @@ 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 {
+/* insert invisible space above header elements with an id attribute, so that
+ * if they are linked to, the actual content will appear below the nav menu */
+h1[id]::before, h2[id]::before, h3[id]::before, h4[id]::before, h5[id]::before, h6[id]::before
{
   display: block;
   content: " ";
   margin-top: -55px;


Mime
View raw message