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/22 02:59:33 UTC

docs commit: Applied the one commit that didn't make it in.

Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website aae78634c -> e24239a73


Applied the one commit that didn't make it in.


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

Branch: refs/heads/cordova-website
Commit: e24239a73dfdf854ec7f4b6705b361f6d946cdd0
Parents: aae7863
Author: Dmitry Blotsky <dm...@gmail.com>
Authored: Fri Aug 21 17:59:25 2015 -0700
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Fri Aug 21 17:59:25 2015 -0700

----------------------------------------------------------------------
 www/index.html                | 12 ++++++------
 www/static/css-src/_home.scss | 18 +++++++++++++-----
 2 files changed, 19 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e24239a7/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index acdcf50..c5b77ce 100644
--- a/www/index.html
+++ b/www/index.html
@@ -16,7 +16,7 @@ permalink: /
             </div>
             <div id="hero_section_right">
                 <img class="hero_logo hidden-xs" src="{{ site.baseurl }}/static/img/logo_text.svg" />
-                <img class="hero_logo visible-xs" src="{{ site.baseurl }}/static/img/logo_full_2.svg" />
+                <!-- <img class="hero_logo visible-xs" src="{{ site.baseurl }}/static/img/logo_full_2.svg" /> -->
                 <p>Native mobile apps with HTML, CSS & JavaScript</p>
                 <p>Target multiple platforms with one code base</p>
                 <p>Free and open source</p>
@@ -211,23 +211,23 @@ permalink: /
 <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
 <script>
         //Smooth scroll to anchor links
-    	$("#navbar ul li a[href^='/#']").on('click', function(e) { 
+    	$("#navbar ul li a[href^='/#']").on('click', function(e) {
 		// prevent default anchor click behavior
 		console.log('Scrolled to where you asked');
 		e.preventDefault();
 
 		// store hash
 		var hash = this.hash;
-		
+
 		// animate
 		$('html, body').animate({
 			scrollTop: $(hash).offset().top
 			}, 300, function(){
-		
+
 			// when done, add hash to url
 			// (default click behaviour)
 			window.location.hash = hash;
 			});
-		
+
 	});
-</script>
\ No newline at end of file
+</script>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e24239a7/www/static/css-src/_home.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_home.scss b/www/static/css-src/_home.scss
index 9c5ffd1..fc847b8 100644
--- a/www/static/css-src/_home.scss
+++ b/www/static/css-src/_home.scss
@@ -2,7 +2,7 @@
 
 
 body {
-	
+
 }
 
 #hero {
@@ -24,7 +24,7 @@ body {
 			width:39%;
 			vertical-align: top;
 		}
-		
+
 		#hero_section_right {
 			width:59%;
 			div {
@@ -53,7 +53,7 @@ body {
     margin: 0;
     /* margin-top: -200px; */ /* Less responsive */
 	@include vendor-prefix(transform, translateY(-100%));
-	
+
 	.container {
 		padding-top:55px;
 		padding-bottom:55px;
@@ -96,6 +96,14 @@ body {
 	.value_prop { max-width:initial }
 }
 
+@media (max-width: 550px) {  /* Scrunch the icons even smaller on very small devices */
+	.sprite_img {
+		width:45px;
+		height:45px;
+		background-size:135px 45px;
+	}
+}
+
 @mixin sprite-img($a, $b) {
 	background: url("{{ site.baseurl }}/static/img/value-prop-sprite.svg") $a $b;
 }
@@ -220,7 +228,7 @@ img#logo_top {
 .cordova_tools_gallery {
 	color:white;
 	.card {
-			padding:8px;		
+			padding:8px;
 			.card_title {
 				color: $brand-primary;
 				font-weight: bold;
@@ -243,4 +251,4 @@ img#logo_top {
 .add_seemore_links {
 	margin-top:10px;
 	a {	padding-left:30px; }
-}
\ No newline at end of file
+}


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