diff options
author | luxagraf <sng@luxagraf.net> | 2019-04-14 14:14:44 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-04-14 14:14:44 -0500 |
commit | c86f97043740f511075bf6ccde8d61276bd6e4df (patch) | |
tree | 1fb69b10bf8624bd6367e760b125e9c42ef10139 | |
parent | 38122e0102e7a03c47575342e5edb75c15912fef (diff) |
added drop cap to essays
-rw-r--r-- | design/sass/_details.scss | 8 | ||||
-rw-r--r-- | design/templates/essays/essay_detail.html | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/design/sass/_details.scss b/design/sass/_details.scss index f70c086..a24227b 100644 --- a/design/sass/_details.scss +++ b/design/sass/_details.scss @@ -204,6 +204,14 @@ h4.post-source { text-decoration: none; } } +.post-essay p:first-child:first-letter { + @include fancy_sans; + font-size: 75px; + line-height: 60px; + padding-top: 4px; + padding-right: 8px; + padding-left: 3px; +} //### PAGE NAVIGATION ### .nav-wrapper { @include constrain_narrow(); diff --git a/design/templates/essays/essay_detail.html b/design/templates/essays/essay_detail.html index d1931e7..1ef602a 100644 --- a/design/templates/essays/essay_detail.html +++ b/design/templates/essays/essay_detail.html @@ -46,7 +46,7 @@ <span class="hide" itemprop="author" itemscope itemtype="http://schema.org/Person">by <a class="p-author h-card" href="/about"><span itemprop="name">Scott Gilbertson</span></a></span> </div> </header> - <div id="article" class="e-content entry-content post--body post--body--{% with object.template_name as t %}{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%endwith%}" itemprop="articleBody"> + <div id="article" class="e-content entry-content post--body post--body--{% with object.template_name as t %}{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%endwith%} post-essay" itemprop="articleBody"> {% if object.preamble %}<div class="afterward"> {{object.preamble_html|smartypants|safe}} </div>{%endif%} |