From 8a1cc1e2764c4e45b9a63a92402a70f7ed684b6e Mon Sep 17 00:00:00 2001 From: chimchooree Date: Sun, 16 May 2021 16:07:16 -0500 Subject: [PATCH] grid push --- src/index.py | 2 +- src/static/css/diary.css | 28 +++++++++++++++++----------- src/static/css/feature.css | 3 ++- src/static/img/ele/diarybottom.png | Bin 1131 -> 1140 bytes src/static/img/ele/diaryheader.png | Bin 1727 -> 1727 bytes src/views/diary.tpl | 23 +++++++++++++---------- 6 files changed, 33 insertions(+), 23 deletions(-) diff --git a/src/index.py b/src/index.py index 6c38689..0cc4145 100644 --- a/src/index.py +++ b/src/index.py @@ -169,7 +169,7 @@ def retrieve_diary_entry_content(page,loc): with open(loc + str(page)) as f: lines = f.readlines() for line in lines: - if lines.index(line) >= 5: + if lines.index(line) >= 4: string += line return string diff --git a/src/static/css/diary.css b/src/static/css/diary.css index 3105f11..46c5871 100755 --- a/src/static/css/diary.css +++ b/src/static/css/diary.css @@ -200,7 +200,7 @@ ul { list-style-position: inside; } font-size: 10px; } .snippet-title a { - color: #E6E8EF; + color: #E3E0DE; font-weight: bold; text-shadow: -1px -1px 1px #324832, @@ -227,21 +227,17 @@ ul { list-style-position: inside; } } .snippet-content { background-color: #ecd5d2; + color: #080410; padding: 10px; font-size: 15px; } -.snippet-info { +.date-line { background-color: #ecd5d2; - padding: 10px; + color: #080410; + padding: 5px; + padding-left: 15px; font-size: 15px; -} -.snippet-info a { - color: black; - font-weight: bold; -} -.snippet-info a:hover { - color: #404664; - font-weight: bold; + text-align: left; } .snippet-tags { background-color: #ecd5d2; @@ -259,6 +255,16 @@ ul { list-style-position: inside; } font-weight: bold; display: inline-block; } +.social-line { + background-color: #404664; + padding-top: 5px; + padding-left: 15px; + +} +.social-line a { + color: #E3E0DE; + font-weight: bold; +} .snippet-link { margin-top: -35px; float: right; diff --git a/src/static/css/feature.css b/src/static/css/feature.css index a00b054..f1a33d3 100644 --- a/src/static/css/feature.css +++ b/src/static/css/feature.css @@ -119,7 +119,8 @@ ul,ol { list-style-position: inside; } border-top-right-radius: 25px; color: #e6e8ef; padding: 10px; - padding-top: 25px; + padding-top: 55px; + padding-bottom: 25px; font-size: 25px; text-align: center; font-weight: bold; diff --git a/src/static/img/ele/diarybottom.png b/src/static/img/ele/diarybottom.png index ee6cf22259bf444a95dad6d69ddd88c2f31379fa..4286fc2eba59f3812e9f7dc63bb0d28c73ce6e39 100644 GIT binary patch delta 302 zcmaFO@r7f84hO%u5|_(`r8N^xLRF@OnWR@0X8*5ta7*z>vFJ&2$Ve;cnbu=q=JV#- z0~s|9BM+mE3$HQNKi~EC8v_FaW0JSK3quF1tOt<8UlQaO{2v7{T)8u2Ay8_qr;B4q z#hkZS4)QV^aI|EXF-@7#a`>yGTidcmqfLKv zp^@B}>w9#2mjw5w1AGTpU2qgLkZcVFlImRRlhPf(Tqmt@2?(RTe+pvxINUHx3vIVCg!0QkOr`2YX_ delta 272 zcmV+r0q_3w2!387X6XHe``BRSfLa(r0>cYyW$Ymyofs(gKmd9DgkCKPCVG z00Cl4M?{o=XG#?S000McQchF<|NsC0{{R|G14aM<0IW$wK~#90?bN{y12G5%QS1Z# zmz)4Lc0vKW67woRV)SJK|K#Zd@Iq99iYic11uB{2=@alSgDOx^1*)imEN~fAfr2Vf z?JCFuX;1|Usz7Bqh*v=tSZTZll}Q#z(SkA-xOfYqqKpN$H5K0~Vl2o4I|QpjCt1K` z6jlXUz?>+&ik$^rG&Zg%qKeD{y{#x#6?$qxSJr_3R1sZJMpyp)Y~fUqVW6cu1pNRM W6K6%Toy_q70000%5A{tp|wHUE9TLT3Ehy@);lavD@9IGl>!2kbm3sF&L@GZxezKGbP$7W!jO00000NkvXXu0mjf DpO+(c delta 97 zcmV-n0G|K94ZjVLEC>!38xeU=?0B&>TLT4@e`iV+lavD@9Jdl#!2kbm3sF&L@GZxezFTC

{{!s[0]}}

+
{{!s[1]}}
-
- {{!s[2]}} - • - % if len(s[5]) >= 1: -
- % for j in s[5]: -
- {{j}} -
- % end + % if len(s[5]) >= 1: +
+ % for j in s[5]: +
+ {{j}}
+ % end +
% end +