diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index ae4c42fc..7d1c4fed 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -167,6 +167,16 @@ footer { clear: both; } +.thumb_gallery { + margin-left: 10px; + margin-right: 10px; +} + +.profile_showcase .thumb_gallery { + margin-left: 0; + margin-right: 0; +} + .media_pane { width: 640px; margin-left: 0px; @@ -181,15 +191,15 @@ footer { } .profile_sidebar { - width: 340px; - margin-right: 10px; - float: left; +/* width: 340px;*/ +/* margin-right: 10px;*/ +/* float: left;*/ } .profile_showcase { - width: 580px; - margin-left: 10px; - float: left; +/* width: 580px;*/ +/* margin-left: 10px;*/ +/* float: left;*/ } /* common website elements */ @@ -243,6 +253,17 @@ text-align: center; float: right; } +.left_align { + float: right; +} + +.pull-right { + float: right !important; +} +.pull-left { + float: left !important; +} + .clear { clear: both; display: block; @@ -761,6 +782,7 @@ pre { } /* Media queries and other responsivisivity */ +/* initial GMG max 940 */ @media screen and (max-width: 940px) { .media_pane { width: 100%; @@ -838,6 +860,7 @@ pre { } } +/* desktop resolutions */ @media screen and (min-width: 960px) { .container .three.columns { width:180px; @@ -845,25 +868,35 @@ pre { margin-right:3px; } } +/* Tablet Portrait size to standard 960 (devices and browsers) */ @media only screen and (min-width: 768px) and (max-width: 959px) { .container .three.columns { width:147px; margin-left:2px; margin-right:2px; } + .thumb_gallery { + margin-left: 0; + margin-right: 0; + } } +/* All Mobile Sizes (devices and browser) */ @media screen and (max-width: 767px) { .thumb_row { margin-bottom: 0; } + .thumb_gallery { + margin-left: 0; + margin-right: 0; + } } +/* initial GMG tablet */ @media screen and (max-width: 570px) { .media_thumbnail { width: 29%; } - } - +/* initial GMG phone */ @media screen and (max-width: 380px) { .media_thumbnail { width: 46%; diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index 2d6f03d9..0d22608b 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -56,8 +56,12 @@ {% block mediagoblin_header %}
+
+
{%- include "mediagoblin/bits/logo.html" -%} {% block mediagoblin_header_title %}{% endblock %} +
+
{%- if request.user %} {% if request.user and @@ -105,6 +109,7 @@ {%- endif %}
+
{% if request.user and request.user.has_privilege('active') %}
@@ -158,6 +163,7 @@ {% include 'mediagoblin/fragments/header_notifications.html' %}
{% endif %} +
{% endblock %} diff --git a/mediagoblin/templates/mediagoblin/user_pages/user.html b/mediagoblin/templates/mediagoblin/user_pages/user.html index 14a67431..51baa9bb 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/user.html +++ b/mediagoblin/templates/mediagoblin/user_pages/user.html @@ -41,6 +41,7 @@ {% block mediagoblin_content -%} +

{%- trans username=user.username %}{{ username }}'s profile{% endtrans -%}

@@ -81,9 +82,9 @@

- + {% if media_entries.count() %} -
+
{{ object_gallery(request, media_entries, pagination, pagination_base_url=user_gallery_url, col_number=3) }} {% include "mediagoblin/utils/object_gallery.html" %} @@ -101,7 +102,7 @@
{% else %} {% if request.user and (request.user.id == user.id) %} -
+

{% trans -%} This is where your media will appear, but you don't seem to have added anything yet. @@ -113,7 +114,7 @@

{% else %} -
+

{% trans -%} There doesn't seem to be any media here yet...