From deebbee929f8cec54af0c64a0045024cbee5ce65 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 19 Dec 2016 17:39:38 -0500 Subject: [PATCH] Minor style tweaks, fixes. --- static/main.css | 9 +++++++-- templates/_base.mako | 2 +- templates/_default.mako | 4 +++- templates/home.mako | 7 +------ 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/static/main.css b/static/main.css index 756d391..1f57bbb 100644 --- a/static/main.css +++ b/static/main.css @@ -128,7 +128,7 @@ header .aligned { } header .spacer { - height: 30px; + height: 32px; visibility: hidden; } @@ -147,10 +147,14 @@ footer ul li:not(:last-child):after { } #corp-masthead { - height: 30px; + height: 32px; margin-right: 0.25em; } +#character-portrait { + height: 32px; +} + #flashes { margin-top: 0.5em; } @@ -177,6 +181,7 @@ footer ul li:not(:last-child):after { #login-button { height: 30px; + padding-bottom: 2px; } #logout-form { diff --git a/templates/_base.mako b/templates/_base.mako index fcb00c2..4c1bdfe 100644 --- a/templates/_base.mako +++ b/templates/_base.mako @@ -30,7 +30,7 @@
<%block name="righthead"> - +
diff --git a/templates/_default.mako b/templates/_default.mako index d971cbd..1c4cc75 100644 --- a/templates/_default.mako +++ b/templates/_default.mako @@ -6,6 +6,8 @@ <%block name="righthead"> - PLAYER_NAME... [logout] + + ${g.auth.get_character_prop("name")} + [logout] ${next.body()} diff --git a/templates/home.mako b/templates/home.mako index ff548be..06bedeb 100644 --- a/templates/home.mako +++ b/templates/home.mako @@ -1,7 +1,2 @@ <%inherit file="_default.mako"/> -
-

Hi, ${g.auth.get_character_prop("name")}!

- % for paragraph in g.config.get("welcome").split("\n\n"): -

${paragraph.replace("\n", " ")}

- % endfor -
+

Hi, ${g.auth.get_character_prop("name")}!