From 9b1ab813a944d031e70a49db0499c2a19b8ba477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B5=D1=82=D1=83=D1=85=D0=BE=D0=B2=D0=B0=20=D0=A0?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D0=B8=D1=81=D0=BB=D0=B0=D0=B2=D0=B0?= Date: Tue, 31 Oct 2023 19:56:12 +0300 Subject: [PATCH] Header v1 --- site/index.html | 1 + site/style/background.css | 21 ++++++--------------- site/style/header.html | 5 +---- 3 files changed, 8 insertions(+), 19 deletions(-) diff --git a/site/index.html b/site/index.html index 9d7c08c..5e75ea5 100644 --- a/site/index.html +++ b/site/index.html @@ -47,6 +47,7 @@

©Defectum studio

+ diff --git a/site/style/background.css b/site/style/background.css index f445f23..677c493 100644 --- a/site/style/background.css +++ b/site/style/background.css @@ -3,25 +3,16 @@ } header{ - position: fixed; - margin: 0 auto; + margin: auto; left: 0; - top: 0; + top: 10%; - width: 100%; z-index: 2; - } - - .prevHeader{ + width: 70%; background-color: var(--headerBoxColor); - overflow: hidden; - } - .postHeader{ - height: calc(var(--boxHeight) * 0.3); - background-color: var(--postHeaderBoxColor); - border-bottom-left-radius: 1vw; - border-bottom-right-radius: 1vw; + border-radius: 2vw; + overflow: hidden; } body{ @@ -31,7 +22,7 @@ .vologdaDescription{ position:relative; margin: auto; - margin-top: 10%; + margin-top: 6vw; width: var(--blockSize); diff --git a/site/style/header.html b/site/style/header.html index 66d1a54..7c31892 100644 --- a/site/style/header.html +++ b/site/style/header.html @@ -1,6 +1,3 @@
-
-

Вологда путешествия

-
-
+

Вологда путешествия