From fce27d347221ad2e08fc0bf7e3bd48fa0c2fcd99 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Mon, 27 Feb 2023 09:47:39 +0100 Subject: [PATCH] Add icon to sotries --- index.html | 2 +- sass/style.scss | 19 +++++++++++++++++++ static/img/stories.svg | 1 + 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 static/img/stories.svg diff --git a/index.html b/index.html index 494f559..8568389 100644 --- a/index.html +++ b/index.html @@ -134,7 +134,7 @@ -
+

Vzorové příběhy

Donec dapibus quis dui at interdum. Vivamus vel libero lorem. Suspendisse eu hendrerit lorem. Suspendisse nec nisi quis sem venenatis sagittis. Etiam ut porttitor dolor. Integer in tristique quam.

diff --git a/sass/style.scss b/sass/style.scss index 51fbdd7..98ec1e1 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -388,6 +388,25 @@ body.noscroll { } } +.stories { + padding-top: 5rem; + + &:before { + content: ""; + display: block; + width: 100%; + height: 5rem; + background-image: url("/static/img/stories.svg"); + background-repeat: no-repeat; + background-position: center; + background-size: contain; + } + + h1 { + padding-top: 0; + } +} + .partners { display: flex; justify-content: center; diff --git a/static/img/stories.svg b/static/img/stories.svg new file mode 100644 index 0000000..36223e2 --- /dev/null +++ b/static/img/stories.svg @@ -0,0 +1 @@ + \ No newline at end of file