1
0
mirror of https://github.com/robonen/metr.git synced 2026-03-20 10:54:41 +00:00
Files
metr/frontend/raw/assets/css/advertisment.css

366 lines
5.5 KiB
CSS

/* Fonts */
@import url("../../fonts/StapelS/style.css");
body {
margin: 0;
font-family: 'Inter', sans-serif;
background-color: rgba(124, 173, 201, 1);
font-size: 17px;
color: white;
background: black;
line-height: 1.6;
}
*,
*:before,
*:after {
box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
}
/* Main */
.main {
width: 100%;
}
/* Container */
.container {
width: 100%;
max-width: 1920px;
margin: 0 auto;
}
/* Header */
.header {
width: 100%;
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 1000;
}
.header__table {
width: 1052px;
height: 100px;
border: 2px solid white;
margin: 50px auto 0;
display: flex;
flex-direction: row;
justify-content: center;
color: white;
}
.header__image {
width: 140px;
height: 96px;
margin: 0 auto;
background: url("../images/metr.svg") center
no-repeat;
background-size: cover;
border-right: 2px solid white;
}
.header__block {
width: 145px;
height: 96px;
margin: 0 auto;
border-right: 2px solid white;
}
.header__search {
width: 426px;
height: 96px;
margin: 0 auto;
display: flex;
flex-direction: row;
justify-content: center;
border-right: 2px solid white;
}
.search {
width: 340px;
height: 40px;
padding-top: 25px;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.search__block {
width: 300px;
height: 40px;
margin: 0;
padding-top: 20px;
background: white;
border: 1px solid black;
}
.search__img {
width: 40px;
height: 40px;
margin: 0;
padding-top: 2px;
}
.header__contacts {
width: 46px;
height: 96px;
margin: 0 auto;
display: flex;
flex-direction: column;
}
.header__contacts__imgtop {
width: 48px;
height: 48px;
padding-top: 5px;
border-bottom: 2px solid white;
}
.header__contacts__img {
width: 48px;
height: 48px;
padding-top: 5px;
}
.header__block__content {
width: 70px;
height: 20px;
margin: 0 auto;
padding-top: 35px;
}
.header__block__contenttop {
width: 145px;
height: 48px;
margin: 0 auto;
border-bottom: 2px solid white;
}
.header__block__contentbott {
width: 145px;
height: 48px;
}
.nav__link {
text-decoration: none;
color: white;
font-size: 15px;
display: flex;
flex-direction: row;
justify-content: center;
padding-top: 10px;
}
.nav__link_tomsk {
text-decoration: none;
color: white;
font-size: 15px;
}
.nav__link:hover, .nav__link_tomsk:hover {
color: #389EEB;
transition: color .2s linear;
}
/* Intro */
.intro {
width: 100%;
height: 170vh;
display: flex;
flex-direction: column;
align-items: center;
padding-top: 250px;
background-image: linear-gradient(to top, rgb(124, 173, 201, 1), rgb(94, 196, 242, 0.6)), url(
"../images/intro.jpg");
background-size: cover;
}
.main {
display: flex;
flex-direction: column;
justify-content: center;
}
.adv__info {
display: flex;
flex-direction: row;
justify-content: center;
}
.adv__main {
display: flex;
flex-direction: column;
justify-content: space-between;
margin-right: 2%;
}
.adv__main__title {
display: flex;
flex-direction: column;
}
.mprice__fav {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.favorite {
display: flex;
flex-direction: row;
justify-content: center;
border-radius: 5px;
padding: 5px;
background-color: rgba(26, 137, 201, 1);
}
.favoritext {
text-decoration: none;
color: white;
font-weight: 400;
}
.favoritextinf {
text-decoration: none;
color: white;
font-weight: 400;
display: flex;
flex-direction: row;
justify-content: center;
}
.adv__main__images {
display: flex;
flex-direction: column;
justify-content: space-between;
margin-top: 1%;
}
.other__images {
display: flex;
flex-direction: row;
}
.other__images a{
margin-right: 2%;
}
.adv__host {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.adv__host__about__user {
display: flex;
flex-direction: column;
}
.username {
margin: 3% 0;
}
.host__stat {
display: flex;
flex-direction: row;
justify-content: space-between;
margin: 3% 0;
}
.stat {
margin-right: 2%;
}
.stars {
display: flex;
flex-direction: row;
padding-bottom: 5%;
}
.number {
width: 150px;
height: 30px;
display: flex;
flex-direction: column;
justify-content: space-around;
background-color: rgba(26, 137, 201, 1);
border-radius: 5px;
margin: 3% 0;
padding: 10% 0;
}
.message {
width: 150px;
height: 30px;
background-color: rgba(26, 137, 201, 1);
border-radius: 5px;
margin: 3% 0;
}
.userlogo {
margin-left: 2%;
}
.about__adv {
display: flex;
flex-direction: column;
margin: 0 23%;
}
.about__adv__info {
}
.about__adv__descriptions {
}
.reviews {
display: flex;
flex-direction: column;
margin: 0 23%;
}
.reviews__blocks {
display: flex;
flex-direction: column;
}
.review {
width: 730px;
height: 50px;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
background-color: rgba(26, 137, 201, 1);
border-radius: 5px;
margin: 1% 0;
}
.review__stars {
display: flex;
flex-direction: row;
}