First changes to media gallery view
authorJef van Schendel <jefvanschendel@gmail.com>
Sun, 29 May 2011 00:02:26 +0000 (02:02 +0200)
committerJef van Schendel <jefvanschendel@gmail.com>
Sun, 29 May 2011 00:02:26 +0000 (02:02 +0200)
mediagoblin/static/css/base.css
mediagoblin/templates/mediagoblin/utils/object_gallery.html

index 5d2189c7f39b213709a8f63848d103147985b9f7..5d928b9ab1ef78f06e8516e13aa3e456fc0facff 100644 (file)
@@ -146,3 +146,15 @@ img.media_image {
   margin-left:auto;
   margin-right:auto;
 }
+
+li.media_thumbnail {
+        width: 200px;
+        min-height: 250px;
+        display: -moz-inline-stack;
+        display: inline-block;
+        vertical-align: top;
+        margin: 5px;
+        zoom: 1;
+        *display: inline;
+        _height: 250px;
+}
index 30497f4757b8bd2fd4cf43a0e7f268cb6e6bb099..c9c3e0db2ab69966e5d38f0e7a634e3a921bdc41 100644 (file)
@@ -21,7 +21,7 @@
     {% if media_entries %}
       <ul>
         {% for entry in media_entries %}
-          <li>
+          <li class="media_thumbnail">
             <a href="{{ entry.url_for_self(request.urlgen) }}">
             <img src="{{ request.app.public_store.file_url(
                   entry['media_files']['thumb']) }}" /></a>