Files
Site_Vologda/site/style/background.css
Петухова Ростислава 2d3fca2c6e Footer v2
2023-10-31 20:29:28 +03:00

95 lines
1.9 KiB
CSS

html {
scroll-behavior: smooth;
}
header{
margin: auto;
left: 0;
top: 10%;
z-index: 2;
width: 60vw;
background-color: var(--headerBoxColor);
border-radius: 2vw;
overflow: hidden;
}
body{
background-color: var(--bodyBoxColor);
}
.vologdaDescription{
position:relative;
margin: auto;
margin-top: 6vw;
width: var(--blockSize);
text-align: center;
background-color: var(--vologdaBoxColor);
border-radius: 1vw;
overflow: hidden;
}
.vologdaPlace{
position:relative;
margin: auto;
width: var(--blockSize);
margin-top: 6vw;
height: 25%;
text-align: center;
background-color: var(--vologdaBoxColor);
border-radius: 1vw;
overflow: hidden;
}
.vologdaMap{
position:relative;
margin: auto;
margin-top: var(--vologdaBoxMargin);
width: var(--blockSize);
height: 30vw;
text-align: center;
background-color: var(--vologdaBoxColor);
overflow: hidden;
-moz-border-radius: 1vw 1vw 1vw 1vw; /* Firefox */
-webkit-border-radius: 1vw 1vw 1vw 1vw; /* Safari, Chrome */
-khtml-border-radius: 1vw 1vw 1vw 1vw; /* KHTML */
border-radius: 1vw 1vw 1vw 1vw; /* CSS3 */
}
footer{
position:relative;
margin: auto;
margin-top: calc(var(--boxHeight) * 1.5);
width: 70%;
background-color: var(--headerBoxColor);
border-radius: 1vw;
text-align: center;
overflow: hidden;
}
:root {
--headerBoxColor:rgb(177, 250, 250);
--postHeaderBoxColor:rgb(175, 238, 238);
--bodyBoxColor:rgb(255, 255, 255);
--vologdaBoxMargin: 6vw;
--blockSize: 50vw;
--vologdaBoxColor: rgb(177, 250, 250);
--boxHeight: 3.1vw;
}