diff options
author | Valentin Popov <info@valentineus.link> | 2019-02-22 02:22:35 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2019-02-22 02:27:12 +0300 |
commit | 4a18d622cf2879a18d99d49bb6cc6ebe69cc484c (patch) | |
tree | 29b676c288024e240aecf17972f01e53a0d371c3 /_scss | |
parent | b6760fb70b6483b674e65cd18c7d8808d446707c (diff) | |
download | popov.link-4a18d622cf2879a18d99d49bb6cc6ebe69cc484c.tar.xz popov.link-4a18d622cf2879a18d99d49bb6cc6ebe69cc484c.zip |
Adding wallpaper
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss')
-rw-r--r-- | _scss/base/_main.scss | 1 | ||||
-rw-r--r-- | _scss/components/_background.scss | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/_scss/base/_main.scss b/_scss/base/_main.scss index 4adfaca..13a219c 100644 --- a/_scss/base/_main.scss +++ b/_scss/base/_main.scss @@ -1,2 +1,3 @@ @import 'components/core'; +@import 'components/background'; @import 'components/navigation'; diff --git a/_scss/components/_background.scss b/_scss/components/_background.scss new file mode 100644 index 0000000..fd6fe7a --- /dev/null +++ b/_scss/components/_background.scss @@ -0,0 +1,11 @@ +$background-border: rgba(0, 0, 0, .09); +$background-image: '/assets/background.svg'; + +html { + background: $color-bg url($background-image) repeat fixed; +} + +body { + border-left: 1px solid $background-border; + border-right: 1px solid $background-border; +} |