cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject [08/11] docs commit: Importing bootstrap via SASS and worked on getting started
Date Wed, 05 Aug 2015 22:22:35 GMT
Importing bootstrap via SASS and worked on getting started


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

Branch: refs/heads/cordova-website
Commit: 114285c52c74ee996314759c1ecc89e696b369b2
Parents: 929cf5f
Author: Brad Gashler <bgashler1@users.noreply.github.com>
Authored: Wed Aug 5 14:14:53 2015 -0700
Committer: Brad Gashler <bgashler1@users.noreply.github.com>
Committed: Wed Aug 5 14:14:53 2015 -0700

----------------------------------------------------------------------
 www/_includes/head.html      |  2 +-
 www/_includes/header.html    |  2 +-
 www/index.html               | 28 +++++++++++------------
 www/static/css-src/main.scss | 48 +++++++++++++++++++++++++++++++++++++--
 4 files changed, 62 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/114285c5/www/_includes/head.html
----------------------------------------------------------------------
diff --git a/www/_includes/head.html b/www/_includes/head.html
index ee46c93..7fe80ff 100644
--- a/www/_includes/head.html
+++ b/www/_includes/head.html
@@ -12,7 +12,7 @@
     <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl
| prepend: site.url }}">
 
     <!-- CSS -->
-    <link rel="stylesheet" type="text/css" href="{{ "/static/css/lib/bootstrap.css" |
prepend: site.baseurl }}" />
+    <!-- <link rel="stylesheet" type="text/css" href="{{ "/static/css/lib/bootstrap.css"
| prepend: site.baseurl }}" /> -->
     <link rel="stylesheet" type="text/css" href="{{ "/static/css/main.css" | prepend:
site.baseurl }}">
     <link rel="stylesheet" type="text/css" href="{{ "/static/css/master.css" | prepend:
site.baseurl }}">
     <link rel="stylesheet" type="text/css" href="{{ "/static/css/docs.css" | prepend:
site.baseurl }}">

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/114285c5/www/_includes/header.html
----------------------------------------------------------------------
diff --git a/www/_includes/header.html b/www/_includes/header.html
index 653f285..d534510 100644
--- a/www/_includes/header.html
+++ b/www/_includes/header.html
@@ -17,7 +17,7 @@
                 <ul class="nav navbar-nav">
                     <li class="active"><a href="{{ site.data.index-config.sitemap.docs.url
}}">Documentation</a></li>
                     <li><a href="http://plugins.cordova.io/">Plugins</a></li>
-                    <li><a href="{{ site.baseurl }}/#news">Blog</a></li>
+                    <li><a href="{{ site.baseurl }}/#news">Blog<span class="badge">5</span></a></li>
                     <li><a href="{{ site.baseurl }}/#contribute">Contribute</a></li>
                     <li><a href="#contact">Contact</a></li>
                     <li class="visible-xs"><img class="" style="width:25px;margin-left:13px"
src="{{ site.baseurl }}/static/img/search_icon.svg"/></li>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/114285c5/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index 466b789..f101e37 100644
--- a/www/index.html
+++ b/www/index.html
@@ -57,28 +57,28 @@ title: Apache Cordova
     <div class="container">
       <!-- Example row of columns -->
       <div class="row">
-        <div class="col-md-4">
-          <h2>Heading</h2>
+        <div class="col-md-12 text-center">
+          <h1>Get Started Fast</h1>
+          <p>Looks like you're using <span id="current_os">Windows</span>
to develop your apps</p>
+          <p><a href="#" role="button">Use a different OS?</a></p>
+        </div>
+      </div>
+      <div class="row">
+        <div class="col-md-1">
+            <div class="number_circle">1</div>
+        </div>
+        <div class="col-md-7">
+          <h2>Lorem ipsum dolor sit amet</h2>
           <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus
ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
-          <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
         </div>
         <div class="col-md-4">
-          <h2>Heading</h2>
-          <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus
ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
-          <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
+          <div class="well_code">sudo npm install -g cordova</div>
        </div>
-        <div class="col-md-4">
-          <h2>Heading</h2>
-          <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas
eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus
commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
-          <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
-        </div>
       </div>
 
       <hr>
 
-      <footer>
-        <p>&copy; Company 2014</p>
-      </footer>
+     
     </div> <!-- /container -->
 
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/114285c5/www/static/css-src/main.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/main.scss b/www/static/css-src/main.scss
index 1ff3da7..44add71 100644
--- a/www/static/css-src/main.scss
+++ b/www/static/css-src/main.scss
@@ -1,3 +1,5 @@
+@import 'lib/bootstrap.css';
+
 /* Customized Variables for Bootstrap */
 $gray-base:black;
 $gray-transparent:rgba($gray-base,.8);
@@ -21,6 +23,13 @@ $badge-bg: $brand-danger;
 $badge-active-bg: rgb(255, 255, 255);
 $badge-line-height: 1.25;
 
+/* Other brand colors */
+$brand-gold: #F1B444;
+$brand-gold-darker: #B58733;
+$gray-50: lighten($gray-base, 50%);
+$gray-20: lighten($gray-base, 20%);
+$brand-primary-darker: #3992AB;
+
 
 #hero {
 	height:1020px;
@@ -125,9 +134,31 @@ img#logo_top {
 	}
 }
 
+/*
+********* Getting Started ***********
+*/
+#current_os {
+	font-weight: bold;
+}
+.number_circle {
+    display: inline-block;
+    width: 50px;
+	height:50px;
+    padding: 8px;
+    font-size: 24px;
+    color: #ffffff;
+    vertical-align: middle;
+    white-space: nowrap;
+    text-align: center;
+    background-color: $brand-primary-darker;
+    border-radius: 50%;
+	margin-top: 20px;
+}
 
-
-
+.well_code {
+	@extend .well;
+	padding-bottom:19px + 50px;
+}
 
 
 /*
@@ -140,4 +171,17 @@ button.btn {
 }
 button.btn:hover {
 	color:black;
+}
+h1 {
+	color: $brand-gold-darker;
+	font-weight: normal;
+}
+h2 {
+	color: $gray-50;
+	font-size: 24px;
+}
+.badge {
+	font-size:12px;
+	margin-top:-14px;
+	padding: 1px 5px;
 }
\ 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


Mime
View raw message