From 85ce83a3fa1a6d084035babd4c7fc49c4f1e90f7 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 21 Mar 2016 10:23:54 -0400 Subject: finished up bird app basics. Pretty much works now. Just need builder to write it out --- design/sass/_birds.scss | 12 ++++++++++-- design/templates/details/bird.html | 16 +++++++++++++--- 2 files changed, 23 insertions(+), 5 deletions(-) (limited to 'design') diff --git a/design/sass/_birds.scss b/design/sass/_birds.scss index 36b6114..9b712cc 100644 --- a/design/sass/_birds.scss +++ b/design/sass/_birds.scss @@ -21,8 +21,16 @@ font-style: italic; } .birds { - h2, h3 { font-weight: 400;} - h2 { margin-bottom: 0;} + article { + @include constrain_narrow; + } + audio { width: 100%;} + .audio-figure { + margin-top: 2em; + margin-bottom: 2em; + } + article h2, h3 { font-weight: 400;} + article h2 { margin-bottom: 0;} h3 { margin-top: 0; } diff --git a/design/templates/details/bird.html b/design/templates/details/bird.html index 070a921..5140c96 100644 --- a/design/templates/details/bird.html +++ b/design/templates/details/bird.html @@ -1,4 +1,5 @@ {% extends 'base.html' %} +{% load get_image_by_size %} {% block extrahead %}