зеркало из https://github.com/mozilla/pjs.git
Improve category-list appearance.
This commit is contained in:
Родитель
1c83bd51c1
Коммит
a64423166c
|
@ -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}&app={$app}&appfilter={$app}&type={$type}">{$name}</a></td>
|
||||
{if $smarty.foreach.cats.index % 4 eq 3}
|
||||
{if $smarty.foreach.cats.index % 3 eq 2}
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
|
Загрузка…
Ссылка в новой задаче