From 4f25c2dd263cdf6efbff19307a33a2e40061a47d Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 6 Dec 2018 22:04:48 +0400 Subject: feat(css): Global update of the site theme Signed-off-by: Valentin Popov --- .gitmodules | 8 -------- _scss/base/_bootstrap.scss | 3 --- _scss/base/_main.scss | 2 -- _scss/base/_normalize.scss | 1 + _scss/base/_sakura.scss | 10 ++++++++++ _scss/bootstrap | 1 - _scss/bootswatch | 1 - _scss/components/_github.scss | 4 ---- _scss/components/_image.scss | 4 ---- _scss/sakura/_theme.scss | 8 -------- assets/css/styles.scss | 5 +++-- 11 files changed, 14 insertions(+), 33 deletions(-) delete mode 100644 .gitmodules delete mode 100644 _scss/base/_bootstrap.scss create mode 100644 _scss/base/_normalize.scss create mode 100644 _scss/base/_sakura.scss delete mode 160000 _scss/bootstrap delete mode 160000 _scss/bootswatch delete mode 100644 _scss/components/_github.scss delete mode 100644 _scss/components/_image.scss delete mode 100644 _scss/sakura/_theme.scss diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 10ec23d..0000000 --- a/.gitmodules +++ /dev/null @@ -1,8 +0,0 @@ -[submodule "bootstrap"] - path = _scss/bootstrap - url = https://github.com/twbs/bootstrap-sass.git - branch = 3.3-stable -[submodule "bootswatch"] - path = _scss/bootswatch - url = https://github.com/thomaspark/bootswatch.git - branch = master diff --git a/_scss/base/_bootstrap.scss b/_scss/base/_bootstrap.scss deleted file mode 100644 index e608e9f..0000000 --- a/_scss/base/_bootstrap.scss +++ /dev/null @@ -1,3 +0,0 @@ -@import 'bootswatch/cosmo/_variables.scss'; -@import 'bootstrap/assets/stylesheets/bootstrap'; -@import 'bootswatch/cosmo/_bootswatch.scss'; diff --git a/_scss/base/_main.scss b/_scss/base/_main.scss index d84c289..810b2d4 100644 --- a/_scss/base/_main.scss +++ b/_scss/base/_main.scss @@ -1,3 +1 @@ @import 'components/core'; -@import 'components/github'; -@import 'components/image'; diff --git a/_scss/base/_normalize.scss b/_scss/base/_normalize.scss new file mode 100644 index 0000000..b96534d --- /dev/null +++ b/_scss/base/_normalize.scss @@ -0,0 +1 @@ +@import 'normalize/main'; diff --git a/_scss/base/_sakura.scss b/_scss/base/_sakura.scss new file mode 100644 index 0000000..5a6edcb --- /dev/null +++ b/_scss/base/_sakura.scss @@ -0,0 +1,10 @@ +$color-bg-alt: #c7e3be; +$color-bg: #f9f9f9; +$color-blossom: #338618; +$color-fade: #5e5e5e; +$color-text: #4a4a4a; +$font-family-sans-serif: Verdana, Geneva, sans-serif; +$font-family-serif: serif; +$font-size-base: 1.8rem; + +@import 'sakura/main'; diff --git a/_scss/bootstrap b/_scss/bootstrap deleted file mode 160000 index 5d6b2eb..0000000 --- a/_scss/bootstrap +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5d6b2ebba0c2a5885ce2f0e01e9218db3d3b5e47 diff --git a/_scss/bootswatch b/_scss/bootswatch deleted file mode 160000 index 4b0d376..0000000 --- a/_scss/bootswatch +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4b0d3762f309326a6d66fa4ea18945a7fc11f8ef diff --git a/_scss/components/_github.scss b/_scss/components/_github.scss deleted file mode 100644 index 87c0b27..0000000 --- a/_scss/components/_github.scss +++ /dev/null @@ -1,4 +0,0 @@ -.github-avatar { - max-height: 16px; - max-width: 16px; -} diff --git a/_scss/components/_image.scss b/_scss/components/_image.scss deleted file mode 100644 index c2f15eb..0000000 --- a/_scss/components/_image.scss +++ /dev/null @@ -1,4 +0,0 @@ -img { - max-width: 100%; - width: auto; -} diff --git a/_scss/sakura/_theme.scss b/_scss/sakura/_theme.scss deleted file mode 100644 index f248c15..0000000 --- a/_scss/sakura/_theme.scss +++ /dev/null @@ -1,8 +0,0 @@ -$color-bg-alt: #c7e3be; -$color-bg: #f9f9f9; -$color-blossom: #338618; -$color-fade: #5e5e5e; -$color-text: #4a4a4a; -$font-family-sans-serif: Verdana, Geneva, sans-serif; -$font-family-serif: serif; -$font-size-base: 1.8rem; diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 05bc215..5de4ff2 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -1,7 +1,8 @@ --- -# Loading site styles. +# Loading site styles --- -@import 'base/bootstrap'; +@import 'base/normalize'; @import 'base/highlight'; +@import 'base/sakura'; @import 'base/main'; -- cgit v1.2.3