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/08/06 00:22:33 UTC

[06/11] docs commit: All value props are in with sprites

All value props are in with sprites


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

Branch: refs/heads/cordova-website
Commit: 2038e1d033e353ec2b2f286e915926f807418ce4
Parents: 978d00f
Author: Brad Gashler <bg...@users.noreply.github.com>
Authored: Wed Aug 5 12:27:51 2015 -0700
Committer: Brad Gashler <bg...@users.noreply.github.com>
Committed: Wed Aug 5 12:27:51 2015 -0700

----------------------------------------------------------------------
 www/index.html               | 18 +++++++++++++++---
 www/static/css-src/main.scss | 12 +++++++++---
 2 files changed, 24 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2038e1d0/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index efd12f2..466b789 100644
--- a/www/index.html
+++ b/www/index.html
@@ -3,6 +3,8 @@ layout: cordova
 title: Apache Cordova
 ---
 
+<!-- REMOVE THIS LINK BEFORE PUBLISHING.  This is just for IntelliSense while coding -->
+<!-- <link rel="stylesheet" type="text/css" href="static/css/lib/bootstrap.css"/> -->
 
 
     <!-- Main jumbotron for a primary marketing message or call to action -->
@@ -33,11 +35,21 @@ title: Apache Cordova
                 <div class="col-xs-4">
                     <div class="row">
                         <div class="col-sm-3"><div class="sprite_img" id="sprite_shared_code"></div></div>
-                        <div class="col-sm-9"><div class="value_prop">100% shared code across platforms</div></div>
+                        <div class="col-sm-9"><div class="value_prop"><p>100% shared code across platforms</p></div></div>
+                    </div>
+                </div>
+                <div class="col-xs-4">
+                    <div class="row">
+                        <div class="col-sm-3"><div class="sprite_img" id="sprite_offline"></div></div>
+                        <div class="col-sm-9"><div class="value_prop">Support for offline scenarios</div></div>
+                    </div>
+                </div>
+                <div class="col-xs-4">
+                    <div class="row">
+                        <div class="col-sm-3"><div class="sprite_img" id="sprite_apis"></div></div>
+                        <div class="col-sm-9"><div class="value_prop">Access native Device APIs</div></div>
                     </div>
                 </div>
-                <div class="col-xs-4">Support for offline scenarios</div>
-                <div class="col-xs-4">Access native device APIs</div>
             </div>
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2038e1d0/www/static/css-src/main.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/main.scss b/www/static/css-src/main.scss
index 3f6e7d9..618b9a6 100644
--- a/www/static/css-src/main.scss
+++ b/www/static/css-src/main.scss
@@ -62,7 +62,8 @@ $badge-line-height: 1.25;
     /* margin-top: -200px; */ /* Less responsive */
     transform: translateY(-100%);
 	.container {
-		padding-top:60px;
+		padding-top:55px;
+		padding-bottom:55px;
 		font-size: 18px;
 	}
 	.sprite_img {
@@ -80,10 +81,15 @@ $badge-line-height: 1.25;
 .value_prop {
 	
 }
-#sprite_shared_code {
-    background: url("/static/img/value-prop-sprite.svg") 0 0;
+
+@mixin sprite-img($a, $b) {
+	background: url("/static/img/value-prop-sprite.svg") $a $b;
 }
 
+#sprite_shared_code { @include sprite-img(0px, 0) }
+#sprite_offline { @include sprite-img(-84px, 0) }
+#sprite_apis { @include sprite-img(-84px*2, 0) }
+
 .navbar-brand {
 	padding:0;
 	position: absolute;


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