diff --git a/static/main.css b/static/main.css index fa96cd0..ad20a9e 100644 --- a/static/main.css +++ b/static/main.css @@ -117,14 +117,12 @@ header > div > div { header nav { display: inline-block; margin-left: 1.5em; -} - -header .aligned { vertical-align: middle; } header .spacer { height: 32px; + vertical-align: middle; visibility: hidden; } @@ -147,22 +145,25 @@ footer ul li:not(:last-child):after { } #corp-masthead { - height: 32px; - margin-right: 0.25em; + color: #EAEAEA; } -#corp-masthead-link:hover { +#corp-masthead:hover { + color: #BABABA; text-decoration: none; } -#corp-title { +#corp-masthead img { + height: 32px; + margin-right: 0.25em; +} + +#corp-masthead span { font-size: 120%; - color: #EAEAEA; } -#corp-title:hover { - color: #BABABA; - text-decoration: none; +#corp-masthead > * { + vertical-align: middle; } #flashes { @@ -191,10 +192,12 @@ footer ul li:not(:last-child):after { margin-right: 0.25em; box-sizing: border-box; border-width: 1px; + vertical-align: middle; } #character-summary { font-size: 90%; + vertical-align: middle; } #character-options { @@ -268,6 +271,7 @@ footer ul li:not(:last-child):after { #login-button { height: 30px; padding-bottom: 2px; + vertical-align: middle; } #logout-form { diff --git a/static/main.js b/static/main.js index 05868d4..5751e81 100644 --- a/static/main.js +++ b/static/main.js @@ -29,7 +29,10 @@ $(function() { } }); } - }).css("cursor", "pointer"); + }).keypress(function (e) { + if (e.which === 13) + $(this).click(); + }).css("cursor", "pointer").prop("alt", "Options").prop("tabindex", 0); // Switch style immediately without reloading the page: $("#style-options form").submit(function() { diff --git a/templates/_base.mako b/templates/_base.mako index 31a95c7..ce34ed5 100644 --- a/templates/_base.mako +++ b/templates/_base.mako @@ -25,15 +25,15 @@
<%block name="lefthead"> - - Home + + Logo + ${g.config.get("corp.name") | h} - ${g.config.get("corp.name") | h}
<%block name="righthead"> - +
diff --git a/templates/_default.mako b/templates/_default.mako index c8512b2..03c341b 100644 --- a/templates/_default.mako +++ b/templates/_default.mako @@ -1,12 +1,12 @@ <%inherit file="_base.mako"/> <%block name="lefthead"> ${parent.lefthead()} -