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 03:06:15 UTC
[03/20] docs commit: Merging changes that add the blog's landing page
Merging changes that add the blog's landing page
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/401eef14
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/401eef14
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/401eef14
Branch: refs/heads/cordova-website
Commit: 401eef1452e454ae7a5fe692fa54bb74ecbce32b
Parents: a10cdf7 01674e4
Author: RubenRios <ru...@microsoft.com>
Authored: Wed Aug 5 16:15:56 2015 -0700
Committer: RubenRios <ru...@microsoft.com>
Committed: Wed Aug 5 16:15:56 2015 -0700
----------------------------------------------------------------------
www/_includes/head.html | 2 +-
www/_includes/header.html | 5 +-
www/index.html | 88 +++++++++++------
www/static/css-src/main.scss | 155 +++++++++++++++++++++++++++---
www/static/img/4-platforms.png | Bin 0 -> 1812 bytes
www/static/img/value-prop-sprite.svg | 52 ++++++++++
6 files changed, 256 insertions(+), 46 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/401eef14/www/static/css-src/main.scss
----------------------------------------------------------------------
diff --cc www/static/css-src/main.scss
index e3bfe9b,df92d6b..0c1fa01
--- a/www/static/css-src/main.scss
+++ b/www/static/css-src/main.scss
@@@ -1,3 -1,5 +1,6 @@@
+ @import 'lib/bootstrap';
++@import 'blog';
+
/* Customized Variables for Bootstrap */
$gray-base:black;
$gray-transparent:rgba($gray-base,.8);
@@@ -21,8 -23,15 +24,14 @@@ $badge-bg: $brand-danger
$badge-active-bg: rgb(255, 255, 255);
$badge-line-height: 1.25;
- @import 'blog';
+ /* Other brand colors */
+ $brand-gold: #F1B444;
+ $brand-gold-darker: #B58733;
+ $gray-50: lighten($gray-base, 50%);
+ $gray-20: lighten($gray-base, 80%);
+ $gray-10: lighten($gray-base, 90%);
+ $brand-primary: #4CC2E4;
-
#hero {
height:1020px;
background-color:$gray-transparent;
@@@ -73,11 -109,99 +109,106 @@@ img#logo_top
padding:5px;
}
- .nav_bar_center {
- text-align:center;
+ @media (min-width: 768px) { /* Center the navs when not collapsed */
+ .nav_bar_center {
+ text-align:center;
+ height:50px;
+ }
+ .nav_bar_center > ul {
+ display: inline-block;
+ float:none;
+ }
+ }
+
+
+
+
+ .vertical-center-parent {
+ position: relative;
+ width:100%;
+ height:100%;
+ .vertical-center-child {
+ position:absolute;
+ top:50%;
+ left:50%;
+ transform:translate(-50%,-50%);
+ }
+ }
+
+ /*
+ ********* 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;
+ position:relative;
+ background-color: $gray-10;
+ margin-top:46px;
+ div {
+ @extend .well_code;
+ position: absolute;
+ top: 100%;
+ transform: translateY(-100%);
+ padding: 0;
+ margin:0;
+ background-color: $gray-20;
+ width: 100%;
+ margin-left:-19px;
+ button {
+ background-color: $brand-primary;
+ margin:5px;
+ }
+ }
}
+
+
+ /*
+ ********* Modifications to Bootstrap ***********
+ */
+ button.btn {
+ border-radius: 0;
+ background-color:$brand-primary;
+ color:black;
+ border:0;
+ }
+ button.btn:hover {
+ color:black;
+ }
+ h1 {
+ color: $brand-gold-darker;
+ font-weight: normal;
+ }
+ h2 {
+ color: $gray-50;
+ font-size: 24px;
+ }
++<<<<<<< HEAD
+.nav_bar_center > ul {
+ display: inline-block;
+ float:none;
+}
++=======
+ .badge {
+ font-size:12px;
+ margin-top:-14px;
+ padding: 1px 5px;
-}
++}
++>>>>>>> 01674e4f8c5272d176270d2b3b73ac73c758c066
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org