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/11 22:25:41 UTC

[2/2] docs commit: Removed old apps image folder. Fixed image path and styling in apps section.

Removed old apps image folder. Fixed image path and styling in apps section.


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

Branch: refs/heads/cordova-website
Commit: e633e23a16f9ac85fc60d928de8291685efd7759
Parents: cc95fb8
Author: Dmitry Blotsky <dm...@gmail.com>
Authored: Fri Sep 11 13:25:34 2015 -0700
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Fri Sep 11 13:25:34 2015 -0700

----------------------------------------------------------------------
 www/_includes/tools_and_showcase.html  |   6 ++++--
 www/static/css-src/_home.scss          |  11 +++++++----
 www/static/img/sample-apps/cordova.png | Bin 4111 -> 0 bytes
 3 files changed, 11 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e633e23a/www/_includes/tools_and_showcase.html
----------------------------------------------------------------------
diff --git a/www/_includes/tools_and_showcase.html b/www/_includes/tools_and_showcase.html
index d3cbfcc..133b014 100644
--- a/www/_includes/tools_and_showcase.html
+++ b/www/_includes/tools_and_showcase.html
@@ -45,7 +45,9 @@
     <div class="row cordova_tools_gallery">
         {% for app in site.data.showcase-apps %}
         <div class="col-lg-2 col-sm-4 card">
-            <div class="showcase_app_thumb"></div>
+            <div class="showcase_app_thumb">
+                <img src="{{ site.baseurl }}/static/img/showcase-apps/{{ app.image }}" class="center-block"/>
+            </div>
             <div class="card_inner">
                 <p class="card_title">
                     {% if app.url %}
@@ -56,7 +58,7 @@
                         {{ app.name }}
                     {% endif %}
                 </p>
-                <p>{{ app.description | truncatewords:10 }}</p>
+                <p>{{ app.description | truncatewords:20 }}</p>
             </div>
         </div>
         {% endfor %}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e633e23a/www/static/css-src/_home.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_home.scss b/www/static/css-src/_home.scss
index a5e31aa..e83bec5 100644
--- a/www/static/css-src/_home.scss
+++ b/www/static/css-src/_home.scss
@@ -241,15 +241,18 @@ img#logo_top {
 			.card_inner {
 				background-color:darken(white, 85%);
 				padding: 32px 16px 32px 16px;
+				img {
+					height:50px;
+					padding-bottom:10px;
+				}
 			}
 			.showcase_app_thumb {
 				background-color: #AD6E6E;
                 width: 100%;
                 height: 100px;
-			}
-			img {
-				height:50px;
-				padding-bottom:5px;
+                img {
+                	height: 100%;
+                }
 			}
 		}
 }

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/e633e23a/www/static/img/sample-apps/cordova.png
----------------------------------------------------------------------
diff --git a/www/static/img/sample-apps/cordova.png b/www/static/img/sample-apps/cordova.png
deleted file mode 100644
index 8ad8bac..0000000
Binary files a/www/static/img/sample-apps/cordova.png and /dev/null differ


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