1
0
mirror of https://github.com/robonen/metr.git synced 2026-03-20 02:44:42 +00:00

Страница добавления объявления

This commit is contained in:
zak1qel
2022-05-29 11:26:13 +07:00
parent 4c7db78fcc
commit 8cdc2a4b89
2 changed files with 473 additions and 0 deletions

144
frontend/raw/addingAdv.html Normal file
View File

@@ -0,0 +1,144 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/addingAdv.css">
<title>Metr</title>
</head>
<body>
<header class="header">
<div class="container">
<div class="header__table">
<div class="header__image"></div>
<div class="header__block">
<div class="header__block__content">
<img src="assets/images/location.png" alt="">
<a class="nav__link_tomsk" href="#">Томск</a>
</div>
</div>
<div class="header__block">
<div class="header__block__contenttop">
<a class="nav__link" href="#">каталог</a>
</div>
<div class="header__block__contentdown">
<a class="nav__link" href="#">блог</a>
</div>
</div>
<div class="header__block">
<div class="header__block__contenttop">
<a class="nav__link" href="#">контакты</a>
</div>
<div class="header__block__contentdown">
<a class="nav__link" href="#">помощь</a>
</div>
</div>
<div class="header__search">
<div class="search">
<div class="search__block">
</div>
<div class="search__img">
<a class="nav__link" href="#">
<img src="assets/images/search.jpg" alt="">
</a>
</div>
</div>
</div>
<div class="header__contacts">
<div class="header__contacts__imgtop">
<a class="nav__link" href="#">
<img src="assets/images/tell.jpg" alt="">
</a>
</div>
<div class="header__contacts__img">
<a class="nav__link" href="#">
<img src="assets/images/user.jpg" alt="">
</a>
</div>
</div>
</div>
</div>
</header>
<div class="intro">
<div class="main">
<div class="user__info">
<div class="user__profile">
<div class="user__logo">
<img src="assets/images/userlogo.png" alt="">
</div>
<div class="username">
<h3>Виктория</h3>
</div>
<div class="user__stat">
<div class="stat"><h3>4,5</h3></div>
<div class="stars">
<img src="assets/images/star.png" alt="">
<img src="assets/images/star.png" alt="">
<img src="assets/images/star.png" alt="">
<img src="assets/images/star.png" alt="">
<img src="assets/images/star.png" alt="">
</div>
</div>
</div>
<div class="hrefs">
<div class="user__hrefs">
<div class="aboutme">
<a href="#"><h2>Обо мне</h2></a>
</div>
<div class="my__notice">
<a href="#"><h2>Мои объявления</h2></a>
</div>
<div class="add__notice">
<a href="#"><h2>Добавить объявление</h2></a>
</div>
<div class="favorites">
<a href="#"><h2>Избранное</h2></a>
</div>
</div>
</div>
</div>
<div class="about__user">
<div class="about__title"><h2>Добавить объявление</h2></div>
<div class="about__images">
<img src="assets/images/metr.svg" alt="">
<img src="assets/images/metr.svg" alt="">
<img src="assets/images/metr.svg" alt="">
</div>
<div class="about__describtions">
<div class="descriptions__name">
<h4>Название для объявления:</h4>
<input type="text" size="40">
</div>
<div class="descriptions__address">
<h4>Адрес:</h4>
<input type="text" size="40">
</div>
<div class="descriptions__price">
<h4>Цена:</h4>
<input type="text" size="40">
</div>
<div class="descriptions__flats">
<h4>Кол-во комнат:</h4>
<input type="text" size="40">
</div>
<div class="descriptions__square">
<h4>Площадь:</h4>
<input type="text" size="40">
</div>
<div class="descriptions__text">
<h4>Описание:</h4>
<input type="text" size="40">
</div>
</div>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,329 @@
/* 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: 100vh;
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: row;
justify-content: center;
margin: 0 10%;
}
.user__info {
display: flex;
flex-direction: column;
justify-content: space-around;
margin-right: 5%;
}
.user__logo {
display: flex;
flex-direction: row;
justify-content: center;
border-radius: 20px;
width: 200px;
height: 200px;
padding-left: 20%;
}
.username {
display: flex;
flex-direction: row;
justify-content: center;
}
.user__stat {
display: flex;
flex-direction: row;
margin: 2% 0 2% 5%;
}
.stars {
display: flex;
flex-direction: row;
margin-left: 5%;
padding-bottom: 1%;
}
.user__hrefs {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: left;
width: 110%;
padding-left: 5%;
}
.user__hrefs a{
text-decoration: none;
color: white;
font-size: 15px;
font-weight: 600;
}
.about__user {
display: flex;
flex-direction: column;
}
.about__images {
width: 105%;
display: flex;
flex-direction: row;
justify-content: space-between;
margin-top: 1%;
}
.about__describtions {
margin-top: 5%;
}
.descriptions {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.descriptions__name {
display: flex;
flex-direction: row;
margin-top: 1%;
}
.descriptions__address {
display: flex;
flex-direction: row;
margin-top: 1%;
}
.descriptions__price {
display: flex;
flex-direction: row;
margin-top: 1%;
}
.descriptions__flats {
display: flex;
flex-direction: row;
margin-top: 1%;
}
.descriptions__square {
display: flex;
flex-direction: row;
margin-top: 1%;
}
.descriptions__text {
display: flex;
flex-direction: column;
margin-top: 1%;
}
.about__describtions input {
background-color: rgb(201, 233, 252);
border-radius: 5px;
border-color: white;
box-shadow: none;
border: 1px solid rgb(83, 110, 136);
}
.about__describtions h4 {
margin-right: 3%;
}
.descriptions__text input {
width: 100%;
height: 100px;
}