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

View file

@ -152,11 +152,21 @@ text-align: center;
padding-top: 120px; 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; border-radius: 6px;
background: #333 url(images/tag16.png) left center no-repeat; background: -moz-radial-gradient(#666, black);
padding: 0 2px 1px 18px; padding: 6px;
color: white; color: #EEE;
text-decoration : none; text-decoration : none;
font-weight: bold;
} }