summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2022-08-15 12:57:27 -0500
committerluxagraf <sng@luxagraf.net>2022-08-15 12:57:27 -0500
commit04a56965ea68dfceac2ecc550b8827de0d8a9a01 (patch)
tree14c2f7ef9c7b3aaa00d6d57c00c90dd06ab9868c
parentdc050ad927396ac8732f4a382d136fac7c0bba4c (diff)
posts: updated post styles to italicize afterward/forewards
-rw-r--r--app/posts/templates/posts/essay_detail.html4
-rw-r--r--screenv11.css4
2 files changed, 5 insertions, 3 deletions
diff --git a/app/posts/templates/posts/essay_detail.html b/app/posts/templates/posts/essay_detail.html
index 2b4d341..0cf6f78 100644
--- a/app/posts/templates/posts/essay_detail.html
+++ b/app/posts/templates/posts/essay_detail.html
@@ -49,11 +49,11 @@
</div>
</header>
<div class="e-content entry-content post-body" itemprop="articleBody">
- {% if object.prologue_html %}<div class="afterward">
+ {% if object.prologue_html %}<div class="post-afterward ">
{{object.prologue_html|smartypants|safe}}
</div>{%endif%}
{{object.body_html|safe|smartypants}}
- {% if object.afterword_html %}<div class="afterward">
+ {% if object.afterword_html %}<div class="post-afterward">
<h4>Afterward</h4>
{{object.afterword_html|smartypants|safe}}
</div>{%endif%}
diff --git a/screenv11.css b/screenv11.css
index d1d358f..3c80ac0 100644
--- a/screenv11.css
+++ b/screenv11.css
@@ -868,7 +868,9 @@ p + .picwide {
font-size: 1.4rem;
line-height: 1.25;
}
-
+.post-afterward {
+ font-style: italic;
+}
.map {
width: 100vw;
position: relative;