From 693d25a4f30763ae8e8a3a8f5d297cc19daaf047 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 12 Mar 2019 10:39:24 -0600 Subject: cleaned up comment styles with fancier fonts --- design/sass/_comments.scss | 29 ++++++++++++++++++++--------- design/templates/comments/form.html | 5 ++++- design/templates/comments/list.html | 2 +- 3 files changed, 25 insertions(+), 11 deletions(-) (limited to 'design') diff --git a/design/sass/_comments.scss b/design/sass/_comments.scss index 7abbe83..f480728 100644 --- a/design/sass/_comments.scss +++ b/design/sass/_comments.scss @@ -1,14 +1,11 @@ //### COMMENTS AND FORMS ### .comments--header { @include constrain_narrow; - font-family: Helvetica Neue, Helvetica, sans-serif; + @include fancy_sans; line-height: 6em; @include fontsize(16); font-style: italic; - &:before { - @include faded_line_after; - margin-top: 2em; - } + margin-top: 2em; } .comments--wrapper { @include constrain_narrow(); @@ -36,15 +33,17 @@ } .comment--body { margin-bottom: 3em; + @include fontsize(22); } .who { - font-family: Helvetica Neue, Helvetica, sans-serif; - @include fontsize(18); + @include fancy_sans; + @include fontsize(22); } .when { - @include fontsize(13); + @include fancy_sans; + @include fontsize(15); + color: #999; margin-left: 1em; - font-style: italic; } .gravatar { @@ -59,6 +58,7 @@ .comment--form--wrapper { @include constrain_narrow(); + border-top: 3px double #efefef; p { font-family: $fancy_serif; } @@ -85,5 +85,16 @@ } .comment--form--header { margin-top: 2em; + .hed { + @include fontsize(28); + margin: 0; + } + .subhed { + font-style: italic; + @include fontsize(20); + line-height: 1.25; + margin-top: 0; + margin-bottom: 0; + } } diff --git a/design/templates/comments/form.html b/design/templates/comments/form.html index 6bc0edf..d7e5ee3 100644 --- a/design/templates/comments/form.html +++ b/design/templates/comments/form.html @@ -1,6 +1,9 @@ {% load comments i18n %}
-

Your thoughts? Please leave a reply:

+
+

Thoughts?

+

Please leave a reply:

+
{% if next %}
{% endif %} diff --git a/design/templates/comments/list.html b/design/templates/comments/list.html index d5012f8..d3fe441 100644 --- a/design/templates/comments/list.html +++ b/design/templates/comments/list.html @@ -12,7 +12,7 @@
{%if comment.url %}{{comment.name}}{% else %}{{comment.name}}{%endif%} - {{comment.submit_date}} + {{comment.submit_date|date:"F d, Y"}} at {{comment.submit_date|date:"g:i a"}}
-- cgit v1.2.3-70-g09d2