Version 2
This commit is contained in:
@@ -1,33 +1,27 @@
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
header{
|
||||
position: fixed;
|
||||
margin: 0 auto;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
||||
height: calc(var(--boxHeight) * 1.5);
|
||||
|
||||
width: 100%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.prevHeader{
|
||||
background-color: var(--headerBoxColor);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.postHeader{
|
||||
position: fixed;
|
||||
margin: 0 auto;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin-top: calc(var(--boxHeight) * 1.5);
|
||||
|
||||
height: calc(var(--boxHeight) * 0.2);
|
||||
width: 100%;
|
||||
z-index: 2;
|
||||
|
||||
border-bottom-right-radius: 1vw;
|
||||
height: calc(var(--boxHeight) * 0.3);
|
||||
background-color: var(--postHeaderBoxColor);
|
||||
border-bottom-left-radius: 1vw;
|
||||
|
||||
background-color: var(--postHeaderBoxColor);
|
||||
overflow: hidden;
|
||||
border-bottom-right-radius: 1vw;
|
||||
}
|
||||
|
||||
body{
|
||||
@@ -36,11 +30,10 @@
|
||||
|
||||
.vologdaDescription{
|
||||
position:relative;
|
||||
left: calc(100% - (50% + var(--blockSize)/2));
|
||||
margin-top: calc(var(--boxHeight) * 2.2);
|
||||
margin: auto;
|
||||
margin-top: 10%;
|
||||
|
||||
width: var(--blockSize);
|
||||
height: calc(var(--boxHeight) * 2.8);
|
||||
|
||||
text-align: center;
|
||||
|
||||
@@ -51,11 +44,11 @@
|
||||
|
||||
.vologdaPlace{
|
||||
position:relative;
|
||||
left: calc(100% - (50% + var(--blockSize)/2));
|
||||
margin: auto;
|
||||
|
||||
width: var(--blockSize);
|
||||
margin-top: 6vw;
|
||||
height: calc(var(--boxHeight) * 10);
|
||||
height: 25%;
|
||||
|
||||
text-align: center;
|
||||
|
||||
@@ -66,11 +59,11 @@
|
||||
|
||||
.vologdaMap{
|
||||
position:relative;
|
||||
left: calc(100% - (50% + var(--blockSize)/2));
|
||||
margin: auto;
|
||||
margin-top: var(--vologdaBoxMargin);
|
||||
|
||||
width: var(--blockSize);
|
||||
height: calc(var(--boxHeight) * 8);
|
||||
height: 30vw;
|
||||
|
||||
text-align: center;
|
||||
|
||||
@@ -101,8 +94,6 @@
|
||||
}
|
||||
|
||||
.postFooter{
|
||||
height: calc(var(--boxHeight) * 1);
|
||||
|
||||
border-bottom-right-radius: 1vw;
|
||||
border-bottom-left-radius: 1vw;
|
||||
background-color: var(--headerBoxColor);
|
||||
@@ -118,17 +109,8 @@
|
||||
--bodyBoxColor:rgb(255, 255, 255);
|
||||
|
||||
--vologdaBoxMargin: 6vw;
|
||||
--blockSize: 40vw;
|
||||
--blockSize: 50vw;
|
||||
--vologdaBoxColor: rgb(177, 250, 250);
|
||||
|
||||
--boxHeight: 3.1vw;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 980px) {
|
||||
:root {
|
||||
--vologdaBoxMargin: 12vw;
|
||||
--blockSize: 80vw;
|
||||
|
||||
--boxHeight: 6.2vw;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user