Transformed the link into button to make it easier to click

This commit is contained in:
Sébastien Lucas 2012-06-12 22:03:29 +02:00
parent 5040742609
commit bae5f382ba
2 changed files with 16 additions and 4 deletions

View File

@ -21,6 +21,7 @@ $tags = $book->getTags ();
<img src="fetch.php?id=<?php echo $book->id ?>&amp;height=150" alt="cover" />
</div>
<div class="entryTitle"><?php echo htmlspecialchars ($book->title) ?></div>
<div class="entrySection"><?php echo localize("authors.title") ?></div>
<div class="authors">
<?php
$i = 0;
@ -32,6 +33,7 @@ $tags = $book->getTags ();
}
?>
</div>
<div class="entrySection"><?php echo localize("tags.title") ?></div>
<div class="tags">
<?php
$i = 0;

View File

@ -152,11 +152,21 @@ text-align: center;
padding-top: 120px;
}
.tags a
.entrySection
{
font-style:italic;
font-size: 1em;
margin-top: 8px;
margin-bottom: 8px;
}
.tags a, .authors a
{
border-radius: 6px;
background: #333 url(images/tag16.png) left center no-repeat;
padding: 0 2px 1px 18px;
color: white;
background: -moz-radial-gradient(#666, black);
padding: 6px;
color: #EEE;
text-decoration : none;
font-weight: bold;
}