You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jr...@apache.org on 2014/01/23 22:11:40 UTC

svn commit: r1560808 - in /qpid/site: docs/site.css docs/site.js input/site.css input/site.js

Author: jross
Date: Thu Jan 23 21:11:39 2014
New Revision: 1560808

URL: http://svn.apache.org/r1560808
Log:
QPID-5311: Some style and UI tweaks for section anchors

Modified:
    qpid/site/docs/site.css
    qpid/site/docs/site.js
    qpid/site/input/site.css
    qpid/site/input/site.js

Modified: qpid/site/docs/site.css
URL: http://svn.apache.org/viewvc/qpid/site/docs/site.css?rev=1560808&r1=1560807&r2=1560808&view=diff
==============================================================================
--- qpid/site/docs/site.css (original)
+++ qpid/site/docs/site.css Thu Jan 23 21:11:39 2014
@@ -89,8 +89,8 @@ h1, h2, h3, h4, h5, h6 {
 }
 
 h2.selected, h3.selected, h4.selected, h5.selected, h6.selected {
-    color: #0d6dad;
-    text-shadow: 0em 0em 0.2em #d0c6e7;
+    color: #0d567f;
+    text-shadow: 0em 0em 0.1em #d0c6e7;
 }
 
 h1 {
@@ -114,12 +114,18 @@ h4 {
 a.heading-link {
     display: none;
     font-weight: 300;
+    padding-left: 0.3em;
+    padding-right: 0.3em;
 }
 
 h2:hover a.heading-link, h3:hover a.heading-link, h4:hover a.heading-link, h5:hover a.heading-link, h6:hover a.heading-link {
     display: inline;
 }
 
+h2.selected a.heading-link, h3.selected a.heading-link, h4.selected a.heading-link, h5.selected a.heading-link, h6.selected a.heading-link {
+    display: inline;
+}
+
 hr {
     border-style: solid;
     border: none;

Modified: qpid/site/docs/site.js
URL: http://svn.apache.org/viewvc/qpid/site/docs/site.js?rev=1560808&r1=1560807&r2=1560808&view=diff
==============================================================================
--- qpid/site/docs/site.js (original)
+++ qpid/site/docs/site.js Thu Jan 23 21:11:39 2014
@@ -267,7 +267,7 @@ function _addHeadingAnchors() {
         anchor.className = "heading-link";
         anchor.href = "#" + id;
 
-        var text = document.createTextNode(" \u00a7");
+        var text = document.createTextNode("\u00a7");
         anchor.appendChild(text);
 
         heading.appendChild(anchor);

Modified: qpid/site/input/site.css
URL: http://svn.apache.org/viewvc/qpid/site/input/site.css?rev=1560808&r1=1560807&r2=1560808&view=diff
==============================================================================
--- qpid/site/input/site.css (original)
+++ qpid/site/input/site.css Thu Jan 23 21:11:39 2014
@@ -89,8 +89,8 @@ h1, h2, h3, h4, h5, h6 {
 }
 
 h2.selected, h3.selected, h4.selected, h5.selected, h6.selected {
-    color: #0d6dad;
-    text-shadow: 0em 0em 0.2em #d0c6e7;
+    color: #0d567f;
+    text-shadow: 0em 0em 0.1em #d0c6e7;
 }
 
 h1 {
@@ -114,12 +114,18 @@ h4 {
 a.heading-link {
     display: none;
     font-weight: 300;
+    padding-left: 0.3em;
+    padding-right: 0.3em;
 }
 
 h2:hover a.heading-link, h3:hover a.heading-link, h4:hover a.heading-link, h5:hover a.heading-link, h6:hover a.heading-link {
     display: inline;
 }
 
+h2.selected a.heading-link, h3.selected a.heading-link, h4.selected a.heading-link, h5.selected a.heading-link, h6.selected a.heading-link {
+    display: inline;
+}
+
 hr {
     border-style: solid;
     border: none;

Modified: qpid/site/input/site.js
URL: http://svn.apache.org/viewvc/qpid/site/input/site.js?rev=1560808&r1=1560807&r2=1560808&view=diff
==============================================================================
--- qpid/site/input/site.js (original)
+++ qpid/site/input/site.js Thu Jan 23 21:11:39 2014
@@ -267,7 +267,7 @@ function _addHeadingAnchors() {
         anchor.className = "heading-link";
         anchor.href = "#" + id;
 
-        var text = document.createTextNode(" \u00a7");
+        var text = document.createTextNode("\u00a7");
         anchor.appendChild(text);
 
         heading.appendChild(anchor);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org