diff --git a/main.py b/main.py index 96c68d1..68d4cdb 100644 --- a/main.py +++ b/main.py @@ -590,6 +590,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 7d1804c..7addea3 100644 --- a/static/css/diary.css +++ b/static/css/diary.css @@ -116,6 +116,7 @@ textarea { background-color:#ddefff; border:2px solid #ffffff; border-radius: 25px; + width: 380px; } .emot_block { color: #ffffff; @@ -123,12 +124,16 @@ textarea { } table { margin-left: 5%; + width: 90%; } .like { -width: 50%; -margin-left: auto; - margin-right: auto; + width: 50%; + margin-left: auto; + margin-right: auto; } #row1_div, #row2_div, #row3_div { width: 90%; +} +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}} - + +