Browse Source

More minor style tweaks.

master
Ben Kurtovic 8 years ago
parent
commit
ccfb5ac379
3 changed files with 19 additions and 6 deletions
  1. +15
    -3
      static/main.css
  2. +1
    -1
      templates/_base.mako
  3. +3
    -2
      templates/_default.mako

+ 15
- 3
static/main.css View File

@@ -113,6 +113,11 @@ header > div > div {
} }
} }


header nav {
display: inline-block;
margin-left: 1.5em;
}

header .aligned { header .aligned {
vertical-align: middle; vertical-align: middle;
} }
@@ -122,9 +127,8 @@ header .spacer {
visibility: hidden; visibility: hidden;
} }


header nav {
display: inline-block;
margin-left: 1.5em;
header .sep {
color: #777777;
} }


footer ul { footer ul {
@@ -146,6 +150,10 @@ footer ul li:not(:last-child):after {
margin-right: 0.25em; margin-right: 0.25em;
} }


#corp-masthead-link:hover {
text-decoration: none;
}

#corp-title { #corp-title {
font-size: 120%; font-size: 120%;
color: #EAEAEA; color: #EAEAEA;
@@ -164,6 +172,10 @@ footer ul li:not(:last-child):after {
border-style: solid; border-style: solid;
} }


#character-summary {
font-size: 90%;
}

#flashes { #flashes {
margin-top: 0.5em; margin-top: 0.5em;
} }


+ 1
- 1
templates/_base.mako View File

@@ -26,7 +26,7 @@
<div> <div>
<div class="left"> <div class="left">
<%block name="lefthead"> <%block name="lefthead">
<a href="${url_for('index')}">
<a id="corp-masthead-link" href="${url_for('index')}">
<img id="corp-masthead" class="aligned" title="Home" alt="Home" src="${g.eve.image.corp(g.config.get('corp.id'), 256)}"/> <img id="corp-masthead" class="aligned" title="Home" alt="Home" src="${g.eve.image.corp(g.config.get('corp.id'), 256)}"/>
</a> </a>
<a id="corp-title" class="aligned" href="${url_for('index')}">${g.config.get("corp.name") | h}</a> <a id="corp-title" class="aligned" href="${url_for('index')}">${g.config.get("corp.name") | h}</a>


+ 3
- 2
templates/_default.mako View File

@@ -7,9 +7,10 @@
</%block> </%block>
<%block name="righthead"> <%block name="righthead">
<img id="character-portrait" class="aligned" title="${g.auth.get_character_prop('name')}" alt="" src="${g.eve.image.character(g.auth.get_character_id(), 256)}"/> <img id="character-portrait" class="aligned" title="${g.auth.get_character_prop('name')}" alt="" src="${g.eve.image.character(g.auth.get_character_id(), 256)}"/>
<span class="aligned">
<span id="character-summary" class="aligned">
${g.auth.get_character_prop("name")} ${g.auth.get_character_prop("name")}
[<a title="Log out" href="${url_for('logout')}">logout</a>] <!-- ... JS switch to a POST form -->
<span class="sep">[</span><a title="Log out" href="${url_for('logout')}">logout</a><span class="sep">]</span>
<!-- ... JS switch to a POST form -->
</span> </span>
</%block> </%block>
${next.body()} ${next.body()}

Loading…
Cancel
Save