From: Christopher Allan Webber Date: Mon, 1 Aug 2011 01:54:21 +0000 (-0500) Subject: Align image in media detail to center X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=92ed289261fc8b091ef459757eb321db9be7d6b8;p=mediagoblin.git Align image in media detail to center --- diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index c84fe047..59c2f49d 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -212,6 +212,12 @@ text-align: center; text-align: center; } +/* media detail */ + +.media_image_container { + text-align: center; +} + /* icons */ img.media_icon{ diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 353cf91c..a1382518 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -23,8 +23,11 @@ {% block mediagoblin_content %} {% if media %}
- +
+ +

{{media.title}}