small-nav
Mimi Momo 2 years ago
parent 85dd99f02a
commit 948c48462f

Binary file not shown.

@ -406,6 +406,11 @@ def is_it_time(date):
def serve_css(filename): def serve_css(filename):
return static_file(filename, root='static/css') return static_file(filename, root='static/css')
# Serve fonts
@route('/static/font/<filename:path>')
def serve_font(filename):
return static_file(filename, root='static/font', mimetype='text/ttf')
# Serve images # Serve images
@route('/static/img/<filename:path>') @route('/static/img/<filename:path>')
def serve_img(filename): def serve_img(filename):

@ -1,7 +1,19 @@
@font-face {
font-family: "pf_ronda_seven";
src: url('../font/pf_ronda_seven.ttf');
}
@font-face {
font-family: "pf_ronda_seven_bold";
src: url('../font/pf_ronda_seven_bold.ttf');
}
@font-face {
font-family: "Mitochondria";
src: url('../font/Mitochondria.ttf');
}
* { * {
padding:0; padding:0;
margin:0; margin:0;
font-family: verdana, "trebuchet ms", arial, calibri, candara, sans-serif; font-family: "pf_ronda_seven", sans-serif;
background-color: black; background-color: black;
} }
html, body {padding:0; margin:0; height:100%;} html, body {padding:0; margin:0; height:100%;}

@ -5,6 +5,7 @@
grid-template-rows: 1fr 9.5em; grid-template-rows: 1fr 9.5em;
grid-column-gap: 0px; grid-column-gap: 0px;
grid-row-gap: 0px; grid-row-gap: 0px;
background-image: url(../img/prom/runebless.png);
} }
.content-left { .content-left {
grid-area: 1 / 1 / 2 / 2; grid-area: 1 / 1 / 2 / 2;
@ -12,13 +13,14 @@
background-size: 20em; background-size: 20em;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-color: transparent;
} }
.content-right { .content-right {
grid-area: 1 / 2 / 3 / 3; grid-area: 1 / 2 / 3 / 3;
background-image: url(../img/prom/runebless.png);
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: left; background-position: left;
background-color: transparent;
} }
.latest { .latest {
background-color: #C0AAC0; background-color: #C0AAC0;

Binary file not shown.
Loading…
Cancel
Save