From 55adc26c6987dc2e8585dd53ef4b8c05753b526d Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 12 Apr 2019 20:11:23 -0500 Subject: fixed favicon link --- design/sass/print.scss | 57 +++++++++++++++++++++++++ design/templates/base.html | 2 +- design/templates/fieldnotes/fieldnote_list.html | 6 +-- design/templates/jrnl/entry_detail.html | 3 +- 4 files changed, 63 insertions(+), 5 deletions(-) create mode 100644 design/sass/print.scss (limited to 'design') diff --git a/design/sass/print.scss b/design/sass/print.scss new file mode 100644 index 0000000..f0f31a9 --- /dev/null +++ b/design/sass/print.scss @@ -0,0 +1,57 @@ +@import "_fonts.scss"; +@import "_mixins.scss"; + +body { + @include fancy_sans; + background: white; + color: black; + font-size: 12pt; + margin: 0 5%; +} +.header-wrapper, #breadcrumbs, #page-navigation, .post-subtitle, .comment--form--wrapper, footer { + display: none; +} +.post-source { display: none;} +.highlight { + background: #f7f5f5 !important; +} +code, pre { + background: #f7f5f5 !important; + font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace; +} +a { +} +pre { + background: #f7f5f5 !important; + padding: .5cm .25cm; +} +p code { + padding: 0 .25cm; +} +.post-body img { + width: 100%; + border: 5px solid #f7f5f5; +} +.post-body p { + font-size: 13pt; +} +.post-body h3 { + font-size: 19pt; +} +.post-body h5 { + font-size: 14pt; +} +.go:before { + content: "$ "; +} +@page { + @bottom-right{ + @include fancy_sans; + @include smcaps; + content: "Page " counter(page) " of " counter(pages); + font-size: 6pt; + color: #666; + width: 2cm; + } +} + diff --git a/design/templates/base.html b/design/templates/base.html index be84317..9dd324f 100644 --- a/design/templates/base.html +++ b/design/templates/base.html @@ -17,7 +17,7 @@ href="/media/screenv9.css?{% now "u" %}" media="screen">{%endblock%} - + {%block extrahead%}{%endblock%} diff --git a/design/templates/fieldnotes/fieldnote_list.html b/design/templates/fieldnotes/fieldnote_list.html index 089c694..c201382 100644 --- a/design/templates/fieldnotes/fieldnote_list.html +++ b/design/templates/fieldnotes/fieldnote_list.html @@ -3,7 +3,7 @@ {% load html5_datetime %} {% load pagination_tags %} {% block pagetitle %} Field Notes | luxagraf {% endblock %} -{% block metadescription %} Rough notes and sketches from the field {% endblock %} +{% block metadescription %}Rough notes and sketches from the field {% endblock %} {%block bodyid%}id="field-notes"{%endblock%} {% block primary %} @@ -19,8 +19,8 @@ {% autopaginate object_list 30 %}