Skip to content

Commit

Permalink
Fixed the pdf content width and background, and added space before Do…
Browse files Browse the repository at this point in the history
…wnload pdf link.
  • Loading branch information
Morgan Hirtle committed Jun 5, 2014
1 parent 1533d9a commit 6d611bb
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions css/islandora_pdf.theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
that breaks down to two columns when 2 sidebars are visible
*/

.islandora-pdf-link {

a.islandora-pdf-link {
margin-left: 5px;
}

.islandora-pdf-content {
Expand All @@ -16,6 +16,9 @@
-moz-border-radius: 5px;
border-radius: 5px;
padding: 15px;
float: left;
width: auto;
max-width: 100%;
}

.islandora-pdf-content img {
Expand Down Expand Up @@ -66,11 +69,6 @@ body.two-sidebars .islandora-pdf-sidebar {

@media all and (min-width: 768px) {

body.no-sidebars .islandora-pdf-content {
width: 65%;
float: left; /* LTR */
}

body.no-sidebars .islandora-pdf-sidebar {
padding-left: 20px;
}
Expand Down

0 comments on commit 6d611bb

Please sign in to comment.