Moving stuff around for sidebar.
parent
8cf26cc19a
commit
4dbaa84dc2
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 “nicksergeant” in <strong>#snipt</strong> on irc.freenode.net.</p>
|
||||
</div>
|
||||
</aside>
|
||||
{{ block.super }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue