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

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 {
color: #ffffff;
}
table {
#main_table {
margin-left: 10%;
margin-right: auto;
width: 90%;
@ -43,4 +43,7 @@ table {
border:2px solid #ffffff;
border-radius: 25px;
width: 95%;
}
.but {
width: 80%;
}

View File

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

View File

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