Add sidebar again

This commit is contained in:
Jef van Schendel 2012-03-04 19:13:47 +01:00
parent 822d37176e
commit 141f14e27e
2 changed files with 23 additions and 27 deletions

View File

@ -109,7 +109,7 @@ input, textarea {
.container {
margin: auto;
width: 96%;
max-width: 820px;
max-width: 940px;
}
header {
@ -151,18 +151,14 @@ footer {
}
.media_pane {
width: 560px;
width: 640px;
margin-left: 0px;
margin-right: 10px;
float: left;
}
img.media_image {
width: 100%;
}
.media_sidebar {
width: 240px;
width: 280px;
margin-left: 10px;
float: left;
}
@ -493,7 +489,7 @@ table.media_panel th {
}
/* Media queries and other responsivisivity */
@media screen and (max-width: 820px) {
@media screen and (max-width: 940px) {
.media_pane {
width: 100%;
margin: 0px;

View File

@ -47,6 +47,7 @@
<p class="context">❖ Browsing media by <a href="{{ user_url }}">{{ username }}</a></p>
{%- endtrans %}
{% include "mediagoblin/utils/prev_next.html" %}
<div class="media_pane">
<div class="media_image_container">
{% block mediagoblin_media %}
{% set display_media = request.app.public_store.file_url(
@ -68,7 +69,6 @@
{% endif %}
{% endblock %}
</div>
<div class="media_pane">
<h2 class="media_title">
{{ media.title }}
</h2>