From 44ec4dcc73aa0db78aa6fd63e2a2786fe602488c Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Sat, 29 Jul 2017 18:15:16 +0100 Subject: [PATCH] Add env --- docs/_config.yml | 1 + docs/_includes/bsa.html | 2 ++ docs/_includes/carbon.html | 2 ++ docs/_includes/footer.html | 4 ++++ docs/css/bulma-docs.css | 7 ------- sass/elements/button.sass | 7 ------- 6 files changed, 9 insertions(+), 14 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index e3bf7fec..47a7e359 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -2,6 +2,7 @@ title: "Bulma: a modern CSS framework based on Flexbox" description: "Bulma is an open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free." +env: "production" # Build diff --git a/docs/_includes/bsa.html b/docs/_includes/bsa.html index 313eecf4..8ba3c1cd 100644 --- a/docs/_includes/bsa.html +++ b/docs/_includes/bsa.html @@ -1,3 +1,4 @@ +{% unless site.env == "development" %}
@@ -26,3 +27,4 @@ } })(); +{% endunless %} \ No newline at end of file diff --git a/docs/_includes/carbon.html b/docs/_includes/carbon.html index 7f3e3e04..8b7efe24 100644 --- a/docs/_includes/carbon.html +++ b/docs/_includes/carbon.html @@ -47,5 +47,7 @@ } } + {% unless site.env == "development" %} + {% endunless %} diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index 48cbf84c..34c2d111 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -47,9 +47,11 @@
Bulma by Jeremy Thomas. + {% unless site.env == "development" %} + {% endunless %}
@@ -57,6 +59,7 @@
Support and share the love!
+ {% unless site.env == "development" %}
@@ -71,6 +74,7 @@
+ {% endunless %}
diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css index 9e5d70a9..100f064f 100644 --- a/docs/css/bulma-docs.css +++ b/docs/css/bulma-docs.css @@ -1973,13 +1973,6 @@ a.box:active { pointer-events: none; } -button.button, -input[type="submit"].button { - line-height: 1; - padding-bottom: 0.4em; - padding-top: 0.35em; -} - .content:not(:last-child) { margin-bottom: 1.5rem; } diff --git a/sass/elements/button.sass b/sass/elements/button.sass index 705e0917..36585aa4 100755 --- a/sass/elements/button.sass +++ b/sass/elements/button.sass @@ -197,10 +197,3 @@ $button-shadow-inset: inset 0 1px 2px rgba($black, 0.2) !default color: $button-static-color box-shadow: none pointer-events: none - -// Adjustment for vertical spacing -button.button, -input[type="submit"].button - line-height: 1 - padding-bottom: 0.4em - padding-top: 0.35em