diff --git a/public/css/default.css b/public/css/default.css index 1bb7039a..c9a24cb3 100644 --- a/public/css/default.css +++ b/public/css/default.css @@ -163,14 +163,12 @@ ul#nav li a:hover { .tiled_grid div.landscape, .tiled_grid div.portrait, .tiled_grid div.panorama, .tiled_grid div.duo, .tiled_grid div.single { background: #fff; - border-bottom-style: none !important; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); float: left; line-height: 0; margin: 0 3.5% 3.5% 0; overflow: none; position: relative; - padding-bottom: 5px; width: 31%; } .tiled_grid div img { @@ -181,7 +179,7 @@ ul#nav li a:hover { color: #000; margin: 0; font: 400 18px "Open Sans", sans-serif; - padding: 20px 5px 15px; + padding: 15px 5px; text-overflow: ellipsis; text-align: center; white-space: nowrap; @@ -192,9 +190,7 @@ ul#nav li a:hover { } .tiled_grid div.landscape:hover, .tiled_grid div.portrait:hover, .tiled_grid div.panorama:hover, .tiled_grid div.duo:hover, .tiled_grid div.single:hover { - padding-bottom: 0; - border-bottom-width: 5px; - border-bottom-style: solid !important; + box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } /* Panoramas */ @@ -519,12 +515,9 @@ textarea { /* Styling for the photo pages --------------------------------*/ #photo_frame { - overflow: hidden; text-align: center; } #photo_frame a { - background: #fff; - border: 0.9em solid #fff; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); cursor: -moz-zoom-in; display: inline-block; @@ -674,7 +667,7 @@ a#previous_photo:hover, a#next_photo:hover { } .tiled_grid div h4 { font-size: 14px; - padding: 15px 5px 10px; + padding: 15px 5px; } .tiled_row > div, .tiled_row .single, .tiled_row .duo { diff --git a/templates/PhotosIndex.php b/templates/PhotosIndex.php index de1ad3af..70ee3dc6 100644 --- a/templates/PhotosIndex.php +++ b/templates/PhotosIndex.php @@ -19,7 +19,7 @@ class PhotosIndex extends SubTemplate const PANORAMA_HEIGHT = null; const PORTRAIT_WIDTH = 400; - const PORTRAIT_HEIGHT = 640; + const PORTRAIT_HEIGHT = 645; const LANDSCAPE_WIDTH = 850; const LANDSCAPE_HEIGHT = 640; @@ -31,9 +31,9 @@ class PhotosIndex extends SubTemplate const SINGLE_HEIGHT = 412; const TILE_WIDTH = 400; - const TILE_HEIGHT = 267; + const TILE_HEIGHT = 300; - public function __construct(PhotoMosaic $mosaic, $show_edit_buttons = false, $show_labels = true, $show_headers = true) + public function __construct(PhotoMosaic $mosaic, $show_edit_buttons = false, $show_labels = false, $show_headers = true) { $this->mosaic = $mosaic; $this->show_edit_buttons = $show_edit_buttons;