aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJef van Schendel <jefvanschendel@gmail.com>2011-06-23 17:39:13 +0200
committerJef van Schendel <jefvanschendel@gmail.com>2011-06-23 17:39:13 +0200
commitc397b962de5de83aa1726f563fbb70d6927fc91b (patch)
tree84172bc0ff4d525506a4d824e21eb4dc8675532d
parentdd0d7f24bccc41f9c84d9924dd183e5752a72171 (diff)
downloadmediagoblin-c397b962de5de83aa1726f563fbb70d6927fc91b.tar.lz
mediagoblin-c397b962de5de83aa1726f563fbb70d6927fc91b.tar.xz
mediagoblin-c397b962de5de83aa1726f563fbb70d6927fc91b.zip
Remove excess grids, change CSS to center forms
-rw-r--r--mediagoblin/static/css/base.css5
-rw-r--r--mediagoblin/templates/mediagoblin/auth/login.html2
-rw-r--r--mediagoblin/templates/mediagoblin/auth/register.html2
-rw-r--r--mediagoblin/templates/mediagoblin/edit/edit.html2
-rw-r--r--mediagoblin/templates/mediagoblin/edit/edit_profile.html2
-rw-r--r--mediagoblin/templates/mediagoblin/submit/start.html2
6 files changed, 5 insertions, 10 deletions
diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css
index db35a121..9c9bcea3 100644
--- a/mediagoblin/static/css/base.css
+++ b/mediagoblin/static/css/base.css
@@ -104,6 +104,11 @@ a.mediagoblin_logo:hover {
background-repeat:repeat-x;
font-size:18px;
padding-bottom:30px;
+ padding-top:1px;
+ margin-left:auto;
+ margin-right:auto;
+ display:block;
+ float:none;
}
.edit_box {
diff --git a/mediagoblin/templates/mediagoblin/auth/login.html b/mediagoblin/templates/mediagoblin/auth/login.html
index 6e29800f..f6ee7166 100644
--- a/mediagoblin/templates/mediagoblin/auth/login.html
+++ b/mediagoblin/templates/mediagoblin/auth/login.html
@@ -23,7 +23,6 @@
<form action="{{ request.urlgen('mediagoblin.auth.login') }}"
method="POST" enctype="multipart/form-data">
- <div class="grid_3 alpha">&nbsp;</div>
<div class="grid_4 prefix_1 suffix_1 form_box">
<h1>Log in</h1>
{% if login_failed %}
@@ -39,6 +38,5 @@
{% endif %}
<p>Don't have an account yet?<br /><a href="{{ request.urlgen('mediagoblin.auth.register') }}">Create one here!</a></p>
</div>
- <div class="grid_3 omega">&nbsp;</div>
</form>
{% endblock %}
diff --git a/mediagoblin/templates/mediagoblin/auth/register.html b/mediagoblin/templates/mediagoblin/auth/register.html
index 3db32ef3..7e18ca58 100644
--- a/mediagoblin/templates/mediagoblin/auth/register.html
+++ b/mediagoblin/templates/mediagoblin/auth/register.html
@@ -23,7 +23,6 @@
<form action="{{ request.urlgen('mediagoblin.auth.register') }}"
method="POST" enctype="multipart/form-data">
- <div class="grid_3 alpha">&nbsp;</div>
<div class="grid_4 prefix_1 suffix_1 form_box">
<h1>Create an account!</h1>
{{ wtforms_util.render_divs(register_form) }}
@@ -31,6 +30,5 @@
<input type="submit" value="submit" class="button" />
</div>
</div>
- <div class="grid_3 omega">&nbsp;</div>
</form>
{% endblock %}
diff --git a/mediagoblin/templates/mediagoblin/edit/edit.html b/mediagoblin/templates/mediagoblin/edit/edit.html
index ffe4f661..12ddd535 100644
--- a/mediagoblin/templates/mediagoblin/edit/edit.html
+++ b/mediagoblin/templates/mediagoblin/edit/edit.html
@@ -25,7 +25,6 @@
user= media.uploader().username,
media= media._id) }}"
method="POST" enctype="multipart/form-data">
- <div class="grid_2 alpha">&nbsp;</div>
<div class="grid_6 prefix_1 suffix_1 edit_box form_box">
<h1>Editing {{ media.title }}</h1>
{{ wtforms_util.render_divs(form) }}
@@ -36,7 +35,6 @@
<img src="{{ request.app.public_store.file_url(
media['media_files']['thumb']) }}" />
</div>
- <div class="grid_2 omega">&nbsp;</div>
</form>
{% endblock %}
diff --git a/mediagoblin/templates/mediagoblin/edit/edit_profile.html b/mediagoblin/templates/mediagoblin/edit/edit_profile.html
index 274c8092..7efd0ee3 100644
--- a/mediagoblin/templates/mediagoblin/edit/edit_profile.html
+++ b/mediagoblin/templates/mediagoblin/edit/edit_profile.html
@@ -24,7 +24,6 @@
<form action="{{ request.urlgen('mediagoblin.edit.profile',
user=user.username) }}"
method="POST" enctype="multipart/form-data">
- <div class="grid_2 alpha">&nbsp;</div>
<div class="grid_6 prefix_1 suffix_1 edit_box form_box">
<h1>Editing {{ user['username'] }}'s profile</h1>
{{ wtforms_util.render_divs(form) }}
@@ -32,6 +31,5 @@
<input type="submit" value="submit" class="button" />
</div>
</div>
- <div class="grid_2 omega">&nbsp;</div>
</form>
{% endblock %}
diff --git a/mediagoblin/templates/mediagoblin/submit/start.html b/mediagoblin/templates/mediagoblin/submit/start.html
index a40e68f8..00577fa1 100644
--- a/mediagoblin/templates/mediagoblin/submit/start.html
+++ b/mediagoblin/templates/mediagoblin/submit/start.html
@@ -23,7 +23,6 @@
<form action="{{ request.urlgen('mediagoblin.submit.start') }}"
method="POST" enctype="multipart/form-data">
- <div class="grid_2 alpha">&nbsp;</div>
<div class="grid_6 prefix_1 suffix_1 form_box">
<h1>Submit yer media</h1>
{{ wtforms_util.render_divs(submit_form) }}
@@ -31,6 +30,5 @@
<input type="submit" value="Submit" class="button" />
</div>
</div>
- <div class="grid_2 omega">&nbsp;</div>
</form>
{% endblock %}