From 74de406f1d4e763e500a63aeb8c7d3fa10775e9d Mon Sep 17 00:00:00 2001 From: thematdev Date: Fri, 17 Sep 2021 15:25:10 +0300 Subject: [PATCH] Some minor improvements + mobile support --- app/static/css/style.css | 16 ++++++++++++++-- app/static/images/blank.png | Bin 0 -> 948 bytes app/static/images/grave.jpg | Bin 0 -> 8126 bytes app/templates/index.html | 12 ++++++++---- config/json/projects.json | 16 ++++++++-------- 5 files changed, 30 insertions(+), 14 deletions(-) create mode 100644 app/static/images/blank.png create mode 100644 app/static/images/grave.jpg diff --git a/app/static/css/style.css b/app/static/css/style.css index dc8061e..ede3834 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -21,7 +21,7 @@ body { .pagehead-inner { position: inherit; margin: 0; - width: 24%; + width: 27%; height: 55vh; top: 50%; left: 50%; @@ -33,6 +33,18 @@ body { flex-direction: column; } +/* .pagehead-inner { + position: inherit; + margin: 0; + top: 50%; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; +} */ + + + .pagehead-inner > p { color: white; font-family: "Overpass Mono", monospace; @@ -80,7 +92,7 @@ body { .pagebody { width: 100%; - height: 100vh; + min-height: 100vh; position: relative; background: #222; display: flex; diff --git a/app/static/images/blank.png b/app/static/images/blank.png new file mode 100644 index 0000000000000000000000000000000000000000..ba1848fbf7932e6d0afdd17c9c8ff753cb693cd7 GIT binary patch literal 948 zcmeAS@N?(olHy`uVBq!ia0vp^CqS5k4M?tyST~P>fl)d$B%&n3*T*V3KUXg?B|j-u zuOhbqD9^xPV_#8_n4FzjqL7rDo|$K>^nUk#C56lsTcvPQUjyF)=hTc$kE){7;3~h6 zMhJ1(0FE1&_nsU?XD6}dTi#a0!zN?>!XfNYSkzLEl1NlCV?QiN}Sf^&XR zs)DJWsh)w79hZVlQA(Oskc%5sGmvMilu=SrV5P5LUS6(OZmgGIl&)`RX=$l%V5Dzk zqzhD`TU?n}l31aeSF8*&0%C?sYH@N=Wa z+U*w$&37?qZFLn86;uvX%t#je$eJan{3C19Y3~z9AHQp2i9Q$>Adp)l`b#`RJA%7u z5r@)^NbOr07SDwg9na`&{`@w-yzOpeK}%3qR>)5W-`Q0KHVC`JxaM8J4;uXReB-NfdK3aJ>r6f{-7nk@8q z(eaceCvN@ye>+^+?n3;Edjbuw(oa{tXLxS*WSh?G*C#d=9S``)GW})JzgLPpbshUc zuiWB4u$A$7xU23aZt>X{KCNi|S`fENr2NR^4`p1v+!tz?OTAm?{e4&biD6;s&sEts zZnyhczK{CHI9W3N*WK0WZNQYtS>O>_%)r1c48n{Iv*t(u1vh%SIEGZrd3%tN5y)#& i_`g2S!vVw`q@YH!@EHT6PeTz4$bp`&elF{r5}E+P8!_?# literal 0 HcmV?d00001 diff --git a/app/static/images/grave.jpg b/app/static/images/grave.jpg new file mode 100644 index 0000000000000000000000000000000000000000..685f4351b073fea5e52150616111a4d7d2e31fd8 GIT binary patch literal 8126 zcmdTpXIN8R(l>$7Ra#Iw2uK&{gsxOU1p*PJND-wYAPOkGN~9M-x`6bq6e&?b5KxpZ z3euz(K|`;b1Pib}@4ox(?vL+=4EIdV%$+%B+L^o4yE6okt0|vV20$PH0AW7BP9NY0 zKz1(z0tgWiArTQN2{ADVDFxXf%!h)GoQfRtM|YH-21-MJl$(WtfrVRulY>(LCM*n7 zQB*NBbO-&X40h@O3L=mN$N~?<3VKrkK%E9=h-9|9&I!~+rSd;*Ae z@mt21&t5(Er!OftpXL2Oe7&!6gb4oWYig3f5G;H(BEZJ+RBNa*ZAnwT7>p7*S)^}T z#oNLkDjqpVpiQ*RH)qG6_mecd zG_oq6xa>HeDy193p z<)R@gR(6bpwm6OW&S97NNt$J-Qv1mq*FcMq#%j-ZoW0j(^yCaTD(3aCU{^o-m$Uz%m*6%t*ENeq;6BpgG4Ig(>2UKlmWew5ZdWzA>Drx*EQyULbd6TCnniorCPl zQ{spH%eAp;gMZA3x5muK-n1^d>ySJ!;_hQ?$4F}Pd#fH)zjta(C~dX6U9NX=vAsgh z1Z_X5k6Rr2VB2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vi|&G{*- zE%5$j{1J}Q#lB_dsFy~5mNmLyqU&9v{UAnc}8Q^!b?`Y$Xp-2ORiEG$r}w5fpvaR z-9)%Wj0Z~InPNs3MIP->hxM@>HAC^BE}?Z3Yi(j*>AqpILdO8JM+9Vl|ORU z4dGVui$uC@Lc@^l8{)f4Jm1tzhAhvvs*z*xgpHSB#42*_YU>rpr4A#g5ua<`yDR1D zBfMkY{duq;K#BuH@)}3t!GlsoD<#P|g*E6lGg&;zDhyxETVr)^5l$)v-B!Vngo(Po z>1lRT!aTMJcITtOy`l$%j``#4z-(*-Mm~$1S%nc8`Pf=%oR&J|phoP!bo5{0dUv~3 zX$ngs-8~_ozx&vlu^BVeanvQomM3x1p&PqM28{RzWWg~;t{pdecEVtO>fGpJ-g&2- z(ky7PvQlJZ6HLsAv$)4lYwZB>j#YlY^NvMRE=G`toc>qC7y6`YZMOY|yavq}`9|g75V zx0ky<{!7Fulwpkv^@D3Lrf9`p4?AW3&9XVuzc&!9(jWeP!GE6nsuteTgP tL-gvdOv{{LdkK&2%30!ZS2KcV?cSsuyfHX=V%Ao_+%tk453^z){{alm(whJP literal 0 HcmV?d00001 diff --git a/app/templates/index.html b/app/templates/index.html index 9857fae..bea99e0 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1,6 +1,7 @@ + thematdev @@ -12,8 +13,8 @@

Тут можно подпись какую-то сделать

Ваш IQ: {{ random_number }}

-

Мои проекты

+

Мои проекты Кладбище

{% for project in projects %}

{{ project.title }}

-

{{ project.description }}

+

{{project.description|safe}}

{% endfor %}
diff --git a/config/json/projects.json b/config/json/projects.json index c46f3bb..4497797 100644 --- a/config/json/projects.json +++ b/config/json/projects.json @@ -2,19 +2,19 @@ "cols": 3, "projects" : [ { - "title": "Этот сайт", - "description": "Текст", - "image": "images/thissite.png" + "title": "Этот сайт", + "description": "Я наконец-то начал им заниматься, как вы видите.", + "image": "images/blank.png" }, { "title": "ChatManager", - "description": "Плагин для работы с чатом в Minecraft.", - "image": "images/chatmanager.png" + "description": "Плагин для работы с чатом в Minecraft. RIP, даже не пытайтесь аудитить этот код, вам же дороже.", + "image": "images/grave.jpg" }, { - "title": "Скоро, совсем скоро, текст", - "description": "Скоро", - "image": "images/soon.jpg" + "title": "Wiki", + "description": "Конспекты по информатике и математике. Пока что можете заценить это ", + "image": "images/blank.png" } ] }