You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/09/15 03:39:29 UTC

docs commit: Applying styling from old website to the language index pages in docs. This closes #344.

Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website 8d423aa51 -> fe0d23966


Applying styling from old website to the language index pages in docs. This
closes #344.


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

Branch: refs/heads/cordova-website
Commit: fe0d23966ba48349d7ee2708fe3d68cde127a747
Parents: 8d423aa
Author: riknoll <ri...@microsoft.com>
Authored: Mon Sep 14 14:30:24 2015 -0700
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Mon Sep 14 18:39:12 2015 -0700

----------------------------------------------------------------------
 www/static/css-src/_docs.scss | 44 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fe0d2396/www/static/css-src/_docs.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_docs.scss b/www/static/css-src/_docs.scss
index 8897e58..3d00edf 100644
--- a/www/static/css-src/_docs.scss
+++ b/www/static/css-src/_docs.scss
@@ -132,4 +132,48 @@
             background-color: khaki;
         }
     }
+
+    // Styling for the /docs/language/version/index.html pages
+    #home {
+        h1 {
+            border-bottom: 1px solid #919395;
+            padding-bottom: 20px;
+            margin: 30px 0px;
+        }
+
+        h2 {
+            font-weight: normal;
+            margin: 0px 0px 10px 0px;
+            padding: 0px;
+            display: block;
+        }
+
+        h2:after {
+            content: '';
+        }
+
+        span {
+            font-size: 14px;
+        }
+
+        ul {
+            float:left;
+            margin: 0px;
+            padding: 0px;
+        }
+
+        ul li {
+            float: left;
+            list-style: none;
+            margin-bottom: 20px;
+            padding: 0px 20px;
+            width: 240px;
+            height: 120px;
+        }
+    }
+}
+
+// Workaround for the spacing on the Russian /docs/ru/version/index.html pages
+html[lang="ru"] .docs #home ul li {
+    height: 160px;
 }


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