Improve category-list appearance.

This commit is contained in:
shaver%mozilla.org 2006-10-24 08:29:55 +00:00
Родитель 1c83bd51c1
Коммит a64423166c
2 изменённых файлов: 18 добавлений и 4 удалений

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

@ -414,10 +414,24 @@ p.install-button {
font-weight: bold;
}
.category-list {
padding-left: 3em;
text-align: center;
font-weight: bold;
font-size: 90%;
}
.category-list td,
.compact-list td {
font-size: inherit;
}
.category-list td {
padding: 0 1.5em 0 1.5em;
}
.category-list a:link,
.category-list a:visited,
.compact-list a:link,
.compact-list a:visited {
text-decoration: none;

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

@ -5,15 +5,15 @@ Firefox, from a simple toolbar button to a completely new feature.
They allow you to customize Firefox to fit your own needs and
preferences, while letting us keep Firefox itself light and lean.</p>
<div class='corner-box compact-list'>
<div class='corner-box'>
<h3>Browse Extensions by Category</h3>
<table cellpadding="5">
<table cellpadding="5" class="category-list">
{foreach name=cats key=id item=name from=$cats}
{if $smarty.foreach.cats.index % 4 eq 0}
{if $smarty.foreach.cats.index % 3 eq 0}
<tr>
{/if}
<td><a href="{$config.webpath}/search.php?cat={$id}&amp;app={$app}&amp;appfilter={$app}&amp;type={$type}">{$name}</a></td>
{if $smarty.foreach.cats.index % 4 eq 3}
{if $smarty.foreach.cats.index % 3 eq 2}
</tr>
{/if}
{/foreach}