diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 71bfb572a9ede7adc695728b75c88b3cfac1e5b8..00ad3ea41d7cc457f185f38a57c48b8d6c0c88e3 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -16,6 +16,10 @@ @import 'variables'; +h1, h2, h3, h4, h5, h6 { + font-family: $font-stack-display; +} + h1 { font-size: 1.7em; } diff --git a/app/views/posts/_expanded.html.erb b/app/views/posts/_expanded.html.erb index 2a2953333d821bc42e28fc490c11506e260da7e4..fb460129331917ea33d17fa3021b94d12512915b 100644 --- a/app/views/posts/_expanded.html.erb +++ b/app/views/posts/_expanded.html.erb @@ -24,10 +24,10 @@ <path d="M50,0 L100,50 L0,50 Z" fill="currentColor" /> </svg> </button> - <div class="score has-font-size-subheading has-font-weight-medium js-upvote-count"> + <div class="score has-font-size-subheading js-upvote-count"> +<%= post.upvote_count %> </div> - <div class="score has-font-size-subheading has-font-weight-medium js-downvote-count"> + <div class="score has-font-size-subheading js-downvote-count"> −<%= post.downvote_count %> </div> <button class="vote-button button is-icon-only-button <%= (existing_vote&.vote_type == -1) ? 'is-active' : '' %>"