diff options
author | Marcelo Canina <me@marcanuy.com> | 2019-08-06 02:05:05 +0300 |
---|---|---|
committer | Marcelo Canina <me@marcanuy.com> | 2019-08-06 02:05:05 +0300 |
commit | 91f6bc26dccb3d9931fe5ffc15268d37c9ecac7e (patch) | |
tree | 9b9ec4f36f02aef75cc36232440c4d0f9cff6cd1 /README.md | |
parent | 6f3982a8c5c4fa9d239c69857b599a7de6d43777 (diff) |
specify how to customize styles extending repo ones
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -35,6 +35,7 @@ section/"subsection" its own articles and nested sections. - [Screenshots](#screenshots) - [Contributing](#contributing) - [Websites using theme](#websites-using-theme) +- [Reference](#reference) - [License](#license) <!-- markdown-toc end --> @@ -347,12 +348,27 @@ canonifyURLs = true # Customizing styles for your website If you want to change some styling to fit your own website needs, copy -the following files to your website root path and edit them: +the following files to your website instance and edit them: -- `assets/sass/custom_variables.scss`: customize variables used by Bootstrap. +- `assets/sass/custom_variables.scss`: customize variables used by + Bootstrap. - `assets/sass/styles.scss`: your main website styles with all Bootstrap variables avaiable. +Or include them with a SCSS include: + +- for `custom_variables.scss`: + +~~~ sass +@import "../../themes/simpleit-hugo-theme/assets/sass/custom_variables.scss"; +~~~ + +and for `styles.scss` + +~~~ sass +@import "../../themes/simpleit-hugo-theme/assets/sass/styles.scss"; +~~~ + # Notes for developers If you plan to change something or contribute to theme development |