Files
Site_Vologda/site/style/background.css
Frog-Lover-Antony d62c6d98e6 style + bg + color
2023-10-31 21:03:40 +03:00

124 lines
2.7 KiB
CSS

html {
scroll-behavior: smooth;
}
header{
margin: auto;
left: 0;
top: 10%;
z-index: 2;
width: 70%;
background-color: var(--headerBoxColor);
border-radius: 2vw;
overflow: hidden;
}
body{
background-color: var(--bodyBoxColor);
background-image: url('/style/background.png');
}
.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%;
}
.prevFooter{
height: calc(var(--boxHeight) * 0.4);
border-top-right-radius: 1vw;
border-top-left-radius: 1vw;
background-color: var(--postHeaderBoxColor);
}
.postFooter{
border-bottom-right-radius: 1vw;
border-bottom-left-radius: 1vw;
background-color: var(--headerBoxColor);
text-align: center;
overflow: hidden;
}
:root {
/* --headerBoxColor:rgb(177, 250, 250); */
--headerBoxColor:rgb(227, 38, 54);
/* --postHeaderBoxColor:rgb(175, 238, 238); */
--postHeaderBoxColor:rgb(173, 32, 43);
/* 89, 152, 197 */
/* --bodyBoxColor:rgb(255, 255, 255); */
/* --bodyBoxColor:rgb(39, 38, 53); */
/* --bodyBoxColor:rgb(78, 89, 140); */
/* --bodyBoxColor:rgb(10, 9, 3); */
--bodyBoxColor:rgb(89, 152, 197);
--vologdaBoxMargin: 6vw;
--blockSize: 50vw;
/* --vologdaBoxColor: rgb(177, 250, 250); */
--vologdaBoxColor: rgb(227, 38, 54);
--boxHeight: 3.1vw;
}