Bug 630389, styled up the home link all pretty-like

This commit is contained in:
Matt Claypotch 2011-02-04 17:26:15 -08:00
Родитель 7274a82aea
Коммит 9a5bf8aeca
3 изменённых файлов: 17 добавлений и 4 удалений

Просмотреть файл

@ -3,7 +3,6 @@
{% block title %}{{ page_title(addon.name) }}{% endblock %} {% block title %}{{ page_title(addon.name) }}{% endblock %}
{% block page %} {% block page %}
<section id="content">
<div class="listview"> <div class="listview">
<div class="item"> <div class="item">
<img class="icon" width="32" height="32" src="{{ addon.icon_url }}"> <img class="icon" width="32" height="32" src="{{ addon.icon_url }}">
@ -114,5 +113,4 @@
{{ emaillink(addon.support_email.localized_string, {{ emaillink(addon.support_email.localized_string,
_('Ask the Author a Question')) }} _('Ask the Author a Question')) }}
{% endif %} {% endif %}
</section>
{% endblock %} {% endblock %}

Просмотреть файл

@ -48,6 +48,13 @@ table {
} }
/* end meyer reset */ /* end meyer reset */
/* don't want any more transitions? this is the kill-switch!*/
/*
*, *:after {
-moz-transition: none !important;
}
*/
/** Clearfix */ /** Clearfix */
.listview li a:after, .listview li a:after,
header:after, header:after,
@ -136,7 +143,6 @@ table th {
color: #666; color: #666;
} }
#content { #content {
margin-top: 1em;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
@ -276,6 +282,13 @@ header hgroup {
position: relative; position: relative;
padding-left: 80px; padding-left: 80px;
} }
header #home {
clear: both;
color: #447BC4;
float: left;
padding: 14px 0;
line-height: 14px;
}
.mini-header .site-title a { .mini-header .site-title a {
font-size: 22px; font-size: 22px;
line-height: 22px; line-height: 22px;

Просмотреть файл

@ -44,7 +44,9 @@
</a> </a>
</h1> </h1>
</hgroup> </hgroup>
<a href="{{ url('home') }}" id="home">{{ _('Mobile Add-ons Home') }}</a> <a href="{{ url('home') }}" id="home">
<svg width="18" height="16"><polygon fill="#447BC4" points="9,0 18,9 15,9 15,16 11,16 11,11 7,11 7,18 3,16 3,9 0,9"/></svg>
{{ _('Mobile Add-ons Home') }}</a>
</header> </header>
{% endblock %} {% endblock %}