195 lines
3.9 KiB
HTML
195 lines
3.9 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: 3.5em;
|
||
}
|
||
|
||
#intro-wrapper {
|
||
display: flex;
|
||
position: absolute;
|
||
z-index:-1;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
justify-content: right;
|
||
}
|
||
|
||
#intro-wrapper > img{
|
||
width: 40%;
|
||
margin-top: 10em;
|
||
margin-left: 10em;
|
||
}
|
||
/*-------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: 40%;
|
||
|
||
display: flex;
|
||
flex-direction: row;
|
||
|
||
box-shadow:inset 0 0 0 0 #654dea;
|
||
|
||
justify-content: center;
|
||
align-items: center;
|
||
gap: 10px;
|
||
|
||
padding: 2em 3em;
|
||
background: rgba(175, 162, 255, 0.06);
|
||
backdrop-filter: blur(5px);
|
||
border-radius: 24px;
|
||
}
|
||
.slog > h2{
|
||
|
||
font-style: normal;
|
||
|
||
font-size: 20px;
|
||
line-height: 27px;
|
||
align-items: center;
|
||
|
||
color: #231765;
|
||
|
||
}
|
||
|
||
/*---------------CUBE-ARC---------------*/
|
||
|
||
#cube{
|
||
position:absolute;
|
||
top: 500px;
|
||
right:1380px;
|
||
}
|
||
|
||
#arc{
|
||
position:absolute;
|
||
left: 680px;
|
||
top: 370px;
|
||
}
|
||
|
||
.cube-arc{
|
||
display:block;
|
||
}
|
||
|
||
|
||
@media screen and (max-width: 900px) {
|
||
#intro-wrapper {
|
||
display: none;
|
||
}
|
||
|
||
.cube-arc{
|
||
display: none;
|
||
}
|
||
main{
|
||
margin-left:2em;
|
||
}
|
||
main > h1{
|
||
font-size: x-large;
|
||
font-weight: 900;
|
||
width: 70%;
|
||
margin-left: 1em;
|
||
text-align: center;
|
||
padding: 0 0;
|
||
}
|
||
.slog{
|
||
margin-top: 3em;
|
||
position:relative;
|
||
width: 90%;
|
||
padding: 0 0;
|
||
}
|
||
.slog > h2{
|
||
font-size:small;
|
||
text-align: center;
|
||
padding:0;
|
||
}
|
||
|
||
.buttons {
|
||
/* вот тут был display: inline */
|
||
display: block;
|
||
justify-content: left;
|
||
height: 10%;
|
||
margin-top: 5em;
|
||
|
||
}
|
||
#button-to{
|
||
margin: 5em auto;
|
||
}
|
||
}
|
||
|
||
</style>
|
||
{% endblock %}
|
||
|
||
{% block content %}
|
||
|
||
<div id="intro-wrapper">
|
||
<img src="{% static 'images/intro.png' %}" alt="">
|
||
</div>
|
||
|
||
<h1>Создай объявление и получи ремонт с гарантией качества</h1>
|
||
|
||
<!------------SLOG----------->
|
||
|
||
<div class="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 %}
|