Moving stuff around for sidebar.

master
Nick Sergeant 2012-05-15 21:19:49 -04:00
parent 8cf26cc19a
commit 4dbaa84dc2
3 changed files with 5 additions and 10 deletions

View File

@ -1173,7 +1173,7 @@ body.api section.main div.inner section.snipts article.snipt div.container secti
}
body.api section.main aside.api-info {
float: right;
margin-top: 30px;
margin-top: 26px;
width: 190px;
}
body.api section.main aside.api-info div.api-inner {
@ -1212,11 +1212,8 @@ body.api section.main aside.api-info.immediate-help {
body.api section.main aside.api-info.immediate-help p {
margin: 0;
}
body.api section.main aside.main {
padding-top: 0;
}
body.api section.main aside.main nav.footer {
margin-top: 0;
margin-bottom: 0;
}
body.api div#disqus_thread {
width: 719px;

View File

@ -1326,7 +1326,7 @@ body.api {
}
aside.api-info {
float: right;
margin-top: 30px;
margin-top: 26px;
width: 190px;
div.api-inner {
@ -1368,10 +1368,8 @@ body.api {
}
}
aside.main {
padding-top: 0;
nav.footer {
margin-top: 0;
margin-bottom: 0;
}
}
}

View File

@ -16,6 +16,7 @@
{% block aside %}
{% if request.path == '/api/' and request.user.is_authenticated %}
{{ block.super }}
<aside class="api-info api-creds">
<div class="api-inner">
<h5>Your API credentials:</h5>
@ -32,7 +33,6 @@
<p>Join our lead developer &ldquo;nicksergeant&rdquo; in <strong>#snipt</strong> on irc.freenode.net.</p>
</div>
</aside>
{{ block.super }}
{% endif %}
{% endblock %}