cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject docs commit: Removed redundant TOC headers in docs
Date Tue, 01 Sep 2015 00:00:26 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website da7c1ea92 -> a8a96ae73


Removed redundant TOC headers in docs


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

Branch: refs/heads/cordova-website
Commit: a8a96ae73270a96d3687d115aca7e5df43db0db6
Parents: da7c1ea
Author: riknoll <riknoll@microsoft.com>
Authored: Fri Aug 28 14:31:55 2015 -0700
Committer: riknoll <riknoll@microsoft.com>
Committed: Mon Aug 31 13:32:19 2015 -0700

----------------------------------------------------------------------
 www/static/css-src/_docs.scss | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8a96ae7/www/static/css-src/_docs.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_docs.scss b/www/static/css-src/_docs.scss
index f443ea4..d794fb7 100644
--- a/www/static/css-src/_docs.scss
+++ b/www/static/css-src/_docs.scss
@@ -22,9 +22,6 @@
 }
 
 /* inner ToC for the page */
-.page-toc ul {
-    padding: 14px 0px 0px 0px;
-}
 .page-toc ul > li {
     padding: 0.5em 0em 0.5em 1em;
     font-size: 14px;
@@ -35,6 +32,14 @@
     border-left: 0.5em solid $brand-primary;
 }
 
+/* Quick fix to remove redundant TOC entries */
+.page-toc li:first-of-type {
+    display: none;
+}
+.page-toc li:nth-of-type(2) {
+    margin-top: 14px;
+}
+
 /* header above page content */
 .content-header {
     text-align: right;


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


Mime
View raw message