diff --git a/src/diary/entries/200806 b/src/diary/entries/200806
index 6f6bdd4..04b45c9 100644
--- a/src/diary/entries/200806
+++ b/src/diary/entries/200806
@@ -1,7 +1,7 @@
what is blessfrey?
august 6, 2020
-#gamedescription
+#game
blessfrey is a 2D action RPG developed for PC by chimchooree.
diff --git a/src/diary/entries/210501 b/src/diary/entries/210501
index 4e173d6..401695c 100644
--- a/src/diary/entries/210501
+++ b/src/diary/entries/210501
@@ -1,7 +1,7 @@
april 2020: will patrols ever work?
may 1, 2021
-
+#diary
thursday, april 1 - April Fool's Day
diff --git a/src/diary/entries/210513 b/src/diary/entries/210513
index d671cb0..d4e6e74 100644
--- a/src/diary/entries/210513
+++ b/src/diary/entries/210513
@@ -1,7 +1,7 @@
playing FlightRising with spreadsheets
may 13, 2021
-#spreadsheets #petsites
+#offtopic #spreadsheets #petsites
My dragon breeding spreadsheet is really coming together, so I thought sharing it would be a fun break from AI.
diff --git a/src/index.py b/src/index.py
index b2d2e15..8becbf8 100644
--- a/src/index.py
+++ b/src/index.py
@@ -118,6 +118,19 @@ def list_headlines(articles):
result.append(b)
return result
+def find_tags(text):
+ new = text[3].replace(' ','')
+ new = new.replace('\n','')
+ new = new.split(" ")
+ final = []
+ for n in new:
+ if len(n) <= 0:
+ new.remove(n)
+ if '#' in n:
+ final.append(n)
+ final.sort()
+ return final
+
# Return title of article, formatted for sharing via social media
def find_social_title(text):
return clean(text[1]).replace(' ','+')
@@ -168,6 +181,7 @@ def list_snippets(articles):
a.append(find_timestamp(text))
a.append(find_url(path))
a.append(find_social_title(text))
+ a.append(find_tags(text))
result.append(a)
return result
@@ -276,6 +290,10 @@ def fill_box(new_file):
box.sort()
return box
+def find_year():
+ now = datetime.datetime.now()
+ return now.strftime('%Y')
+
## Static ##
# Serve CSS
@@ -315,21 +333,21 @@ def download(filename):
def index():
"""home page"""
loc = 'diary/entries/'
- info = {'css': 'index', 'news': list_headlines(gather_and_sort(loc)[0:10]), 'title': 'chimchooree\'s dev space - blessfrey', 'year': datetime.datetime.now()}
+ info = {'css': 'index', 'news': list_headlines(gather_and_sort(loc)[0:10]), 'title': 'chimchooree\'s dev space - blessfrey', 'year': find_year()}
return template('index.tpl', info)
# Projects Page - Game Template - system, character, story info
@route('/projects')
def projects():
"""projects page"""
- info = {'css': 'projects', 'title': 'chimchooree projects', 'year': datetime.datetime.now()}
+ info = {'css': 'projects', 'title': 'chimchooree projects', 'year': find_year()}
return template('projects.tpl', info)
# Presskit Page - Presskit Template - product, developer info
@route('/presskit')
def presskit():
"""press page"""
- info = {'css': 'presskit', 'title': 'blessfrey - presskit', 'year': datetime.datetime.now()}
+ info = {'css': 'presskit', 'title': 'blessfrey - presskit', 'year': find_year()}
return template('presskit.tpl', info)
# Start on first Diary page if no page given
@@ -343,7 +361,7 @@ def diary(page):
"""diary page"""
loc = 'diary/entries/'
assert isinstance(page, int)
- info = {'css': 'diary', 'title': 'blessfrey - developer diary', 'year': datetime.datetime.now(), 'snippets': list_snippets(gather_and_sort(loc)), 'latest': list_headlines(gather_and_sort(loc)[0:5]), 'total': len(curate_files(gather_files(loc))), 'limit': 8, 'cluster': 3, 'page': page}
+ info = {'css': 'diary', 'title': 'blessfrey - developer diary', 'year': find_year(), 'snippets': list_snippets(gather_and_sort(loc)), 'latest': list_headlines(gather_and_sort(loc)[0:5]), 'total': len(curate_files(gather_files(loc))), 'limit': 8, 'cluster': 3, 'page': page}
return template('diary.tpl', info)
# Entry Page - Feature Template - for articles
@@ -353,7 +371,7 @@ def entry(page):
if not is_it_time(page):
return error404(404)
loc = 'diary/entries/'
- info = {'css': 'feature', 'title': 'blessfrey - developer diary', 'year': datetime.datetime.now(), 'entry': retrieve_article(page, loc), 'recommends': list_rec(page), 'articles': "Articles", 'latest': list_headlines(gather_and_sort(loc)[0:5]), 'page': page}
+ info = {'css': 'feature', 'title': 'blessfrey - developer diary', 'year': find_year(), 'entry': retrieve_article(page, loc), 'recommends': list_rec(page), 'articles': "Articles", 'latest': list_headlines(gather_and_sort(loc)[0:5]), 'page': page}
abs_app_dir_path = os.path.dirname(os.path.realpath(__file__))
abs_views_path = os.path.join(abs_app_dir_path, 'views')
TEMPLATE_PATH.insert(0, abs_views_path )
@@ -364,7 +382,7 @@ def entry(page):
def extra(page):
"""diary extra"""
loc = 'diary/entries/extra/'
- info = {'css': 'feature', 'title': 'blessfrey - developer diary', 'year': datetime.datetime.now(), 'entry': retrieve_article(page, loc), 'recommends': list_rec(page), 'articles': "Articles", 'latest': list_headlines(gather_and_sort('diary/entries/')[0:5]), 'page': page}
+ info = {'css': 'feature', 'title': 'blessfrey - developer diary', 'year': find_year(), 'entry': retrieve_article(page, loc), 'recommends': list_rec(page), 'articles': "Articles", 'latest': list_headlines(gather_and_sort('diary/entries/')[0:5]), 'page': page}
abs_app_dir_path = os.path.dirname(os.path.realpath(__file__))
abs_views_path = os.path.join(abs_app_dir_path, 'views')
TEMPLATE_PATH.insert(0, abs_views_path )
@@ -374,14 +392,14 @@ def extra(page):
@route('/box')
def box():
"""personal page"""
- info = {'css': 'box', 'title': 'chimchooree\'s personal page', 'year': datetime.datetime.now()}
+ info = {'css': 'box', 'title': 'chimchooree\'s personal page', 'year': find_year()}
return template('box.tpl', info)
# Credits Page - Credits Template
@route('/credits')
def credits():
"""credits page"""
- info = {'css': 'contact', 'title': 'blessfrey - credits', 'year': datetime.datetime.now()}
+ info = {'css': 'contact', 'title': 'blessfrey - credits', 'year': find_year()}
return template('credits.tpl', info)
@@ -389,27 +407,21 @@ def credits():
@route('/contact')
def contact():
"""contact page"""
- info = {'css': 'contact', 'title': 'blessfrey - contact chimchooree', 'year': datetime.datetime.now()}
+ info = {'css': 'contact', 'title': 'blessfrey - contact chimchooree', 'year': find_year()}
return template('contact.tpl', info)
# Idea Box Page - Box Template
@route('/ideabox')
def ideabox():
"""idea box page"""
- info = {'css': 'box', 'title': 'blessfrey - idea box - a collection of inspiring concepts', 'words': fill_box('diary/entries/extra/ideabox'), 'limit': 5, 'year': datetime.datetime.now()}
+ info = {'css': 'box', 'title': 'blessfrey - idea box - a collection of inspiring concepts', 'words': fill_box('diary/entries/extra/ideabox'), 'limit': 5, 'year': find_year()}
return template('ideabox.tpl', info)
-# RSS feed
-#@route('/rss')
-#def rss():
-# """rss feed"""
-# return static_file("static/xml/rss.xml", root='static/xml', mimetype='text/xml')
-
# Task Box Page - Box Template
@route('/taskbox')
def taskbox():
"""task box page"""
- info = {'css': 'box', 'title': 'blessfrey - task box - everything needed to complete blessfrey', 'game_words': fill_box('diary/entries/extra/taskbox'), 'web_words': fill_box('diary/entries/extra/websitebox'), 'limit': 5, 'year': datetime.datetime.now()}
+ info = {'css': 'box', 'title': 'blessfrey - task box - everything needed to complete blessfrey', 'game_words': fill_box('diary/entries/extra/taskbox'), 'web_words': fill_box('diary/entries/extra/websitebox'), 'limit': 5, 'year': find_year()}
return template('taskbox.tpl', info)
## Main ##
diff --git a/src/static/css/box.css b/src/static/css/box.css
index 1ce3435..d27e4de 100755
--- a/src/static/css/box.css
+++ b/src/static/css/box.css
@@ -93,20 +93,18 @@ body {
transform: translate(-50%, -50%)
}
.nav-link a {
- font-size: 18px;
-}
-
-.nav-link a:link {
- color: #66C7F4;
-}
-.nav-link a:visited {
- color: #CB9CF2;
-}
-.nav-link a:hover {
- color: #F9B3D7;
-}
-.nav-link a:active {
- color: #f463ad;
+ font-size: 21px;
+ color: #E6E8EF;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px black,
+ 0 -1px 1px black,
+ 2px -1px 1px black,
+ 2px 0 1px black,
+ 2px 2px 1px black,
+ 0 2px 1px black,
+ -1px 2px 1px black,
+ -1px 0 1px black;
}
table, th, td {
diff --git a/src/static/css/contact.css b/src/static/css/contact.css
index f929fdc..8f2c7cd 100644
--- a/src/static/css/contact.css
+++ b/src/static/css/contact.css
@@ -95,20 +95,18 @@ body {
transform: translate(-50%, -50%)
}
.nav-link a {
- font-size: 18px;
-}
-
-.nav-link a:link {
- color: #66C7F4;
-}
-.nav-link a:visited {
- color: #CB9CF2;
-}
-.nav-link a:hover {
- color: #F9B3D7;
-}
-.nav-link a:active {
- color: #f463ad;
+ font-size: 21px;
+ color: #E6E8EF;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px black,
+ 0 -1px 1px black,
+ 2px -1px 1px black,
+ 2px 0 1px black,
+ 2px 2px 1px black,
+ 0 2px 1px black,
+ -1px 2px 1px black,
+ -1px 0 1px black;
}
.footer-content {
diff --git a/src/static/css/diary.css b/src/static/css/diary.css
index e5b8152..3105f11 100755
--- a/src/static/css/diary.css
+++ b/src/static/css/diary.css
@@ -1,6 +1,7 @@
* {
padding:0;
margin:0;
+ font-family: "Ubuntu", "Open Sans", "Calibri", "Arial", sans-serif;
}
a {
@@ -85,19 +86,32 @@ ul { list-style-position: inside; }
transform: translate(-50%, -50%)
}
.nav-link a {
- font-size: 18px;
-}
-.nav-link a:link {
- color: #66C7F4;
-}
-.nav-link a:visited {
- color: #CB9CF2;
+ font-size: 21px;
+ color: #E6E8EF;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px black,
+ 0 -1px 1px black,
+ 2px -1px 1px black,
+ 2px 0 1px black,
+ 2px 2px 1px black,
+ 0 2px 1px black,
+ -1px 2px 1px black,
+ -1px 0 1px black;
}
.nav-link a:hover {
- color: #F9B3D7;
-}
-.nav-link a:active {
- color: #f463ad;
+ font-size: 21px;
+ color: #ecd5d2;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px black,
+ 0 -1px 1px black,
+ 2px -1px 1px black,
+ 2px 0 1px black,
+ 2px 2px 1px black,
+ 0 2px 1px black,
+ -1px 2px 1px black,
+ -1px 0 1px black;
}
/* Body */
@@ -110,24 +124,58 @@ ul { list-style-position: inside; }
.diary-dir {
background-color: #080410;
- color: #F9B3D7;
- font-size: 20px;
- padding-top: 5px;
+ font-size: 23px;
+ padding: 0px;
+ margin: 0px;
+ color: #AAA39D;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px #080410,
+ 0 -1px 1px #080410,
+ 2px -1px 1px #080410,
+ 2px 0 1px #080410,
+ 2px 2px 1px #080410,
+ 0 2px 1px #080410,
+ -1px 2px 1px #080410,
+ -1px 0 1px #080410;
+}
+.diary-dir a {
+ color: #E6E8EF;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px #080410,
+ 0 -1px 1px #080410,
+ 2px -1px 1px #080410,
+ 2px 0 1px #080410,
+ 2px 2px 1px #080410,
+ 0 2px 1px #080410,
+ -1px 2px 1px #080410,
+ -1px 0 1px #080410;
}
-.diary-dir a:link {
- color: #C9C2D6;
+.diary-dir.top {
+ grid-area: 3 / 1 / 4 / 5;
+ padding-top: 3px;
}
-.diary-dir a:visited {
- color: #C9C2D6;
+.diary-dir-left {
+ display: inline-block;
+ vertical-align: middle;
}
-.diary-dir a:hover {
- color: #F9B3D7;
+.diary-dir-numbers {
+ height: 29px;
+ display: inline-block;
+ white-space: nowrap;
}
-.diary-dir a:active {
- color: #f463ad;
+.diary-dir-number {
+ background-color: #404664;
+ display: inline-block;
+ white-space: nowrap;
+ border-radius: 25px;
+ padding-left: 4px;
+ padding-right: 4px;
}
-.diary-dir.top {
- grid-area: 3 / 1 / 4 / 5;
+.diary-dir-right {
+ display: inline-block;
+ vertical-align: middle;
}
.body-row {
@@ -140,23 +188,86 @@ ul { list-style-position: inside; }
}
.snippet {
- background-color: #C9C2D6;
- color: #080410;
- padding: 20px;
margin-top: 0px;
- margin-bottom: 30px;
-}
-.snippet a:link {
- color: #401231;
-}
-.snippet a:visited {
- color: #401231;
+ margin-bottom: 50px;
}
-.snippet a:hover {
- color: #902771;
-}
-.snippet a:active {
- color: #900C3F;
+
+.snippet-title {
+ background-image: url(../img/ele/diaryheader.png);
+ background-size: 100%;
+ height: 40px;
+ padding: 10px;
+ font-size: 10px;
+}
+.snippet-title a {
+ color: #E6E8EF;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px #324832,
+ 0 -1px 1px #324832,
+ 2px -1px 1px #324832,
+ 2px 0 1px #324832,
+ 2px 2px 1px #324832,
+ 0 2px 1px #324832,
+ -1px 2px 1px #324832,
+ -1px 0 1px #324832;
+}
+.snippet-title a:hover {
+ color: #ecd5d2;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px #324832,
+ 0 -1px 1px #324832,
+ 2px -1px 1px #324832,
+ 2px 0 1px #324832,
+ 2px 2px 1px #324832,
+ 0 2px 1px #324832,
+ -1px 2px 1px #324832,
+ -1px 0 1px #324832;
+}
+.snippet-content {
+ background-color: #ecd5d2;
+ padding: 10px;
+ font-size: 15px;
+}
+.snippet-info {
+ background-color: #ecd5d2;
+ padding: 10px;
+ font-size: 15px;
+}
+.snippet-info a {
+ color: black;
+ font-weight: bold;
+}
+.snippet-info a:hover {
+ color: #404664;
+ font-weight: bold;
+}
+.snippet-tags {
+ background-color: #ecd5d2;
+ padding: 10px;
+ font-size: 15px;
+}
+.snippet-tag {
+ background-color: #b9b4af;
+ border-radius: 25px;
+ padding: 3px;
+ padding-left: 4px;
+ padding-right: 4px;
+ color: black;
+ font-size: 15px;
+ font-weight: bold;
+ display: inline-block;
+}
+.snippet-link {
+ margin-top: -35px;
+ float: right;
+ font-size: 15px;
+}
+.snippet-bottom {
+ background-image: url(../img/ele/diarybottom.png);
+ background-size: 100%;
+ height: 25px;
}
.sidebar {
@@ -170,21 +281,22 @@ ul { list-style-position: inside; }
padding-left: 7px;
}
.sidebar a:link {
- color: #C9C2D6;
-}
-.sidebar a:visited {
- color: #C9C2D6;
+ color: #213021;
}
.sidebar a:hover {
- color: #F9B3D7;
+ color: #486438;
+}
+.sidebar a:visited {
+ color: #213021;
}
.sidebar a:active {
- color: #F9B3D7;
+ color: #945634;
}
.about-box {
grid-area: 4 / 3 / 5 / 4;
- background-color: #581845;
- color: #F9B3D7;
+ border-radius: 25px;
+ background-color: #95939F;
+ color: #111718;
text-align: center;
margin: 15px;
padding: 5px;
@@ -193,8 +305,9 @@ ul { list-style-position: inside; }
}
.twitter-box {
grid-area: 5 / 3 / 6 / 4;
- background-color: #581845;
- color: #F9B3D7;
+ border-radius: 25px;
+ background-color: #95939F;
+ color: #111718;
text-align: center;
margin: 15px;
padding: 5px;
@@ -202,8 +315,9 @@ ul { list-style-position: inside; }
}
.latest {
grid-area: 6 / 3 / 7 / 4;
- background-color: #581845;
- color: #F9B3D7;
+ border-radius: 25px;
+ background-color: #95939F;
+ color: #111718;
text-align: center;
list-style-position: inside;
margin: 15px;
@@ -216,8 +330,9 @@ ul { list-style-position: inside; }
}
.disclosure {
grid-area: 7 / 3 / 8 / 4;
- background-color: #581845;
- color: #F9B3D7;
+ border-radius: 25px;
+ background-color: #95939F;
+ color: #111718;
text-align: center;
margin: 15px;
padding: 5px;
@@ -235,7 +350,7 @@ ul { list-style-position: inside; }
.footer-content {
background-color: #080410;
- color: #F9B3D7;
+ color: #ecd5d2;
padding-top: 5px;
padding-right: 25px;
box-shadow: 0 100vh 0 100vh #581845;
diff --git a/src/static/css/feature.css b/src/static/css/feature.css
index 1e82c47..77c6f89 100644
--- a/src/static/css/feature.css
+++ b/src/static/css/feature.css
@@ -1,6 +1,7 @@
* {
padding:0;
margin:0;
+ font-family: "Ubuntu", "Open Sans", "Calibri", "Arial", sans-serif;
}
a {
@@ -85,19 +86,18 @@ ul,ol { list-style-position: inside; }
transform: translate(-50%, -50%)
}
.nav-link a {
- font-size: 18px;
-}
-.nav-link a:link {
- color: #66C7F4;
-}
-.nav-link a:visited {
- color: #CB9CF2;
-}
-.nav-link a:hover {
- color: #F9B3D7;
-}
-.nav-link a:active {
- color: #f463ad;
+ font-size: 21px;
+ color: #E6E8EF;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px black,
+ 0 -1px 1px black,
+ 2px -1px 1px black,
+ 2px 0 1px black,
+ 2px 2px 1px black,
+ 0 2px 1px black,
+ -1px 2px 1px black,
+ -1px 0 1px black;
}
/* Body */
@@ -129,21 +129,21 @@ ul,ol { list-style-position: inside; }
margin-top: 40px;
}
.sidebar a:link {
- color: #C9C2D6;
-}
-.sidebar a:visited {
- color: #C9C2D6;
+ color: #213021;
}
.sidebar a:hover {
- color: #F9B3D7;
+ color: #486438;
+}
+.sidebar a:visited {
+ color: #213021;
}
.sidebar a:active {
- color: #F9B3D7;
+ color: #945634;
}
.about-box {
- grid-area: 1 / 1 / 2 / 2;
- background-color: #581845;
- color: #F9B3D7;
+ border-radius: 25px;
+ background-color: #95939F;
+ color: #111718;
text-align: center;
margin: 15px;
padding: 5px;
@@ -152,8 +152,9 @@ ul,ol { list-style-position: inside; }
}
.twitter-box {
grid-area: 2 / 1 / 3 / 2;
- background-color: #581845;
- color: #F9B3D7;
+ border-radius: 25px;
+ background-color: #95939F;
+ color: #111718;
text-align: center;
margin: 15px;
padding: 5px;
@@ -161,8 +162,9 @@ ul,ol { list-style-position: inside; }
}
.latest {
grid-area: 3 / 1 / 4 / 2;
- background-color: #581845;
- color: #F9B3D7;
+ border-radius: 25px;
+ background-color: #95939F;
+ color: #111718;
text-align: center;
list-style-position: inside;
margin: 15px;
@@ -175,8 +177,9 @@ ul,ol { list-style-position: inside; }
}
.disclosure {
grid-area: 4 / 1 / 5 / 2;
- background-color: #581845;
- color: #F9B3D7;
+ border-radius: 25px;
+ background-color: #95939F;
+ color: #111718;
text-align: center;
margin: 15px;
padding: 5px;
@@ -210,7 +213,7 @@ ul,ol { list-style-position: inside; }
.footer-content {
background-color: #080410;
- color: #F9B3D7;
+ color: #ecd5d2;
padding-top: 5px;
padding-right: 25px;
box-shadow: 0 100vh 0 100vh #581845;
diff --git a/src/static/css/game.css b/src/static/css/game.css
index 403a492..7066c03 100644
--- a/src/static/css/game.css
+++ b/src/static/css/game.css
@@ -93,19 +93,18 @@ ul { list-style-position: inside; }
transform: translate(-50%, -50%)
}
.nav-link a {
- font-size: 18px;
-}
-.nav-link a:link {
- color: #66C7F4;
-}
-.nav-link a:visited {
- color: #CB9CF2;
-}
-.nav-link a:hover {
- color: #F9B3D7;
-}
-.nav-link a:active {
- color: #f463ad;
+ font-size: 21px;
+ color: #E6E8EF;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px black,
+ 0 -1px 1px black,
+ 2px -1px 1px black,
+ 2px 0 1px black,
+ 2px 2px 1px black,
+ 0 2px 1px black,
+ -1px 2px 1px black,
+ -1px 0 1px black;
}
/* Body */
diff --git a/src/static/css/index.css b/src/static/css/index.css
index 65fb4e7..1410b9a 100755
--- a/src/static/css/index.css
+++ b/src/static/css/index.css
@@ -84,19 +84,18 @@ a {
transform: translate(-50%, -50%)
}
.nav-link a {
- font-size: 18px;
-}
-.nav-link a:link {
- color: #66C7F4;
-}
-.nav-link a:visited {
- color: #CB9CF2;
-}
-.nav-link a:hover {
- color: #F9B3D7;
-}
-.nav-link a:active {
- color: #f463ad;
+ font-size: 21px;
+ color: #E6E8EF;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px black,
+ 0 -1px 1px black,
+ 2px -1px 1px black,
+ 2px 0 1px black,
+ 2px 2px 1px black,
+ 0 2px 1px black,
+ -1px 2px 1px black,
+ -1px 0 1px black;
}
/* Body */
diff --git a/src/static/css/presskit.css b/src/static/css/presskit.css
index fd37a6f..8264792 100644
--- a/src/static/css/presskit.css
+++ b/src/static/css/presskit.css
@@ -86,20 +86,18 @@ ul { list-style-position: inside; }
transform: translate(-50%, -50%)
}
.nav-link a {
- font-size: 18px;
-}
-
-.nav-link a:link {
- color: #66C7F4;
-}
-.nav-link a:visited {
- color: #CB9CF2;
-}
-.nav-link a:hover {
- color: #F9B3D7;
-}
-.nav-link a:active {
- color: #f463ad;
+ font-size: 21px;
+ color: #E6E8EF;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px black,
+ 0 -1px 1px black,
+ 2px -1px 1px black,
+ 2px 0 1px black,
+ 2px 2px 1px black,
+ 0 2px 1px black,
+ -1px 2px 1px black,
+ -1px 0 1px black;
}
/* Body */
diff --git a/src/static/css/projects.css b/src/static/css/projects.css
index 1cb5680..160cd49 100644
--- a/src/static/css/projects.css
+++ b/src/static/css/projects.css
@@ -86,20 +86,18 @@ ul { list-style-position: inside; }
transform: translate(-50%, -50%)
}
.nav-link a {
- font-size: 18px;
-}
-
-.nav-link a:link {
- color: #66C7F4;
-}
-.nav-link a:visited {
- color: #CB9CF2;
-}
-.nav-link a:hover {
- color: #F9B3D7;
-}
-.nav-link a:active {
- color: #f463ad;
+ font-size: 21px;
+ color: #E6E8EF;
+ font-weight: bold;
+ text-shadow:
+ -1px -1px 1px black,
+ 0 -1px 1px black,
+ 2px -1px 1px black,
+ 2px 0 1px black,
+ 2px 2px 1px black,
+ 0 2px 1px black,
+ -1px 2px 1px black,
+ -1px 0 1px black;
}
/* Body */
diff --git a/src/static/img/btn/diaryreadmore.png b/src/static/img/btn/diaryreadmore.png
new file mode 100644
index 0000000..350444f
Binary files /dev/null and b/src/static/img/btn/diaryreadmore.png differ
diff --git a/src/static/img/btn/grayscale.pal b/src/static/img/btn/grayscale.pal
new file mode 100644
index 0000000..576ed51
--- /dev/null
+++ b/src/static/img/btn/grayscale.pal
@@ -0,0 +1,259 @@
+JASC-PAL
+0100
+256
+8 4 16
+185 180 175
+236 213 210
+103 122 113
+107 255 123
+144 151 144
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/src/static/img/btn/nav_l.png b/src/static/img/btn/nav_l.png
new file mode 100644
index 0000000..6bd0eea
Binary files /dev/null and b/src/static/img/btn/nav_l.png differ
diff --git a/src/static/img/btn/nav_ll.png b/src/static/img/btn/nav_ll.png
new file mode 100644
index 0000000..6e9fffb
Binary files /dev/null and b/src/static/img/btn/nav_ll.png differ
diff --git a/src/static/img/btn/nav_r.png b/src/static/img/btn/nav_r.png
new file mode 100644
index 0000000..5aa5dcc
Binary files /dev/null and b/src/static/img/btn/nav_r.png differ
diff --git a/src/static/img/btn/nav_rr.png b/src/static/img/btn/nav_rr.png
new file mode 100644
index 0000000..a247296
Binary files /dev/null and b/src/static/img/btn/nav_rr.png differ
diff --git a/src/static/img/btn/skillbtn_diary.png b/src/static/img/btn/skillbtn_diary.png
index ad77ded..a0c21da 100644
Binary files a/src/static/img/btn/skillbtn_diary.png and b/src/static/img/btn/skillbtn_diary.png differ
diff --git a/src/static/img/btn/skillbtn_press.png b/src/static/img/btn/skillbtn_press.png
new file mode 100644
index 0000000..d9e1dbd
Binary files /dev/null and b/src/static/img/btn/skillbtn_press.png differ
diff --git a/src/static/img/ele/diarybottom.png b/src/static/img/ele/diarybottom.png
new file mode 100644
index 0000000..ee6cf22
Binary files /dev/null and b/src/static/img/ele/diarybottom.png differ
diff --git a/src/static/img/ele/diarycontent.png b/src/static/img/ele/diarycontent.png
new file mode 100644
index 0000000..cf1ee7f
Binary files /dev/null and b/src/static/img/ele/diarycontent.png differ
diff --git a/src/static/img/ele/diaryheader.png b/src/static/img/ele/diaryheader.png
new file mode 100644
index 0000000..aa8fe20
Binary files /dev/null and b/src/static/img/ele/diaryheader.png differ
diff --git a/src/static/xml/blessfrey.xml b/src/static/xml/blessfrey.xml
index c06682a..e3eb783 100644
--- a/src/static/xml/blessfrey.xml
+++ b/src/static/xml/blessfrey.xml
@@ -7,6 +7,13 @@
en-us
chimchooree@mail.com (chimchooree)
-
+
playing FlightRising with spreadsheets
+ https://www.blessfrey.me/diary/entries/210513
+My dragon breeding spreadsheet is really coming together, so I thought sharing it would be a fun ...
+Thu, 13 May 2021 05:00:05 GMT
+https://www.blessfrey.me/diary/entries/210513
+
+-
april 2020: will patrols ever work?
https://www.blessfrey.me/diary/entries/210501
thursday, april 1 - April Fool's Day I got gnomed by my group leader, and FlightRising's ...
@@ -104,12 +111,5 @@
Fri, 01 Jan 2021 05:00:05 GMT
https://www.blessfrey.me/diary/entries/210101
--
-
blessfrey graphic updates + mockups
- https://www.blessfrey.me/diary/entries/201224
-I iterate over the graphics periodically, so I can practice without worrying about polish. Here's ...
-Thu, 24 Dec 2020 05:00:05 GMT
-https://www.blessfrey.me/diary/entries/201224
-
diff --git a/src/views/diary.tpl b/src/views/diary.tpl
index 3aff561..7757105 100644
--- a/src/views/diary.tpl
+++ b/src/views/diary.tpl
@@ -14,21 +14,36 @@
page = max_pages
end
%>
+
% # << is always active link pointing to 0
-
<<
+ % #
<<
+
+
+
% # < points to 0 if page 0 or below
% if page <= 0:
-
<
+ % #
<
+
+
+
% # < points to previous page otherwise
% else:
-
<
+ % #
<
+
+
+
% end
+
+
+
% # fill out number cluster to the left when page is high
% if max_pages > cluster and page > max_pages - cluster:
% for j in range(cluster - max_pages + page):
-
{{max_pages - cluster * 2 + j}}
+
% end
% end
@@ -36,30 +51,49 @@
% for i in range(max(0,page - cluster), min(max_pages + 1,page + cluster + 1)):
% # bold current page number
% if i == page:
-
{{i}}
+
+ {{i}}
+
% # form neighboring numbers into links
% else:
-
{{i}}
+
% end
% end
% # fill out number cluster to the right when page is low
% if page <= cluster - 1 and max_pages > page + cluster:
% for j in range(cluster - page):
-
{{page + j + cluster + 1}}
+
% end
% end
+
+
+
% # > points to max if page is at or above maximum
% if page >= max_pages:
-
>
+ % #
>
+
+
+
% # > point to next page otherwise
% else:
-
>
+ % #
>
+
+
+
% end
% # >> is always active link to maximum page
-
>>
+ % #
>>
+
+
+
+
@@ -75,22 +109,24 @@
{{!s[1]}}
-
{{!s[2]}}
- •
-
- % message = "Hey,+check+out+this+post:+" + s[1] + ".,+" + s[3]
- % message = message.replace('+','\+')
- % message = re.sub('\s+?','+', message)
- % message = message.replace('\\','')
- % message = re.sub('<.*?>','', message)
-
+
{{!s[2]}}
+ •
+ % if len(s[5]) >= 1:
+
+ % end
+
% end
@@ -108,22 +144,36 @@
page = max_pages
end
%>
+
% # << is always active link pointing to 0
-
<<
+ % #
<<
+
+
+
% # < points to 0 if page 0 or below
% if page <= 0:
-
<
+ % #
<
+
+
+
% # < points to previous page otherwise
% else:
-
<
+ % #
<
+
+
+
% end
+
+
+
% # fill out number cluster to the left when page is high
% if max_pages > cluster and page > max_pages - cluster:
% for j in range(cluster - max_pages + page):
-
{{max_pages - cluster * 2 + j}}
+
% end
% end
@@ -131,31 +181,49 @@
% for i in range(max(0,page - cluster), min(max_pages + 1,page + cluster + 1)):
% # bold current page number
% if i == page:
-
{{i}}
+
+ {{i}}
+
% # form neighboring numbers into links
% else:
-
{{i}}
+
% end
% end
% # fill out number cluster to the right when page is low
% if page <= cluster - 1 and max_pages > page + cluster:
% for j in range(cluster - page):
-
{{page + j + cluster + 1}}
+
% end
% end
+
+
+
% # > points to max if page is at or above maximum
% if page >= max_pages:
-
>
+ % #
>
+
+
+
% # > point to next page otherwise
% else:
-
>
+ % #
>
+
+
+
% end
% # >> is always active link to maximum page
-
>>
+ % #
>>
+
+
+
+
% include diary-boxes.tpl
diff --git a/src/views/footer.tpl b/src/views/footer.tpl
index 0522f4b..ed71641 100644
--- a/src/views/footer.tpl
+++ b/src/views/footer.tpl
@@ -1,6 +1,6 @@
diff --git a/src/views/logo-bar.tpl b/src/views/logo-bar.tpl
index 1e7c234..5dd8b56 100644
--- a/src/views/logo-bar.tpl
+++ b/src/views/logo-bar.tpl
@@ -1,5 +1,5 @@
-
blessfrey.me
+
diff --git a/src/views/nav.tpl b/src/views/nav.tpl
index 37583e6..593ae8f 100644
--- a/src/views/nav.tpl
+++ b/src/views/nav.tpl
@@ -4,7 +4,7 @@