/* $Id$ */ /** * Drupal embeded Gallery2 css overrides. * These do not make a perfect theme, but are not bad as a first step. */ /* Increase font size */ #gallery { font-size: 100%; } /* Remove the header */ #gsHeader { display: none; } /* Removes the Gallery Title (as Drupal displays it)*/ #gallery .gbBlock table h2 { display: none; } /* Drupal 5.x system.css adds a border to tbody */ #gallery tbody { border-top: none; } /* Garland adds a width: 100% to all tables */ td.giAlbumCell table, td.giItemCell table { width: auto; } /* Garland adds td and th padding which needs to be removed for imageframes. Have to manually add each imageframe type -- annoying. */ table.ImageFrame_bamboo td, table.ImageFrame_book td, table.ImageFrame_brand td, table.ImageFrame_dotapple td, table.ImageFrame_filmedges td, table.ImageFrame_flicking td, table.ImageFrame_gold td, table.ImageFrame_gold2 td, table.ImageFrame_notebook td, table.ImageFrame_notebooksquare td, table.ImageFrame_photocorners td, table.ImageFrame_photocorners_small td, table.ImageFrame_polaroid td, table.ImageFrame_polaroids td, table.ImageFrame_postage td, table.ImageFrame_shell td, table.ImageFrame_shadow td, table.ImageFrame_slide td, table.ImageFrame_slidesquare td, table.ImageFrame_wood td { padding: 0; } /* Brings h2 back for siteAdmin pages */ #siteAdminForm .gbBlock h2 { display: block; } /* Do not display the breadcrumb */ #gsNavBar div.gbBreadCrumb { display: none; } /* The system links ("Site Admin", "Your Album") should no longer float as the breadcrumb has been removed. Just align right */ #gsNavBar div.gbSystemLinks { text-align: right; float: none; } /* .block-gallery is in the sidebar */ .block-gallery #gsSidebar { border: none; width: auto; overflow: hidden; } .block-gallery div.block-core-ItemLinks { margin: 0; border-bottom: 1px solid #aaa; } .block-gallery .gbBlock { padding: 0 5px 3px 5px; } /* Drupal 5.x system.css adds a border to tbody */ .block-gallery tbody { border-top: none; } .block-gallery td, th { padding: 0; /* Garland adds padding which needs to be removed */ } /* Navigation Tree */ .block-gallery .dtree { font-size: 1em; } /* For g2ic_plugin */ img.g2image_float_left, div.g2image_float_left { float: left; margin: 4px; } img.g2image_float_right, div.g2image_float_right { float: right; margin: 4px; } img.g2image_centered, div.g2image_centered { display: block; margin-left: auto; margin-right: auto; text-align: center; } /* Neeed to centre images with frames */ .g2image_centered table { margin: auto; } .g2image_clear_images { clear: both; } .post-content img { float: left; clear: both; margin: 4px; } .page-content img { float: left; clear: both; margin: 4px; } /* Embed success, warning, error messages */ .g2_embed_success { color: green; } .g2_embed_warning { color: #f63; } .g2_embed_error { color: red; font-weight: bold; } /* Gallery Grid Block */ .gallery-grid-block { padding: 1px; /* width: 500px; display: block; margin-left: auto; margin-right: auto;*/ } /*.gallery-grid-block .image-grid { width: 182px; width: 300px; }*/ /*.gallery-grid-block .one-image { float: left; display: inline; padding: 3px; }*/ /*.gallery-grid-block .one-image { // float: left; width: 90px; margin-left: auto; margin-right: auto; display: block; padding: 1px; }*/ .gallery-grid-block .one-image { margin: 1px; } /* Drupal 5.x system.css adds a border to tbody */ .gallery-grid-block tbody { border-top: none; } td.gallery-grid-block { text-align:center; } /* So imageframed thumbs can be centered */ /*td.gallery-grid-block table { margin: auto; }*/ .gallery-grid-block table, .gallery-grid-block .one-image td, .gallery-grid-block .one-image table { padding: 0; /* Garland adds padding which needs to be removed */ margin: auto; } .dtree { line-height: 100%; } .dtree a.node, .dtree a.nodeSel { margin-left: 0; }