updating CSS - diary finished for now
@@ -1,7 +1,7 @@
|
||||
<!--201217,200903-->
|
||||
<h1>what is blessfrey? </h1>
|
||||
august 6, 2020<br>
|
||||
#gamedescription <br>
|
||||
#game <br>
|
||||
<br>
|
||||
<b>blessfrey</b> is a 2D action RPG developed for PC by chimchooree. <br>
|
||||
<br>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--210401,210601-->
|
||||
<h1>april 2020: will patrols ever work? </h1>
|
||||
may 1, 2021<br>
|
||||
<br>
|
||||
#diary <br>
|
||||
<br>
|
||||
<br>
|
||||
<h3>thursday, april 1 - April Fool's Day </h3>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--210218,210107-->
|
||||
<h1>playing FlightRising with spreadsheets </h1>
|
||||
may 13, 2021<br>
|
||||
#spreadsheets #petsites <br>
|
||||
#offtopic #spreadsheets #petsites <br>
|
||||
<br>
|
||||
My dragon breeding spreadsheet is really coming together, so I thought sharing it would be a fun break from AI. <br>
|
||||
<br>
|
||||
|
||||
@@ -118,6 +118,19 @@ def list_headlines(articles):
|
||||
result.append(b)
|
||||
return result
|
||||
|
||||
def find_tags(text):
|
||||
new = text[3].replace('<br>','')
|
||||
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 ##
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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:link {
|
||||
color: #C9C2D6;
|
||||
}
|
||||
.diary-dir a:visited {
|
||||
color: #C9C2D6;
|
||||
}
|
||||
.diary-dir a:hover {
|
||||
color: #F9B3D7;
|
||||
}
|
||||
.diary-dir a:active {
|
||||
color: #f463ad;
|
||||
.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.top {
|
||||
grid-area: 3 / 1 / 4 / 5;
|
||||
padding-top: 3px;
|
||||
}
|
||||
.diary-dir-left {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.diary-dir-numbers {
|
||||
height: 29px;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.diary-dir-number {
|
||||
background-color: #404664;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
border-radius: 25px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
.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;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.snippet a:link {
|
||||
color: #401231;
|
||||
|
||||
.snippet-title {
|
||||
background-image: url(../img/ele/diaryheader.png);
|
||||
background-size: 100%;
|
||||
height: 40px;
|
||||
padding: 10px;
|
||||
font-size: 10px;
|
||||
}
|
||||
.snippet a:visited {
|
||||
color: #401231;
|
||||
.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 a:hover {
|
||||
color: #902771;
|
||||
.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 a:active {
|
||||
color: #900C3F;
|
||||
.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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -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
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
@@ -7,6 +7,13 @@
|
||||
<language>en-us</language>
|
||||
<webMaster>chimchooree@mail.com (chimchooree)</webMaster>
|
||||
<item>
|
||||
<title>playing FlightRising with spreadsheets </title>
|
||||
<link>https://www.blessfrey.me/diary/entries/210513</link>
|
||||
<description>My dragon breeding spreadsheet is really coming together, so I thought sharing it would be a fun ... </description>
|
||||
<pubDate>Thu, 13 May 2021 05:00:05 GMT</pubDate>
|
||||
<guid>https://www.blessfrey.me/diary/entries/210513</guid>
|
||||
</item>
|
||||
<item>
|
||||
<title>april 2020: will patrols ever work? </title>
|
||||
<link>https://www.blessfrey.me/diary/entries/210501</link>
|
||||
<description>thursday, april 1 - April Fool's Day I got gnomed by my group leader, and FlightRising's ... </description>
|
||||
@@ -104,12 +111,5 @@
|
||||
<pubDate>Fri, 01 Jan 2021 05:00:05 GMT</pubDate>
|
||||
<guid>https://www.blessfrey.me/diary/entries/210101</guid>
|
||||
</item>
|
||||
<item>
|
||||
<title>blessfrey graphic updates + mockups </title>
|
||||
<link>https://www.blessfrey.me/diary/entries/201224</link>
|
||||
<description>I iterate over the graphics periodically, so I can practice without worrying about polish. Here's ... </description>
|
||||
<pubDate>Thu, 24 Dec 2020 05:00:05 GMT</pubDate>
|
||||
<guid>https://www.blessfrey.me/diary/entries/201224</guid>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
||||
@@ -14,21 +14,36 @@
|
||||
page = max_pages
|
||||
end
|
||||
%>
|
||||
<div class="diary-dir-left">
|
||||
% # << is always active link pointing to 0
|
||||
<a href=/diary/0 rel="nofollow"><<</a>
|
||||
% #<a href=/diary/0 rel="nofollow"><<</a>
|
||||
<a href=/diary/0>
|
||||
<img src="/static/img/btn/nav_ll.png" alt="<<" width="33" height="29">
|
||||
</a>
|
||||
|
||||
% # < points to 0 if page 0 or below
|
||||
% if page <= 0:
|
||||
<a href=/diary/0 rel="nofollow"><</a>
|
||||
% #<a href=/diary/0 rel="nofollow"><</a>
|
||||
<a href=/diary/0>
|
||||
<img src="/static/img/btn/nav_l.png" alt="<" width="27" height="29">
|
||||
</a>
|
||||
% # < points to previous page otherwise
|
||||
% else:
|
||||
<a href=/diary/{{page - 1}} rel="nofollow"><</a>
|
||||
% #<a href=/diary/{{page - 1}} rel="nofollow"><</a>
|
||||
<a href=/diary/{{page - 1}}>
|
||||
<img src="/static/img/btn/nav_l.png" alt="<" width="27" height="29">
|
||||
</a>
|
||||
% end
|
||||
|
||||
</div>
|
||||
<div class="diary-dir-numbers">
|
||||
|
||||
% # 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):
|
||||
<a href=/diary/{{max_pages - cluster * 2 + j}} rel="nofollow">{{max_pages - cluster * 2 + j}}</a>
|
||||
<div class="diary-dir-number">
|
||||
<a href=/diary/{{max_pages - cluster * 2 + j}} rel="nofollow">{{max_pages - cluster * 2 + j}}</a>
|
||||
</div>
|
||||
% 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:
|
||||
<b>{{i}}</b>
|
||||
<div class="diary-dir-number">
|
||||
<b>{{i}}</b>
|
||||
</div>
|
||||
% # form neighboring numbers into links
|
||||
% else:
|
||||
<a href=/diary/{{i}} rel="nofollow">{{i}}</a>
|
||||
<div class="diary-dir-number">
|
||||
<a href=/diary/{{i}} rel="nofollow">{{i}}</a>
|
||||
</div>
|
||||
% 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):
|
||||
<a href=/diary/{{page + j + cluster + 1}} rel="nofollow">{{page + j + cluster + 1}}</a>
|
||||
<div class="diary-dir-number">
|
||||
<a href=/diary/{{page + j + cluster + 1}} rel="nofollow">{{page + j + cluster + 1}}</a>
|
||||
</div>
|
||||
% end
|
||||
% end
|
||||
|
||||
</div>
|
||||
<div class="diary-dir-right">
|
||||
|
||||
% # > points to max if page is at or above maximum
|
||||
% if page >= max_pages:
|
||||
<a href=/diary/{{max_pages}} rel="nofollow">></a>
|
||||
% #<a href=/diary/{{max_pages}} rel="nofollow">></a>
|
||||
<a href=/diary/{{max_pages}}>
|
||||
<img src="/static/img/btn/nav_r.png" alt=">" width="27" height="29">
|
||||
</a>
|
||||
% # > point to next page otherwise
|
||||
% else:
|
||||
<a href=/diary/{{page + 1}} rel="nofollow">></a>
|
||||
% #<a href=/diary/{{page + 1}} rel="nofollow">></a>
|
||||
<a href=/diary/{{page + 1}}>
|
||||
<img src="/static/img/btn/nav_r.png" alt=">" width="27" height="29">
|
||||
</a>
|
||||
% end
|
||||
|
||||
% # >> is always active link to maximum page
|
||||
<a href=/diary/{{max_pages}} rel="nofollow">>></a>
|
||||
% #<a href=/diary/{{max_pages}} rel="nofollow">>></a>
|
||||
<a href=/diary/{{max_pages}}>
|
||||
<img src="/static/img/btn/nav_rr.png" alt=">>" width="33" height="29">
|
||||
</a>
|
||||
</div>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
@@ -75,22 +109,24 @@
|
||||
{{!s[1]}}
|
||||
</div>
|
||||
<div class="snippet-info">
|
||||
<b>{{!s[2]}}
|
||||
• <a class="social-link social-twitter"
|
||||
href='http://twitter.com/share?text={{s[4]}}
|
||||
&url=https://blessfrey.me{{s[3]}}&via=lilchimchooree'
|
||||
target="_blank">tweet</a>
|
||||
<!--• <a class="social-link social-fb"
|
||||
href='http://www.facebook.com/share.php?u={{s[3]}}'>facebook</a> -->
|
||||
% 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)
|
||||
<!--• <a class="social-link social-email" href='mailto:?body={{message}}'>email</a>--></b>
|
||||
<b>{{!s[2]}}</b>
|
||||
• <a class="social-link social-twitter" href='http://twitter.com/share?text={{s[4]}}&url=https://blessfrey.me{{s[3]}}&via=lilchimchooree' target="_blank">tweet</a>
|
||||
% if len(s[5]) >= 1:
|
||||
<div class=snippet-tags>
|
||||
% for j in s[5]:
|
||||
<div class="snippet-tag">
|
||||
{{j}}
|
||||
</div>
|
||||
% end
|
||||
</div>
|
||||
% end
|
||||
</div>
|
||||
<div class="snippet-link">
|
||||
<a href={{s[3]}} rel="nofollow"><b>read more</b></a>
|
||||
<a href={{s[3]}}>
|
||||
<img src="/static/img/btn/diaryreadmore.png" alt="read more" width="99" height="84">
|
||||
</a>
|
||||
</div>
|
||||
<div class="snippet-bottom">
|
||||
</div>
|
||||
</div>
|
||||
% end
|
||||
@@ -108,22 +144,36 @@
|
||||
page = max_pages
|
||||
end
|
||||
%>
|
||||
<div class="diary-dir-left">
|
||||
% # << is always active link pointing to 0
|
||||
<a href=/diary/0 rel="nofollow"><<</a>
|
||||
% #<a href=/diary/0 rel="nofollow"><<</a>
|
||||
<a href=/diary/0>
|
||||
<img src="/static/img/btn/nav_ll.png" alt="<<" width="33" height="29">
|
||||
</a>
|
||||
|
||||
% # < points to 0 if page 0 or below
|
||||
% if page <= 0:
|
||||
<a href=/diary/0 rel="nofollow"><</a>
|
||||
% #<a href=/diary/0 rel="nofollow"><</a>
|
||||
<a href=/diary/0>
|
||||
<img src="/static/img/btn/nav_l.png" alt="<" width="27" height="29">
|
||||
</a>
|
||||
% # < points to previous page otherwise
|
||||
% else:
|
||||
<a href=/diary/{{page - 1}} rel="nofollow"><</a>
|
||||
% #<a href=/diary/{{page - 1}} rel="nofollow"><</a>
|
||||
<a href=/diary/{{page - 1}}>
|
||||
<img src="/static/img/btn/nav_l.png" alt="<" width="27" height="29">
|
||||
</a>
|
||||
% end
|
||||
|
||||
</div>
|
||||
<div class="diary-dir-numbers">
|
||||
|
||||
% # 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):
|
||||
<a href=/diary/{{max_pages - cluster * 2 + j}}
|
||||
rel="nofollow">{{max_pages - cluster * 2 + j}}</a>
|
||||
<div class="diary-dir-number">
|
||||
<a href=/diary/{{max_pages - cluster * 2 + j}} rel="nofollow">{{max_pages - cluster * 2 + j}}</a>
|
||||
</div>
|
||||
% 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:
|
||||
<b>{{i}}</b>
|
||||
<div class="diary-dir-number">
|
||||
<b>{{i}}</b>
|
||||
</div>
|
||||
% # form neighboring numbers into links
|
||||
% else:
|
||||
<a href=/diary/{{i}} rel="nofollow">{{i}}</a>
|
||||
<div class="diary-dir-number">
|
||||
<a href=/diary/{{i}} rel="nofollow">{{i}}</a>
|
||||
</div>
|
||||
% 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):
|
||||
<a href=/diary/{{page + j + cluster + 1}}
|
||||
rel="nofollow">{{page + j + cluster + 1}}</a>
|
||||
<div class="diary-dir-number">
|
||||
<a href=/diary/{{page + j + cluster + 1}} rel="nofollow">{{page + j + cluster + 1}}</a>
|
||||
</div>
|
||||
% end
|
||||
% end
|
||||
|
||||
</div>
|
||||
<div class="diary-dir-right">
|
||||
|
||||
% # > points to max if page is at or above maximum
|
||||
% if page >= max_pages:
|
||||
<a href=/diary/{{max_pages}} rel="nofollow">></a>
|
||||
% #<a href=/diary/{{max_pages}} rel="nofollow">></a>
|
||||
<a href=/diary/{{max_pages}}>
|
||||
<img src="/static/img/btn/nav_r.png" alt=">" width="27" height="29">
|
||||
</a>
|
||||
% # > point to next page otherwise
|
||||
% else:
|
||||
<a href=/diary/{{page + 1}} rel="nofollow">></a>
|
||||
% #<a href=/diary/{{page + 1}} rel="nofollow">></a>
|
||||
<a href=/diary/{{page + 1}}>
|
||||
<img src="/static/img/btn/nav_r.png" alt=">" width="27" height="29">
|
||||
</a>
|
||||
% end
|
||||
|
||||
% # >> is always active link to maximum page
|
||||
<a href=/diary/{{max_pages}} rel="nofollow">>></a>
|
||||
% #<a href=/diary/{{max_pages}} rel="nofollow">>></a>
|
||||
<a href=/diary/{{max_pages}}>
|
||||
<img src="/static/img/btn/nav_rr.png" alt=">>" width="33" height="29">
|
||||
</a>
|
||||
</div>
|
||||
</center>
|
||||
</div>
|
||||
% include diary-boxes.tpl
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<!--Footer-->
|
||||
<footer>
|
||||
<div class="footer-content">
|
||||
© chimchooree {{year}}<br>
|
||||
© chimchooree 2020-{{year}}<br>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="whitespace"> </div>
|
||||
|
||||
<div class="blessfrey-logo">
|
||||
<center><b>blessfrey.me</b></center><br>
|
||||
<center><b></b></center><br>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="nav-bar"></div>
|
||||
<div class="nav-index">
|
||||
<a href="/">
|
||||
<img src="/static/img/btn/skillbtn.png" alt="home" style="width:85px;height:55px;">
|
||||
<img src="/static/img/btn/skillbtn_home.png" alt="home" style="width:85px;height:55px;">
|
||||
</a>
|
||||
<div class="nav-link">
|
||||
<a href="/">home</a>
|
||||
@@ -12,15 +12,15 @@
|
||||
</div>
|
||||
<div class="nav-game">
|
||||
<a href="/projects">
|
||||
<img src="/static/img/btn/skillbtn.png" alt="projects" style="width:85px;height:55px;">
|
||||
<img src="/static/img/btn/skillbtn_games.png" alt="projects" style="width:85px;height:55px;">
|
||||
</a>
|
||||
<div class="nav-link">
|
||||
<a href="/projects">projects</a>
|
||||
<a href="/projects">games</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="nav-diary">
|
||||
<a href="/diary">
|
||||
<img src="/static/img/btn/skillbtn.png" alt="diary" style="width:85px;height:55px;">
|
||||
<img src="/static/img/btn/skillbtn_diary.png" alt="diary" style="width:85px;height:55px;">
|
||||
</a>
|
||||
<div class="nav-link">
|
||||
<a href="/diary">diary</a>
|
||||
@@ -28,10 +28,10 @@
|
||||
</div>
|
||||
<div class="nav-presskit">
|
||||
<a href="/presskit">
|
||||
<img src="/static/img/btn/skillbtn.png" alt="presskit" style="width:85px;height:55px;">
|
||||
<img src="/static/img/btn/skillbtn_press.png" alt="presskit" style="width:85px;height:55px;">
|
||||
</a>
|
||||
<div class="nav-link">
|
||||
<a href="/presskit">presskit</a>
|
||||
<a href="/presskit">press</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||