home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (image_gallery.css)

This example Drupal source code file (image_gallery.css) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

1em, 1px, 4px, background, border, cccccc, float, left, li, margin, none, padding, solid, transparent

The image_gallery.css Drupal example source code

/* $Id: image_gallery.css,v 1.10 2009/08/27 12:10:57 joachim Exp $ */

ul.galleries {
  list-style-type : none;
  margin : 0;
  padding : 0;
}

ul.galleries li {
  position : relative;
  background: transparent none;
  border : 1px #cccccc solid;
  margin : 1em 0;
  padding : 1em;
}

ul.galleries li img {
  float : left;
  position : relative;
  padding-right : 4px;
  margin-right : 4px;
}

ul.galleries li .count,
ul.galleries li .last {
  clear : left;
  margin : 0;
  padding : 0;
  font-style : italic;
}

ul.galleries h3 {
  margin : 0;
  padding : 0;
}

ul.images {
  list-style-type : none;
  margin : 0;
  padding : 0;
}

ul.images h3 { 
  font-size:1em;
}

ul.images li {
  float : left;
  margin : 1em;
  background: transparent none;
  list-style: none;
}

/* Views: gallery terms style plugin. */
.view .image-gallery-terms li {
  background: transparent none;
  border : 1px #cccccc solid;
  margin : 1em 0;
  padding : 1em;
}
.image-gallery-terms .image-gallery-view-cover-thumbnail {
  float: left;
  margin-right: 1em;
}

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal image_gallery.css source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.