From: Jef van Schendel Date: Sun, 16 Dec 2012 20:57:19 +0000 (+0100) Subject: Remove collection_thumbnail styling, so collection thumbnails are styled the same... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=98b927250ecdce4bc96ece2908ce2c9b49b21f76;p=mediagoblin.git Remove collection_thumbnail styling, so collection thumbnails are styled the same as other thumbnails --- diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index a8184f57..f06b0af7 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -392,6 +392,11 @@ textarea#comment_content { display: block; } +.media_thumbnail a.remove { + color: #86D4B1; + text-decoration: underline; +} + a.thumb_entry_title { padding: 8px; } @@ -404,34 +409,6 @@ a.thumb_entry_title { margin-right: 0px; } -/* collection media */ - -.collection_thumbnail { - float: left; - padding: 0px; - width: 180px; - margin: 0px 4px 10px; - text-align: left; - font-size: 0.875em; - background-color: #222; - border-radius: 0 0 5px 5px; - padding: 0 0 6px; - text-overflow: ellipsis; -} - -.collection_thumbnail a { - color: #eee; - text-decoration: none; -} - -.collection_thumbnail a.remove { - color: #86D4B1; -} - -.collection_thumbnail img { - max-height: 135px; -} - /* media detail */ h2.media_title { diff --git a/mediagoblin/templates/mediagoblin/utils/collection_gallery.html b/mediagoblin/templates/mediagoblin/utils/collection_gallery.html index af332537..ab5e46ea 100644 --- a/mediagoblin/templates/mediagoblin/utils/collection_gallery.html +++ b/mediagoblin/templates/mediagoblin/utils/collection_gallery.html @@ -27,7 +27,7 @@ {% for item in row %} {% set media_entry = item.get_media_entry %} {% set entry_url = media_entry.url_for_self(request.urlgen) %} - @@ -35,7 +35,6 @@ {% if item.note %} -
{{ item.note }} {% endif %} {% if request.user and @@ -46,7 +45,6 @@ user=item.in_collection.get_creator.username, collection=item.in_collection.slug, collection_item=item.id) -%} -
{%- trans %}(remove){% endtrans -%}