This repository has been archived on 2024-01-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
arka-mvp/templates/index.html
T

137 lines
2.7 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%;
}
.buttons{
display: flex;
align-items: center;
margin-top: 5em;
}
#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;
}
@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>
<div class="slog">
<h2>Здесь вы найдете проверенного исполнителя или заказчика под любую вашу задачу и профиль</h2>
</div>
<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 %}