display: block;
}
+.media_thumbnail a.remove {
+ color: #86D4B1;
+ text-decoration: underline;
+}
+
a.thumb_entry_title {
padding: 8px;
}
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 {
{% for item in row %}
{% set media_entry = item.get_media_entry %}
{% set entry_url = media_entry.url_for_self(request.urlgen) %}
- <td class="collection_thumbnail thumb_entry
+ <td class="media_thumbnail thumb_entry
{%- if loop.first %} thumb_entry_first
{%- elif loop.last %} thumb_entry_last{% endif %}">
<a href="{{ entry_url }}">
</a>
{% if item.note %}
- <br />
<a href="{{ entry_url }}">{{ item.note }}</a>
{% endif %}
{% if request.user and
user=item.in_collection.get_creator.username,
collection=item.in_collection.slug,
collection_item=item.id) -%}
- <br />
<a href="{{ remove_url }}" class="remove">
{%- trans %}(remove){% endtrans -%}
</a>