diff --git a/website/Makefile b/website/Makefile index ffd2f754..ffd5ead0 100644 --- a/website/Makefile +++ b/website/Makefile @@ -1,12 +1,12 @@ +serve: install + bundle exec jekyll serve --livereload + install: bundle install build: install bundle exec jekyll build -serve: install - bundle exec jekyll serve --livereload - check_links: build bundle exec htmlproofer --allow_missing_href true --ignore_missing_alt true --swap_urls "^\/ComputingBootCamp:" --ignore-status-codes "0,301,302,403,429,500,503", --enforce_https false ./_site diff --git a/website/_sass/_base.scss b/website/_sass/_base.scss index d15b2bf8..9e92964b 100644 --- a/website/_sass/_base.scss +++ b/website/_sass/_base.scss @@ -53,7 +53,7 @@ ol, dl, figure, %vertical-rhythm { - margin-bottom: $spacing-unit / 2; + margin-bottom: calc($spacing-unit / 2); } h1, @@ -134,7 +134,7 @@ a { blockquote { color: $grey-color; border-left: 4px solid $grey-color-light; - padding-left: $spacing-unit / 2; + padding-left: calc($spacing-unit / 2); font-size: 18px; letter-spacing: -1px; font-style: italic; @@ -185,8 +185,8 @@ pre { @include media-query($on-laptop) { max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit})); max-width: calc(#{$content-width} - (#{$spacing-unit})); - padding-right: $spacing-unit / 2; - padding-left: $spacing-unit / 2; + padding-right: calc($spacing-unit / 2); + padding-left: calc($spacing-unit / 2); } }