From aba4b1269e39741b1776e94e1a81535dae95d878 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 30 Oct 2015 21:00:33 -0400 Subject: fixed a few template bugs in src: --- design/sass/_src.scss | 9 ++++++++- design/templates/details/src_entry.html | 2 +- 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 %} -- cgit v1.2.3-70-g09d2