From 78037ab37a9d5f8efa0a29e1a2909abe262627ae Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 6 Nov 2018 15:45:30 +0100 Subject: [PATCH] Increase font weight for headings, reduce size of result card headings --- app/assets/stylesheets/base.css.scss | 4 ++++ app/views/exercises/_editor_output.html.slim | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/base.css.scss b/app/assets/stylesheets/base.css.scss index 7d7ddf55..4e183f72 100644 --- a/app/assets/stylesheets/base.css.scss +++ b/app/assets/stylesheets/base.css.scss @@ -3,6 +3,10 @@ h1 { margin-bottom: 0.5em; } +h1, h2, h3, h4, h5, h6 { + font-weight: 500; +} + .lead { font-size: 16px; color: rgba(70, 70, 70, 1); diff --git a/app/views/exercises/_editor_output.html.slim b/app/views/exercises/_editor_output.html.slim index 801467e4..4568c313 100644 --- a/app/views/exercises/_editor_output.html.slim +++ b/app/views/exercises/_editor_output.html.slim @@ -13,8 +13,8 @@ div.h-100 id='output_sidebar_uncollapsed' class='d-none col-sm-12 enforce-bottom ul.list-unstyled ul#dummies.d-none.list-unstyled li.card.mt-2 - .card-header - h3.card-title.m-0 == t('exercises.implement.file', filename: '', number: 0) + .card-header.py-2 + h5.card-title.m-0 == t('exercises.implement.file', filename: '', number: 0) .card-body.bg-white.text-dark = row(label: 'exercises.implement.passed_tests', value: t('shared.out_of', maximum_value: 0, value: 0).html_safe) = row(label: 'activerecord.attributes.submission.score', value: t('shared.out_of', maximum_value: 0, value: 0).html_safe)