small css refactoring. Not really happy about it

This commit is contained in:
Sébastien Lucas 2012-06-12 22:21:46 +02:00
parent bae5f382ba
commit d8dad98f01
2 changed files with 12 additions and 9 deletions

View file

@ -118,14 +118,14 @@
<?php
if (array_key_exists("epub", $entry->book->format)) {
?>
<div class="button"><a href="<?php echo "download/" . $entry->book->id . "/" . urlencode ($entry->book->format ["epub"]) ?>">EPUB</a></div>
<div class="button buttonEffect"><a href="<?php echo "download/" . $entry->book->id . "/" . urlencode ($entry->book->format ["epub"]) ?>">EPUB</a></div>
<?php
}
?>
<?php
if (array_key_exists("pdf", $entry->book->format)) {
?>
<div class="button"><a href="<?php echo "download/" . $entry->book->id . "/" . urlencode ($entry->book->format ["pdf"]) ?>">PDF</a></div>
<div class="button buttonEffect"><a href="<?php echo "download/" . $entry->book->id . "/" . urlencode ($entry->book->format ["pdf"]) ?>">PDF</a></div>
<?php
}
?>