Updated css .download

This commit is contained in:
Thomas Severinsen 2013-03-01 19:21:32 +01:00
parent 6a5c8b09ee
commit 7ce7b28e7c
2 changed files with 8 additions and 2 deletions

View file

@ -211,6 +211,7 @@
<?php <?php
} }
?> ?>
<h2 class="download">
<?php <?php
$i = 0; $i = 0;
foreach ($config['cops_prefered_format'] as $format) foreach ($config['cops_prefered_format'] as $format)
@ -219,12 +220,13 @@
if ($data = $entry->book->getDataFormat ($format)) { if ($data = $entry->book->getDataFormat ($format)) {
$i++; $i++;
?> ?>
<h2 class="download"><a href="<?php echo $data->getHtmlLink () ?>"><?php echo $format ?></a></h2> <a href="<?php echo $data->getHtmlLink () ?>"><?php echo $format ?></a><br />
<?php <?php
} }
} }
?> ?>
</h2>
<a class="fancyabout" href="<?php echo $entry->book->getDetailUrl () ?>"> <a class="fancyabout" href="<?php echo $entry->book->getDetailUrl () ?>">
<h2><?php echo htmlspecialchars ($entry->title) ?> <h2><?php echo htmlspecialchars ($entry->title) ?>
<?php <?php

View file

@ -110,6 +110,7 @@ max-width:800px;
.books { .books {
clear: both; clear: both;
padding: 10px; padding: 10px;
min-height: 90px;
} }
.cover { .cover {
@ -121,6 +122,8 @@ max-width:800px;
.download { .download {
float: right; float: right;
line-height:40px;
text-align: right;
} }
.download a { .download a {
@ -134,6 +137,7 @@ max-width:800px;
padding: 5px; padding: 5px;
} }
.books h4{ .books h4{
display: inline; display: inline;
font-style: italic; font-style: italic;