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> <p class="miniText"> ©Defectum studio</p>
</div> </div>
</footer> </footer>
<!-- load all included html pages --> <!-- load all included html pages -->
<script>includeHTML();</script> <script>includeHTML();</script>
</body> </body>

View File

@@ -3,25 +3,16 @@
} }
header{ header{
position: fixed; margin: auto;
margin: 0 auto;
left: 0; left: 0;
top: 0; top: 10%;
width: 100%;
z-index: 2; z-index: 2;
} width: 70%;
.prevHeader{
background-color: var(--headerBoxColor); background-color: var(--headerBoxColor);
overflow: hidden;
}
.postHeader{ border-radius: 2vw;
height: calc(var(--boxHeight) * 0.3); overflow: hidden;
background-color: var(--postHeaderBoxColor);
border-bottom-left-radius: 1vw;
border-bottom-right-radius: 1vw;
} }
body{ body{
@@ -31,7 +22,7 @@
.vologdaDescription{ .vologdaDescription{
position:relative; position:relative;
margin: auto; margin: auto;
margin-top: 10%; margin-top: 6vw;
width: var(--blockSize); width: var(--blockSize);

View File

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