Kaynağa Gözat

Adding background_position option (#67)

* Adding background_position option

* Revert "Adding background_position option"

This reverts commit ed508759b2ecd6895ae963c025dab3b6b033ad57.

* Setting background-position to center by default
Łukasz Łaniewski-Wołłk 4 yıl önce
ebeveyn
işleme
32389ef344
2 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 3 0
      README.md
  2. 1 0
      static/assets/css/sections/home.css

+ 3 - 0
README.md

@@ -129,6 +129,9 @@ params:
 
 You can just copy the content for `config.yaml` files from `theme/toha/exampleSite/config.yaml`.
 
+If you want to customize the any of the CSS styles on your site, create a
+`static/assets/css/style.css` file and add any custom CSS there.
+
 ## Usage
 
 Run your hugo site with this theme.

+ 1 - 0
static/assets/css/sections/home.css

@@ -12,6 +12,7 @@
   padding: 0;
   margin: 0;
   background-attachment: fixed;
+  background-position: center;
   transform: scale(1.1);
   -webkit-transform: scale(1.1);
   filter: blur(3px);