Temporarily removed documentation for faster building
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/ba9bee4c Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/ba9bee4c Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/ba9bee4c Branch: refs/heads/cordova-website Commit: ba9bee4c177d569b769907f4fadd1b3b59168fb6 Parents: ad706e0 Author: Brad Gashler <[email protected]> Authored: Tue Aug 11 09:28:49 2015 -0700 Committer: Brad Gashler <[email protected]> Committed: Tue Aug 11 09:28:49 2015 -0700 ---------------------------------------------------------------------- _dev.yml | 1 + www/_includes/footer.html | 1 + www/index.html | 2 +- www/static/css-src/main.scss | 14 +++++- www/static/img/platform-logos.svg | 90 ++++++++++++++++++++++++++++++++++ www/static/js/main.js | 7 +++ 6 files changed, 113 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/ba9bee4c/_dev.yml ---------------------------------------------------------------------- diff --git a/_dev.yml b/_dev.yml index d1f6562..433af3e 100644 --- a/_dev.yml +++ b/_dev.yml @@ -35,4 +35,5 @@ exclude: - docs/en/3.6.0 - docs/en/4.0.0 - docs/en/5.1.1 + - docs/en #take this off to build docs # not excluding edge or 5.0.0 for english (testing purposes) http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/ba9bee4c/www/_includes/footer.html ---------------------------------------------------------------------- diff --git a/www/_includes/footer.html b/www/_includes/footer.html index 3f9c34b..493f828 100644 --- a/www/_includes/footer.html +++ b/www/_includes/footer.html @@ -52,3 +52,4 @@ <script type="text/javascript" src="{{ site.baseurl }}/static/js/lib/toc.min.js"></script> <script type="text/javascript" src="{{ site.baseurl }}/static/js/index.js"></script> <script type="text/javascript" src="{{ site.baseurl }}/static/js/docs.js"></script> +<script type="text/javascript" src="{{ site.baseurl }}/static/js/main.js"></script> http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/ba9bee4c/www/index.html ---------------------------------------------------------------------- diff --git a/www/index.html b/www/index.html index 91e85e5..6347648 100644 --- a/www/index.html +++ b/www/index.html @@ -19,7 +19,7 @@ title: Apache Cordova <p>Target multiple platforms with one code base</p> <p>Free and open source</p> <div> - <img src="{{ site.baseurl }}/static/img/4-platforms.png" /> + <img src="{{ site.baseurl }}/static/img/platform-logos.svg" width="188px" /> </div> <div> <button type="button" class="btn btn-lg btn-primary">Get Started</button> http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/ba9bee4c/www/static/css-src/main.scss ---------------------------------------------------------------------- diff --git a/www/static/css-src/main.scss b/www/static/css-src/main.scss index 8163953..edf57b8 100644 --- a/www/static/css-src/main.scss +++ b/www/static/css-src/main.scss @@ -35,6 +35,17 @@ $gray-20: lighten($gray-base, 80%); $gray-10: lighten($gray-base, 90%); $brand-primary: #4CC2E4; + +/* Mixin that prefixes any CSS rule */ +@mixin vendor-prefix($property, $argument) { + -webkit-#{$property}: #{$argument}; + -ms-#{$property}: #{$argument}; + -moz-#{$property}: #{$argument}; + -o-#{$property}: #{$argument}; + #{$property}: #{$argument}; +} + + #hero { height:1020px; background-color:$gray-transparent; @@ -73,7 +84,8 @@ $brand-primary: #4CC2E4; width: 100%; margin: 0; /* margin-top: -200px; */ /* Less responsive */ - transform: translateY(-100%); + @include vendor-prefix(transform, translateY(-100%)); + .container { padding-top:55px; padding-bottom:55px; http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/ba9bee4c/www/static/img/platform-logos.svg ---------------------------------------------------------------------- diff --git a/www/static/img/platform-logos.svg b/www/static/img/platform-logos.svg new file mode 100644 index 0000000..7ac8ac0 --- /dev/null +++ b/www/static/img/platform-logos.svg @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" + viewBox="0 0 250.1 49.1" style="enable-background:new 0 0 250.1 49.1;" xml:space="preserve"> +<style type="text/css"> + .st0{fill:#333333;} + .st1{fill:#FFFFFF;} +</style> +<g> + <circle class="st0" cx="24.5" cy="24.5" r="24.5"/> + <circle class="st0" cx="91.5" cy="24.5" r="24.5"/> + <circle class="st0" cx="157.5" cy="24.5" r="24.5"/> + <circle class="st0" cx="225.5" cy="24.5" r="24.5"/> + <g> + <g> + <path class="st1" d="M98.9,25.4c0-3.4,2.8-5,2.9-5.1c-1.6-2.3-4-2.6-4.9-2.7c-2.1-0.2-4.1,1.2-5.2,1.2c-1.1,0-2.7-1.2-4.4-1.2 + c-2.3,0-4.4,1.3-5.6,3.4c-2.4,4.1-0.6,10.2,1.7,13.6c1.1,1.6,2.5,3.5,4.2,3.4c1.7-0.1,2.3-1.1,4.4-1.1c2.1,0,2.6,1.1,4.4,1.1 + c1.8,0,3-1.7,4.1-3.3c1.3-1.9,1.8-3.7,1.9-3.8C102.4,30.8,98.9,29.4,98.9,25.4L98.9,25.4z M95.5,15.4c0.9-1.1,1.6-2.7,1.4-4.3 + c-1.4,0.1-3,0.9-4,2c-0.9,1-1.6,2.6-1.4,4.2C93,17.4,94.5,16.5,95.5,15.4L95.5,15.4z M95.5,15.4"/> + </g> + </g> + <g> + <g> + <path class="st1" d="M214.3,14.5C212.7,16.1,212.1,16.7,214.3,14.5c0.5-0.5,0.9-0.9,0.9-0.9C215.2,13.5,214.8,13.9,214.3,14.5 + L214.3,14.5z M214.3,14.5"/> + <path class="st1" d="M213.2,11.1c-0.2,0-0.4,0-0.6,0.1c-0.4-0.1-1,0.1-1,0.5c0,2.3-0.2,4.5-0.7,6.8c-0.1,0.2,0.2,0.3,0.4,0.3 + c2.3,0.1,7.3,0,8.1-2.9C220.5,12.1,215.7,11.7,213.2,11.1L213.2,11.1z M212.9,11.9c0.4,0.1,1,0.2,1.5,0.3 + c-0.3,0.1-0.6,0.4-0.9,0.7c-0.1,0.1-0.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.6,0.7-0.7 + c1.7,0.3,3.6,0.8,4,2.5C217.7,27.2,214.2,27.8,211.9,27.9L211.9,27.9z M211.9,27.9"/> + <path class="st1" d="M234.4,16c-0.2,0-0.4,0-0.6,0.1c-0.4-0.1-0.9,0.1-0.9,0.5c0,2.3-0.2,4.5-0.7,6.7c-0.1,0.2,0.2,0.4,0.4,0.4 + c2.4,0.1,7.3,0,8.1-2.9C241.7,17,236.9,16.6,234.4,16L234.4,16z M234.3,22.9c-0.4,0-0.7,0-0.9,0.1c0.1-0.2,0.2-0.5,0.3-1 + c0-0.1,0-0.1,0-0.2c0.1,0,0.1-0.1,0.2-0.2c0.5-0.5,1-0.9,1.5-1.4c0.5-0.5,1-1.3,1-1.9c0-0.5-0.4-0.6-0.9-0.1 + c-0.4,0.4-0.8,0.8-1.2,1.1c-0.1,0.1-0.2,0.2-0.3,0.3c0.1-0.7,0.1-1.4,0.1-2.1c0,0,0,0,0.1-0.1c0.2-0.2,0.3-0.4,0.4-0.5 + c1.9,0.3,4.4,0.7,5,2.6C240.2,22.2,236.6,22.8,234.3,22.9L234.3,22.9z M234.3,22.9"/> + <path class="st1" d="M231.3,33.7c2.5,0.1,7.5,0,8.1-3.2c0.7-3.7-4-4-6.5-4.6c-0.2-0.1-0.4,0-0.6,0.1c-0.4,0-0.8,0.2-0.8,0.5 + c0,2.3-0.2,4.5-0.7,6.7C230.8,33.5,231.1,33.7,231.3,33.7L231.3,33.7z M232.8,27c0,0,0.1-0.1,0.1-0.1c0.4,0.1,1,0.2,1.5,0.3 + c-0.2,0.2-0.5,0.4-0.8,0.7c-0.2,0.2-0.4,0.4-0.7,0.7c-0.1,0.1-0.2,0.2-0.2,0.3C232.8,28.2,232.8,27.6,232.8,27L232.8,27z + M232.4,31.9c0-0.3,0.1-0.5,0.1-0.8c0.1,0,0.1-0.1,0.2-0.2c0.5-0.5,1-1,1.5-1.5c0.5-0.5,0.9-1.3,0.9-1.6c0-0.2,0-0.3-0.1-0.4 + c1.6,0.4,3.1,1,3.2,2.6c0,2.3-3,2.8-5.2,2.8c-0.4,0-0.7,0-0.9,0.1C232.2,32.6,232.3,32.3,232.4,31.9L232.4,31.9z M232.4,31.9"/> + <path class="st1" d="M230.3,15.8c1-3.8-3.7-4.2-6.3-4.7c-0.2,0-0.4,0-0.6,0.1c-0.4-0.1-1,0.1-1,0.4c0,2.3-0.2,4.5-0.7,6.7 + c-0.1,0.2,0.2,0.3,0.4,0.3C224.5,18.9,229.5,18.7,230.3,15.8L230.3,15.8z M224,18c-0.4,0-0.8,0-1,0.1c0.1-0.1,0.2-0.4,0.3-0.8 + c0,0,0.1-0.1,0.1-0.1c0.5-0.5,1.1-1.1,1.6-1.6c0.5-0.5,0.9-1.1,1-1.4c0-0.3-0.4-0.1-0.9,0.4c-0.5,0.5-1,1-1.5,1.5 + c-0.1,0.1-0.1,0.2-0.2,0.2c0.2-1.1,0.2-2.2,0.3-3.4c0,0,0.1-0.1,0.1-0.1c0.3-0.3,0.4-0.5,0.4-0.7c1.9,0.3,4.3,0.7,4.8,2.6 + C229.8,17.3,226.3,17.9,224,18L224,18z M224,18"/> + </g> + <path class="st1" d="M228.9,25.9c2-3.6-4-4.4-6-4.8c-0.1,0-0.4,0-0.6,0.1c-0.3,0-1.1,0.1-1.1,0.4c0,2.3-0.2,4.5-0.7,6.7 + c0,0.1,0.1,0.2,0.2,0.2C223.3,28.6,227.4,28.5,228.9,25.9L228.9,25.9z M227.5,26.4c-0.6,1-1.9,1.4-3.2,1.5 + c-0.1-0.1-0.1-0.1-0.1-0.2c0-0.2-0.2-0.1-0.4,0.2c0,0-0.1,0.1-0.1,0.1c-0.6,0-1.1,0-1.6,0c0.1-0.1,0.2-0.2,0.4-0.4 + c0.3-0.3,0.5-0.5,0.8-0.8c0.2-0.2,0.4-0.4,0.6-0.7c0.4-0.4,0.6-0.7,0.6-0.7c0,0-0.4,0.4-0.9,0.9c-0.4,0.4-0.8,0.8-1.2,1.2 + c-0.2,0.2-0.3,0.3-0.5,0.5c0,0,0,0,0,0c-0.1,0-0.1,0-0.2-0.1c0.1-0.1,0.3-0.3,0.4-0.4c0.5-0.5,1-1,1.4-1.4c0.5-0.5,1-1.4,1-2 + c0-0.6-0.4-0.7-0.9-0.2c-0.5,0.5-0.9,0.9-1.4,1.4c-0.1,0.1-0.1,0.1-0.2,0.2c0,0,0,0,0,0c0.1-1.2,0.2-2.4,0.2-3.7 + c0,0,0-0.1,0.1-0.1C225,22.3,229.4,23.1,227.5,26.4L227.5,26.4z M227.5,26.4"/> + <path class="st1" d="M219.4,37.7c2.6,0.2,6.9,0,8.1-2.9c1.5-3.6-4.1-4.2-6.2-4.7c-0.1,0-0.4,0-0.6,0.1c-0.4-0.1-1,0.1-1,0.4 + c0,2.3-0.2,4.5-0.7,6.7C219,37.7,219.3,37.7,219.4,37.7L219.4,37.7z M220.5,36.1c0.1-0.1,0.1-0.1,0.2-0.2c0.5-0.5,1-0.9,1.5-1.4 + c0.5-0.5,1-1,1-1.1c0-0.1-0.4,0.2-0.9,0.8c-0.5,0.5-1,1-1.6,1.6c-0.1,0.1-0.1,0.1-0.2,0.2c0.2-1.3,0.3-2.7,0.4-4 + c0.1,0,0.1-0.1,0.2-0.1c0.3-0.3,0.4-0.6,0.4-0.7c1.9,0.3,4.3,0.7,4.8,2.6c0.6,2.2-1.5,3-3.6,3.3c0-0.1,0-0.2,0-0.3 + c0.1-0.4-0.3-0.3-0.8,0.2c-0.1,0.1-0.2,0.2-0.2,0.3c-0.2,0-0.4,0-0.6,0c-0.4,0-0.8,0-1,0.1C220.3,36.9,220.4,36.6,220.5,36.1 + L220.5,36.1z M220.5,36.1"/> + </g> + <g> + <path class="st1" d="M15,19.7L15,19.7c-0.9,0-1.7,0.7-1.7,1.6v6.9c0,0.9,0.7,1.6,1.6,1.6H15c0.9,0,1.6-0.7,1.6-1.6v-6.9 + C16.5,20.4,15.8,19.7,15,19.7L15,19.7z M15,19.7"/> + <g> + <path class="st1" d="M17.3,30.9c0,0.8,0.7,1.5,1.5,1.5h1.6V36c0,0.9,0.7,1.6,1.6,1.6H22c0.9,0,1.6-0.7,1.6-1.6v-3.7h2.2V36 + c0,0.9,0.7,1.6,1.6,1.6h0.1c0.9,0,1.6-0.7,1.6-1.6v-3.7h1.6c0.8,0,1.5-0.6,1.5-1.5V20H17.3V30.9z M17.3,30.9"/> + <path class="st1" d="M28.3,13.4l1.2-1.9c0.1-0.1,0-0.3-0.1-0.4c-0.1-0.1-0.3,0-0.4,0.1l-1.3,2c-1-0.4-2-0.6-3.2-0.6 + c-1.1,0-2.2,0.2-3.2,0.6l-1.3-2c-0.1-0.1-0.2-0.2-0.4-0.1c-0.1,0.1-0.2,0.2-0.1,0.4l1.2,1.9c-2.2,1.1-3.7,3.2-3.7,5.5 + c0,0.1,0,0.3,0,0.4H32c0-0.1,0-0.3,0-0.4C32,16.5,30.5,14.5,28.3,13.4L28.3,13.4z M21.2,16.8c-0.4,0-0.7-0.3-0.7-0.7 + c0-0.4,0.3-0.7,0.7-0.7c0.4,0,0.7,0.3,0.7,0.7C21.9,16.5,21.6,16.8,21.2,16.8L21.2,16.8z M28.1,16.8c-0.4,0-0.7-0.3-0.7-0.7 + c0-0.4,0.3-0.7,0.7-0.7c0.4,0,0.7,0.3,0.7,0.7C28.8,16.5,28.4,16.8,28.1,16.8L28.1,16.8z M28.1,16.8"/> + <path class="st1" d="M34.4,19.7L34.4,19.7c-0.9,0-1.7,0.7-1.7,1.6v6.9c0,0.9,0.7,1.6,1.6,1.6h0.1c0.9,0,1.6-0.7,1.6-1.6v-6.9 + C36,20.4,35.3,19.7,34.4,19.7L34.4,19.7z M34.4,19.7"/> + </g> + </g> + <g> + <path class="st1" d="M144,23.6l0-8.8l10.8-1.5v10.2H144z M156.6,13.2l14.4-2.1v12.6h-14.4V13.2z M171,25.4l0,12.6l-14.4-2V25.4 + H171z M154.8,35.8L144,34.3l0-8.8h10.8V35.8z M154.8,35.8"/> + </g> +</g> +</svg> http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/ba9bee4c/www/static/js/main.js ---------------------------------------------------------------------- diff --git a/www/static/js/main.js b/www/static/js/main.js new file mode 100644 index 0000000..575f71a --- /dev/null +++ b/www/static/js/main.js @@ -0,0 +1,7 @@ +$(function(){ // resize the hero to the innerWidth of the window + var window_height = window.innerHeight; + var navbar_spacer = $('#_fixed_navbar_spacer').height(); + var adjusted_window_height = window_height - navbar_spacer; + console.log('new height ' + adjusted_window_height) + $('#hero').height(adjusted_window_height); + }); \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
