From 21bead68f4e5a9813aebd88cec1ab2890344e9cf Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Wed, 1 Mar 2023 09:26:28 +0100 Subject: [PATCH] Add background image to stories --- sass/style.scss | 6 +++++- static/img/bg/2.svg | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 static/img/bg/2.svg diff --git a/sass/style.scss b/sass/style.scss index e5c1718..b37413d 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -35,7 +35,7 @@ body { } .narrow { - max-width: 60rem; + max-width: 50rem; margin: 0 auto; } @@ -395,6 +395,10 @@ body.noscroll { .stories { padding-top: 5rem; + background-image: url("/static/img/bg/2.svg"); + background-size: 100% auto; + background-position: center; + background-repeat: no-repeat; &:before { content: ""; diff --git a/static/img/bg/2.svg b/static/img/bg/2.svg new file mode 100644 index 0000000..b0120a1 --- /dev/null +++ b/static/img/bg/2.svg @@ -0,0 +1 @@ + \ No newline at end of file