Location: PHPKode > projects > Exhibitae > exhibitae-1.1-ffd/Exhibitae/includes/templates/default/gallery.php
<?php
/*	This file is part of Exhibitae.

    Exhibitae is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    Exhibitae is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

// CSS for the index, album, archive and popular pages
return '
.gallery_albumlist_image_except_first
{
	padding-top: 1px;
	vertical-align: middle;
}

.gallery_albumlist_image_first
{
	vertical-align: middle;
}

.gallery_albumlist_image
{
	margin-bottom: -3px;
}

.gallery_albumlist_title_description_except_first
{
	padding: 1px 4px 4px 4px;
	width: 100%;
	vertical-align: top;
}

.gallery_albumlist_title_description_first
{
	padding: 4px;
	width: 100%;
	vertical-align: top;
}

.gallery_albumlist_title
{
	font-weight: bold;
	margin-bottom: 4px;
}

.gallery_image
{
	margin: 0px auto -3px auto;
}

.gallery_imagelist_table
{
	margin: 0 auto;
	text-align: center;
}

.gallery_imagelist_image_not_first_wide
{
	padding: 0px 24px;
}

.gallery_imagelist_image_not_first
{
	padding-left: 1px;
}

.gallery_imagelist_image_wide
{
	padding: 0px 24px;
}

.gallery_imagelist_image
{
	background-color: '.$ini['t_gallery_imagelist_image_bgcolor'].';
	margin-bottom: -3px;
}

.gallery_imagelist_divider
{
	height: 1px;
}

.gallery_index_header_newest
{
	background-color: '.$ini['t_gallery_index_header_newest_bgcolor'].';
	text-align: center;
	font-weight: bold;
	border-bottom: 1px solid '.$ini['t_gallery_index_header_newest_bordercolor'].';
	padding: 2px;
}

.gallery_index_header_popular
{
	background-color: '.$ini['t_gallery_index_header_popular_bgcolor'].';
	text-align: center;
	font-weight: bold;
	border-top: 1px solid '.$ini['t_gallery_index_header_popular_topbordercolor'].';
	border-bottom: 1px solid '.$ini['t_gallery_index_header_popular_bottombordercolor'].';
	margin-top: 8px;
	padding: 2px;
}

.gallery_index_header_random
{
	background-color: '.$ini['t_gallery_index_header_random_bgcolor'].';
	text-align: center;
	font-weight: bold;
	border-top: 1px solid '.$ini['t_gallery_index_header_random_topbordercolor'].';
	border-bottom: 1px solid '.$ini['t_gallery_index_header_random_bottombordercolor'].';
	margin-top: 8px;
	padding: 2px;
}

.gallery_index_table
{
	margin: 0 auto;
	text-align: center;
	padding: 1px 0px;
	width: 100%;
}

.gallery_index_image_not_first
{
	padding-left: 1px;
}

.gallery_index_image
{
	background-color: '.$ini['t_gallery_gallery_index_image_bgcolor'].';
	margin-bottom: -3px;
}

.gallery_index_divider
{
	height: 1px;
}
';
?>
Return current item: Exhibitae