Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4D6D31869A for ; Sat, 29 Aug 2015 02:54:21 +0000 (UTC) Received: (qmail 93521 invoked by uid 500); 29 Aug 2015 02:54:21 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 93490 invoked by uid 500); 29 Aug 2015 02:54:21 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 93479 invoked by uid 99); 29 Aug 2015 02:54:21 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2015 02:54:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 00C46E09DE; Sat, 29 Aug 2015 02:54:20 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dblotsky@apache.org To: commits@cordova.apache.org Message-Id: <3411f016d53645fbbac2ecf0b6e7cb31@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: docs commit: Fixing responsiveness and styling of ToC. Date: Sat, 29 Aug 2015 02:54:21 +0000 (UTC) Repository: cordova-docs Updated Branches: refs/heads/cordova-website cebafcc95 -> da7c1ea92 Fixing responsiveness and styling of ToC. Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/da7c1ea9 Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/da7c1ea9 Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/da7c1ea9 Branch: refs/heads/cordova-website Commit: da7c1ea925bff1aa504f22c90580e51b8933b6e4 Parents: cebafcc Author: Dmitry Blotsky Authored: Fri Aug 28 19:54:14 2015 -0700 Committer: Dmitry Blotsky Committed: Fri Aug 28 19:54:14 2015 -0700 ---------------------------------------------------------------------- www/_layouts/docs.html | 77 +++++++++++++++++++++++++------------- www/static/css-src/_docs.scss | 30 ++++++++++----- 2 files changed, 71 insertions(+), 36 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/da7c1ea9/www/_layouts/docs.html ---------------------------------------------------------------------- diff --git a/www/_layouts/docs.html b/www/_layouts/docs.html index d7f5bef..7a85f1d 100644 --- a/www/_layouts/docs.html +++ b/www/_layouts/docs.html @@ -4,21 +4,20 @@ docs_tab: true analytics_id: UA-64283057-1 --- + +{% assign toc_dir = site.data.toc %} +{% if toc_dir.[page.manual_toc] %} + {% assign tocfile = toc_dir.[page.manual_toc] %} +{% else %} + {% assign tocfile = toc_dir.[page.generated_toc] %} +{% endif %} +
-
+ -
- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/da7c1ea9/www/static/css-src/_docs.scss ---------------------------------------------------------------------- diff --git a/www/static/css-src/_docs.scss b/www/static/css-src/_docs.scss index 174b256..f443ea4 100644 --- a/www/static/css-src/_docs.scss +++ b/www/static/css-src/_docs.scss @@ -39,22 +39,34 @@ .content-header { text-align: right; margin-top: 22px; - .alert { + .alert { text-align:left; } } +.toc-dropdown { + text-align: center; + width: 100%; + .dropdown { + width: inherit; + button { + width: inherit; + } + } +} .alert.alert-warning.alert-dismissible { - margin-top:15px; + margin-top: 15px; } -.content-header .dropdown { +.dropdown { display: inline-block; - margin-left: 0.3em; + &:not(:last-child) { + margin-right: 0.3em; + } } -.content-header .dropdown .selected { +.dropdown .selected { font-weight: bold; font-style: italic; } -.content-header .dropdown button.dropdown-toggle { +.dropdown button.dropdown-toggle { border-radius: 4px; background-color: rgb(214, 214, 214); &:hover { @@ -62,8 +74,8 @@ } } .content-header .edit { - margin-right: 1em; - margin-left: 1em; + margin-right: 0.5em; + margin-left: 0.5em; } /* missing version highlight */ @@ -71,7 +83,7 @@ color: gray !important; } -/* Formatting for compatibility table in docs */ +/* Formatting for compatibility table on plugin docs page */ .compat { td { text-align: center; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org