Header v1

This commit is contained in:
Петухова Ростислава
2023-10-31 19:56:12 +03:00
parent 62b0062c4d
commit 9b1ab813a9
3 changed files with 8 additions and 19 deletions

View File

@@ -47,6 +47,7 @@
<p class="miniText"> ©Defectum studio</p>
</div>
</footer>
<!-- load all included html pages -->
<script>includeHTML();</script>
</body>

View File

@@ -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);

View File

@@ -1,6 +1,3 @@
<header>
<div class="prevHeader">
<p class="titleText">Вологда путешествия</p>
</div>
<div class="postHeader"></div>
<p class="titleText">Вологда путешествия</p>
</header>