diff --git a/db/moona_data.db b/db/moona_data.db index ab316c8..7aec7a6 100644 Binary files a/db/moona_data.db and b/db/moona_data.db differ diff --git a/main.py b/main.py index 1194248..cb5336b 100644 --- a/main.py +++ b/main.py @@ -508,6 +508,9 @@ def recovery(): def about(): return render_template('about.html', title='О нас') +@app.route('/profil') +def profil(): + return render_template('profil.html', title='Профиль') def main(): db_session.global_init("db/moona_data.db") diff --git a/static/css/base.css b/static/css/base.css index 2da5d66..316a5dc 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -3,4 +3,4 @@ } body { font-family: 'Comfortaa', cursive; -} \ No newline at end of file +} diff --git a/static/css/diary.css b/static/css/diary.css index 75bdca2..b471eb1 100644 --- a/static/css/diary.css +++ b/static/css/diary.css @@ -95,27 +95,19 @@ textarea { .box { margin-left: 20px; } -#row2, #row1 { +#row2, #row1, #all_my_question { width: 30%; -} -#row1, #row2, #all_my_question { display:inline-block; vertical-align: top; -} -#all_my_question { - width: 30%; - height: -100%; -} -.question, .my_post { background-color:#7fc3ff; border-radius: 22px; - width: 90%; margin-left: 10px; } .is_ans { background-color:#ddefff; border:2px solid #ffffff; border-radius: 25px; + width: 380px; } .emot_block { color: #ffffff; @@ -126,7 +118,10 @@ table { width: 90%; } .like { -width: 50%; -margin-left: auto; - margin-right: auto; + width: 50%; + margin-left: auto; + margin-right: auto; +} +td { + margin: 20px; } \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 8ac15a4..dbd96af 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,6 +2,24 @@
+ + + + {{title}} - + +