From 1c7456b635e8c92fc04f7d5333a4beace8abad03 Mon Sep 17 00:00:00 2001 From: SergeiNaum Date: Fri, 15 Mar 2024 00:20:15 +0300 Subject: [PATCH] add css styles --- Readme.md | 2 +- app/static/css/style.css | 17 +++++++++++ app/templates/base.html | 2 +- app/templates/components/footer.html | 2 +- app/templates/components/navbar.html | 2 +- app/templates/index.html | 43 +++++++++++++++++++--------- 6 files changed, 50 insertions(+), 18 deletions(-) diff --git a/Readme.md b/Readme.md index d9def56..9047118 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,4 @@ - +[![Lint Code](https://github.com/SergeiNaum/electroservice/actions/workflows/linter_check.yml/badge.svg)](https://github.com/SergeiNaum/electroservice/actions/workflows/linter_check.yml) # Test task for the position of middle python backend developer from Elektrostroyservice company ## Quick start diff --git a/app/static/css/style.css b/app/static/css/style.css index e69de29..56d8c3c 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -0,0 +1,17 @@ +/* Стили для body */ +body.bg-main { + background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%); + font-family: 'Montserrat', sans-serif; +} + +header.bg_main { + background-image: linear-gradient(to top, #e6b980 0%, #eacda3 100%); +} + +footer.bg_main { + background-image: linear-gradient(to top, #e6b980 0%, #eacda3 100%); +} + +thead.bg_main th { + background-image: linear-gradient(to top, #d5d4d0 0%, #d5d4d0 1%, #eeeeec 31%, #efeeec 75%, #e9e9e7 100%); +} \ No newline at end of file diff --git a/app/templates/base.html b/app/templates/base.html index 801af11..44e6447 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -11,7 +11,7 @@ {{data.title}} - +
{% include 'components/navbar.html' %} diff --git a/app/templates/components/footer.html b/app/templates/components/footer.html index 7409639..70e1738 100644 --- a/app/templates/components/footer.html +++ b/app/templates/components/footer.html @@ -1,4 +1,4 @@ -