Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alanorth/hugo-theme-bootstrap4-blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAlan Orth <alan.orth@gmail.com>2017-01-08 17:37:48 +0300
committerAlan Orth <alan.orth@gmail.com>2017-01-09 17:54:20 +0300
commit7d85c9a7401e065f11eb8f93a4a40149293ee70e (patch)
treee3d82813fbaca5ce3af746a13d88070794774035 /source
parenta3bd024e2927b5c9ce0a8e58a410dc0f2c756e1a (diff)
source/scss/style.scss: Import local overrides last
It seems this is actually the preferred way to do it, but something in the Bootstrap v4 Alpha 6 release—perhaps the upgraded version of Normalize.css with that release—caused our styles to be overridden and now I realize that it should have never been working before!
Diffstat (limited to 'source')
-rw-r--r--source/scss/style.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/scss/style.scss b/source/scss/style.scss
index ecae1fc..0b3a6dc 100644
--- a/source/scss/style.scss
+++ b/source/scss/style.scss
@@ -1,6 +1,3 @@
-// optional: import local styles first
-@import 'source/scss/main';
-
// selectively import components we need from font-awesome
// see: node_modules/font-awesome/scss/font-awesome.scss
@import 'source/scss/font-awesome';
@@ -8,3 +5,6 @@
// selectively import components we need from bootstrap
// see: node_modules/bootstrap/scss/bootstrap.scss
@import 'source/scss/bootstrap';
+
+// local style overrides
+@import 'source/scss/main';