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

View file

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