more skeleton migrations

This commit is contained in:
jpope 2014-01-06 10:52:11 -06:00
parent 8b8698eff5
commit 3bb58e6f0a
3 changed files with 52 additions and 12 deletions

View File

@ -167,6 +167,16 @@ footer {
clear: both; clear: both;
} }
.thumb_gallery {
margin-left: 10px;
margin-right: 10px;
}
.profile_showcase .thumb_gallery {
margin-left: 0;
margin-right: 0;
}
.media_pane { .media_pane {
width: 640px; width: 640px;
margin-left: 0px; margin-left: 0px;
@ -181,15 +191,15 @@ footer {
} }
.profile_sidebar { .profile_sidebar {
width: 340px; /* width: 340px;*/
margin-right: 10px; /* margin-right: 10px;*/
float: left; /* float: left;*/
} }
.profile_showcase { .profile_showcase {
width: 580px; /* width: 580px;*/
margin-left: 10px; /* margin-left: 10px;*/
float: left; /* float: left;*/
} }
/* common website elements */ /* common website elements */
@ -243,6 +253,17 @@ text-align: center;
float: right; float: right;
} }
.left_align {
float: right;
}
.pull-right {
float: right !important;
}
.pull-left {
float: left !important;
}
.clear { .clear {
clear: both; clear: both;
display: block; display: block;
@ -761,6 +782,7 @@ pre {
} }
/* Media queries and other responsivisivity */ /* Media queries and other responsivisivity */
/* initial GMG max 940 */
@media screen and (max-width: 940px) { @media screen and (max-width: 940px) {
.media_pane { .media_pane {
width: 100%; width: 100%;
@ -838,6 +860,7 @@ pre {
} }
} }
/* desktop resolutions */
@media screen and (min-width: 960px) { @media screen and (min-width: 960px) {
.container .three.columns { .container .three.columns {
width:180px; width:180px;
@ -845,25 +868,35 @@ pre {
margin-right:3px; margin-right:3px;
} }
} }
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) { @media only screen and (min-width: 768px) and (max-width: 959px) {
.container .three.columns { .container .three.columns {
width:147px; width:147px;
margin-left:2px; margin-left:2px;
margin-right:2px; margin-right:2px;
} }
.thumb_gallery {
margin-left: 0;
margin-right: 0;
} }
}
/* All Mobile Sizes (devices and browser) */
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
.thumb_row { .thumb_row {
margin-bottom: 0; margin-bottom: 0;
} }
.thumb_gallery {
margin-left: 0;
margin-right: 0;
} }
}
/* initial GMG tablet */
@media screen and (max-width: 570px) { @media screen and (max-width: 570px) {
.media_thumbnail { .media_thumbnail {
width: 29%; width: 29%;
} }
} }
/* initial GMG phone */
@media screen and (max-width: 380px) { @media screen and (max-width: 380px) {
.media_thumbnail { .media_thumbnail {
width: 46%; width: 46%;

View File

@ -56,8 +56,12 @@
{% block mediagoblin_header %} {% block mediagoblin_header %}
<div class="container"> <div class="container">
<header> <header>
<div class="row hell">
<div class="eight columns alpha omega">
{%- include "mediagoblin/bits/logo.html" -%} {%- include "mediagoblin/bits/logo.html" -%}
{% block mediagoblin_header_title %}{% endblock %} {% block mediagoblin_header_title %}{% endblock %}
</div>
<div class="eight columns alpha omega pull-right">
<div class="header_right"> <div class="header_right">
{%- if request.user %} {%- if request.user %}
{% if request.user and {% if request.user and
@ -105,6 +109,7 @@
</a> </a>
{%- endif %} {%- endif %}
</div> </div>
</div><!--end eight columns pull-right-->
<div class="clear"></div> <div class="clear"></div>
{% if request.user and request.user.has_privilege('active') %} {% if request.user and request.user.has_privilege('active') %}
<div class="header_dropdown"> <div class="header_dropdown">
@ -158,6 +163,7 @@
{% include 'mediagoblin/fragments/header_notifications.html' %} {% include 'mediagoblin/fragments/header_notifications.html' %}
</div> </div>
{% endif %} {% endif %}
</div><!-- end row -->
</header> </header>
</div> </div>
{% endblock %} {% endblock %}

View File

@ -41,6 +41,7 @@
{% block mediagoblin_content -%} {% block mediagoblin_content -%}
<div class="six columns">
<h1> <h1>
{%- trans username=user.username %}{{ username }}'s profile{% endtrans -%} {%- trans username=user.username %}{{ username }}'s profile{% endtrans -%}
</h1> </h1>
@ -81,9 +82,9 @@
</a> </a>
</p> </p>
</div> </div>
</div><!--end six columns-->
{% if media_entries.count() %} {% if media_entries.count() %}
<div class="profile_showcase"> <div class="ten columns profile_showcase">
{{ object_gallery(request, media_entries, pagination, {{ object_gallery(request, media_entries, pagination,
pagination_base_url=user_gallery_url, col_number=3) }} pagination_base_url=user_gallery_url, col_number=3) }}
{% include "mediagoblin/utils/object_gallery.html" %} {% include "mediagoblin/utils/object_gallery.html" %}
@ -101,7 +102,7 @@
</div> </div>
{% else %} {% else %}
{% if request.user and (request.user.id == user.id) %} {% if request.user and (request.user.id == user.id) %}
<div class="profile_showcase empty_space"> <div class="ten columns profile_showcase empty_space">
<p> <p>
{% trans -%} {% trans -%}
This is where your media will appear, but you don't seem to have added anything yet. This is where your media will appear, but you don't seem to have added anything yet.
@ -113,7 +114,7 @@
</a> </a>
</div> </div>
{% else %} {% else %}
<div class="profile_showcase empty_space"> <div class="ten columns profile_showcase empty_space">
<p> <p>
{% trans -%} {% trans -%}
There doesn't seem to be any media here yet... There doesn't seem to be any media here yet...