From 481a229862e10379de74eb97b13f0c759bbc2c24 Mon Sep 17 00:00:00 2001 From: Dinosaur <78600651+Darya-Tolmeneva@users.noreply.github.com> Date: Wed, 20 Apr 2022 16:14:23 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=20?= =?UTF-8?q?=D0=BD=D0=B0=D0=B2=D0=B1=D0=B0=D1=80,=20=D0=B4=D0=BE=D0=B1?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0=20=D1=81=D1=82=D1=80=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D1=86=D0=B0=20=D0=BF=D1=80=D0=BE=D1=84=D0=B8=D0=BB?= =?UTF-8?q?=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/moona_data.db | Bin 73728 -> 73728 bytes main.py | 3 ++ static/css/base.css | 2 +- static/css/diary.css | 21 +++----- templates/base.html | 118 +++++++++++++++++++++++++++--------------- templates/profil.html | 0 6 files changed, 89 insertions(+), 55 deletions(-) create mode 100644 templates/profil.html diff --git a/db/moona_data.db b/db/moona_data.db index ab316c8a440b9d6f254a044fbf1bd45e6b1641b7..7aec7a6f18b283800c8cc3d21965081426f0553b 100644 GIT binary patch delta 166 zcmZoTz|wGlWr8&0+leyHtZy0gyeDi-Szs@~#`%_k^DS>J&q*F5?tT21Ha7lY*(~51 z!^xPrIoB_hQBQ}Bn}MI7(UF0JUy$F>kjcov$Vk_~MAy(%!O+6W#Kg+TK+n+9+{Dt@ z5C}E}un2H5^513PzstXefA(fUg$ewV=jGcgD>AY&Ffuwau_EiYv@)=;GBD6HHn%V~ JG+$J(0RTmVDzX3o delta 121 zcmV-<0EYj7zyyH61dtm6>5&{m1?d1TPkpgupg#@;3GDz0?G1el$qX_JzOjM+1hWuD zTnPb}vu#dg0h5qRF0xPr5DEYg000l(54;bXvk@SW50jp6KO-{$001Hh0YL*YFfuYN bFf=VOG$1lEIxsalG&wFYFf=wXGoo;?Wl$r8 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}} - + +