Подправлены кнопки и блоки на страницах

This commit is contained in:
mrmur 2022-04-26 21:43:37 +05:00
parent 30b1c3cf73
commit f9faba1a2b
3 changed files with 19 additions and 9 deletions

View File

@ -27,7 +27,7 @@
details { details {
color: #ffffff; color: #ffffff;
} }
table { #main_table {
margin-left: 10%; margin-left: 10%;
margin-right: auto; margin-right: auto;
width: 90%; width: 90%;
@ -44,3 +44,6 @@ table {
border-radius: 25px; border-radius: 25px;
width: 95%; width: 95%;
} }
.but {
width: 80%;
}

View File

@ -38,3 +38,4 @@ details {
.hz1 { .hz1 {
margin: 5%; margin: 5%;
font-size: 160%; font-size: 160%;
}

View File

@ -2,13 +2,19 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<h1 class="upp_zag">Главная</h1> <table class="but">
<div> <tr>
<td style="width: 110%;">
<h1 class="upp_zag">Главная</h1>
</td>
<td>
<a href="/add_post" id="add_post" class="btn btn-primary" <a href="/add_post" id="add_post" class="btn btn-primary"
style="background-color:#1daff0;border-radius: 15px;"><strong>Добавить style="background-color:#1daff0;border-radius: 15px;"><strong>Добавить
запись</strong></a> запись</strong></a>
</div> </td>
<table> </tr>
</table>
<table id="main_table">
<th class="row1"> <th class="row1">
<div class="rowdiv1"> <div class="rowdiv1">
<h1 class="my_post_zag">Вопросы дня</h1> <h1 class="my_post_zag">Вопросы дня</h1>