Ver código fonte

More minor style tweaks.

master
Ben Kurtovic 8 anos atrás
pai
commit
ccfb5ac379
3 arquivos alterados com 19 adições e 6 exclusões
  1. +15
    -3
      static/main.css
  2. +1
    -1
      templates/_base.mako
  3. +3
    -2
      templates/_default.mako

+ 15
- 3
static/main.css Ver arquivo

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

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

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

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

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

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

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

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

#flashes {
margin-top: 0.5em;
}


+ 1
- 1
templates/_base.mako Ver arquivo

@@ -26,7 +26,7 @@
<div>
<div class="left">
<%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)}"/>
</a>
<a id="corp-title" class="aligned" href="${url_for('index')}">${g.config.get("corp.name") | h}</a>


+ 3
- 2
templates/_default.mako Ver arquivo

@@ -7,9 +7,10 @@
</%block>
<%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)}"/>
<span class="aligned">
<span id="character-summary" class="aligned">
${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>
</%block>
${next.body()}

Carregando…
Cancelar
Salvar