160 lines
3.2 KiB
HTML
160 lines
3.2 KiB
HTML
{% extends 'base.html' %}
|
|
{% block title %} Арка | Главная {% endblock %}
|
|
{% load static %}
|
|
|
|
{% block styles %}
|
|
<style>
|
|
|
|
main {
|
|
width: 100%;
|
|
margin-left: 6em;
|
|
}
|
|
|
|
main > h1{
|
|
margin-top: 2em;
|
|
width: 60%;
|
|
color: var(--brand-color);
|
|
font-weight: bolder;
|
|
line-height: 1.3;
|
|
font-size: 58px;
|
|
}
|
|
|
|
#intro-wrapper {
|
|
display: flex;
|
|
position: absolute;
|
|
z-index:-1;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
justify-content: right;
|
|
}
|
|
|
|
#intro-wrapper > img{
|
|
width: 40%;
|
|
}
|
|
/*-------BUTTON-------*/
|
|
|
|
.buttons{
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 7em;
|
|
}
|
|
|
|
#button-to{
|
|
margin: 16em;
|
|
}
|
|
|
|
.buttons > a{
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 10px;
|
|
|
|
font-size: 20px;
|
|
color: #eee;
|
|
|
|
text-decoration: none;
|
|
position: absolute;
|
|
width: 273px;
|
|
height: 70px;
|
|
background: #231765;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
/*---------SLOG--------*/
|
|
|
|
.slog{
|
|
box-sizing: border-box;
|
|
width: 45%;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 40px;
|
|
gap: 10px;
|
|
|
|
background: rgba(175, 162, 255, 0.06);
|
|
backdrop-filter: blur(5px);
|
|
border-radius: 24px;
|
|
}
|
|
.slog > h2{
|
|
|
|
font-style: normal;
|
|
font-weight: 800;
|
|
font-size: 20px;
|
|
line-height: 27px;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
color: #231765;
|
|
|
|
}
|
|
|
|
/*---------------CUBE-ARC---------------*/
|
|
|
|
#cube{
|
|
position: relative;
|
|
top:14em;
|
|
right:2em;
|
|
}
|
|
|
|
#arc{
|
|
position: relative;
|
|
top: 2.1em;
|
|
left: 35.5em;
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 900px) {
|
|
#intro-wrapper {
|
|
display: none;
|
|
}
|
|
|
|
.buttons {
|
|
/* вот тут был display: inline */
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: left;
|
|
height: 10%;
|
|
margin-top: 5%;
|
|
}
|
|
}
|
|
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div id="intro-wrapper">
|
|
<img src="{% static 'images/intro.webp' %}" alt="">
|
|
</div>
|
|
|
|
<h1>Создай объявление и получи ремонт с гарантией качества</h1>
|
|
|
|
<!------------SLOG----------->
|
|
|
|
<div id="cube-arc">
|
|
<img id="cube" src="{% static 'images/cube.png' %}" alt="">
|
|
<img id="arc" src="{% static 'images/arc.png' %}" alt="">
|
|
</div>
|
|
<div class="slog">
|
|
<h2>Здесь вы найдете проверенного исполнителя или заказчика под любую вашу задачу и профиль</h2>
|
|
</div>
|
|
<!------------BUTTON----------->
|
|
|
|
<div class="buttons">
|
|
<a id="button-on" href="{% url 'index' %}">Создать заказ</a>
|
|
<a id="button-to" href="{% url 'index' %}">Стать исполнителем</a>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<a href="{% url 'user-agreement' %}"></a>
|
|
|
|
{% endblock %}
|