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

github.com/danielkvist/hugo-piercer-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielkvist <danielkvist@protonmail.com>2019-05-16 18:40:06 +0300
committerdanielkvist <danielkvist@protonmail.com>2019-05-16 18:40:06 +0300
commit4592e3434b645e8ce0b2fa83f79cc50908e6ffd0 (patch)
tree310e4a86e3c81f21fe18fc4a9c6917909f9ae263
parent7cc103681664a4f15ad9d696f928e291ade6c8b9 (diff)
update README
-rw-r--r--README.md15
-rw-r--r--exampleSite/assets/css/custom.css0
2 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index b47162f..22a720f 100644
--- a/README.md
+++ b/README.md
@@ -13,11 +13,12 @@ Piercer's default color palette is based on the Dracula theme. You can see more
Some of the basic features of Piercer are:
* Highly customizable (color palette, font size, font family and more).
+* Support for custom CSS.
* Hamburger menu without JavaScript.
* Great SEO by default.
* Mobile-first philosophy.
* PostCSS can be used if desired.
-* Service Workers for caching resources.
+* Service Workers for optional caching resources.
* Fast.
Some of the things that are not planned to add for the moment are:
@@ -262,6 +263,18 @@ logo = "" # Relative URL for your logo
message = ""
```
+### Custom CSS
+
+Thanks to the contributions of [#benfreke](https://github.com/benfreke) now you can easily add your own CSS styles.
+
+To do this you have to create a folder called ```assets``` in the root of your project. Then, create another folder called ```css``` inside ```assets```. An finally a file called ```custom.css``` inside ```css``` with your styles.
+
+```bash
+mkdir -p ./assets/css/
+```
+
+You can check out the [example site](https://github.com/danielkvist/hugo-piercer-theme/tree/master/exampleSite) if you have any doubts.
+
## Archetypes
Piercer includes three archetypes:
diff --git a/exampleSite/assets/css/custom.css b/exampleSite/assets/css/custom.css
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/exampleSite/assets/css/custom.css