summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/wind/css/screen.css18
-rw-r--r--themes/wind/views/movie.html.php11
2 files changed, 20 insertions, 9 deletions
diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css
index 74771e07..1a7fc110 100644
--- a/themes/wind/css/screen.css
+++ b/themes/wind/css/screen.css
@@ -129,6 +129,9 @@ td {
border: none;
border-bottom: 1px solid #ccc;
padding: .5em;
+}
+
+td {
vertical-align: top;
}
@@ -274,18 +277,25 @@ td {
/* Individual photo content ~~~~~~~~~~~~~~ */
-#g-content #g-item {
+#g-item {
position: relative;
width: 100%;
}
-#g-content #g-photo {
+#g-item #g-photo,
+#g-item #g-movie {
+ padding: 1em 0;
+}
+
+#g-item #g-photo,
+#g-item #g-movie {
position: relative;
}
-#g-content #g-item .g-fullsize-link img {
+#g-item img.g-resize,
+#g-item a.g-movie object {
display: block;
- margin: 1em auto;
+ margin: 0 auto;
}
/* Footer content ~~~~~~~~~~~~~~~~~~~~~~~~ */
diff --git a/themes/wind/views/movie.html.php b/themes/wind/views/movie.html.php
index a791f2d8..116fd95e 100644
--- a/themes/wind/views/movie.html.php
+++ b/themes/wind/views/movie.html.php
@@ -2,7 +2,7 @@
<div id="g-item">
<?= $theme->photo_top() ?>
- <ul class="g-pager">
+ <ul class="g-pager ui-helper-clearfix">
<li>
<? if ($previous_item): ?>
<a href="<?= $previous_item->url() ?>" class="g-button ui-icon-left ui-state-default ui-corner-all">
@@ -24,12 +24,13 @@
</li>
</ul>
-
- <?= $item->movie_img(array("class" => "g-movie", "id" => "g-movie-id-{$item->id}")) ?>
-
+ <div id="g-movie" class="ui-helper-clearfix">
+ <?= $item->movie_img(array("class" => "g-movie", "id" => "g-movie-id-{$item->id}")) ?>
+ </div>
+
<div id="g-info">
<h1><?= html::purify($item->title) ?></h1>
- <div><?= nl2br(html::purify($item->description)) ?></div>
+ <div><?= nl2br(html::purify($item->description)) ?></div>
</div>
<?= $theme->photo_bottom() ?>