summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-10-30 21:00:33 -0400
committerluxagraf <sng@luxagraf.net>2015-10-30 21:00:33 -0400
commitaba4b1269e39741b1776e94e1a81535dae95d878 (patch)
treec357bdf7dba345ad002076c788ec347077ea0b46
parentd94b1694c51aac393250b56ca51328b40bc89750 (diff)
fixed a few template bugs in src:
-rw-r--r--design/sass/_src.scss9
-rw-r--r--design/templates/details/src_entry.html2
2 files changed, 9 insertions, 2 deletions
diff --git a/design/sass/_src.scss b/design/sass/_src.scss
index 7c5f7fd..ef7221e 100644
--- a/design/sass/_src.scss
+++ b/design/sass/_src.scss
@@ -40,10 +40,17 @@
}
.src article {
ol {
+ text-align: left;
@include constrain_narrow;
- list-style-type: disc;
padding-left: 1em;
@include fontsize(18);
+ @include breakpoint(beta) {
+ max-width: 580px;
+ @include fontsize(17);
+ }
+ li {
+ margin-top: .75em;
+ }
}
}
.post--body pre {
diff --git a/design/templates/details/src_entry.html b/design/templates/details/src_entry.html
index 194d764..ec923ed 100644
--- a/design/templates/details/src_entry.html
+++ b/design/templates/details/src_entry.html
@@ -2,7 +2,7 @@
{% load typogrify_tags %}
{% load comments %}
-{% block pagetitle %}{{object.title|smartypants|striptags}} | luxagraf:src{% endblock %}
+{% block pagetitle %}{{object.title|striptags}} | luxagraf:src{% endblock %}
{% block bodyid %}class="src"{% endblock %}
{% block metadescription %}{% autoescape on %}{{object.meta_description|striptags|safe}}{% endautoescape %}{% endblock %}