rumine-web/rumine/templates/404.html

78 lines
1.4 KiB
HTML

{% extends "base.html" %}
{% load static %}
{% block title %}Page not found{% endblock %}
{% block body_class %}template-404{% endblock %}
{% block content_full %}
<style>
/*======================
404 page
=======================*/
.page_404{
padding:40px 0;
background:#fff;
display: grid;
height: 79vh;
}
.page_404 .container {
margin: auto;
}
.page_404 img{ width:100%;}
.four_zero_four_bg{
/* background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif); */
background-image: url("{% static 'images/404-1.gif' %}");
height: 400px;
background-position: center;
}
.four_zero_four_bg h1{
font-size:80px;
}
.four_zero_four_bg h3{
font-size:80px;
}
.link_404{
color: #fff!important;
padding: 10px 20px;
background: #39ac31;
margin: 20px 0;
display: inline-block;}
.contant_box_404{ margin-top:-50px;}
</style>
<section class="page_404">
<div class="container">
<div class="row">
<div class="col-sm-12 ">
<div class="text-center">
<div class="four_zero_four_bg">
<h1 class="text-center ">404</h1>
</div>
<div class="contant_box_404">
<h3 class="h2">
Ты потерялся?
</h3>
<p>Такой страницы не существует...</p>
<a href="/" class="link_404">Домой</a>
</div>
</div>
</div>
</div>
</div>
</section>
{% endblock %}