From 5f0f155e5fe827d10aae405ab3693402c449344f Mon Sep 17 00:00:00 2001 From: Marcus Jaschen Date: Fri, 26 Mar 2021 08:28:40 +0100 Subject: [PATCH] Improve typography for "What's new?" dialog (#391) - remove

(redundant) - adjust font-sizes and margins for headings (h2, h3) --- css/style.css | 13 +++++++++++++ gulpfile.js | 1 + 2 files changed, 14 insertions(+) diff --git a/css/style.css b/css/style.css index 175913e..3dc1114 100644 --- a/css/style.css +++ b/css/style.css @@ -446,6 +446,19 @@ button.btn { margin: -6px 0 6px 20px; } +/* "What's new?" (Change Log) */ +#whatsnew h2 { + margin: 2rem 0; + border-bottom: 1px solid #dee2e6; + padding-bottom: 0.5rem; + font-size: 1.3rem; +} + +#whatsnew h3 { + margin-bottom: 1rem; + font-size: 1.1rem; +} + /* * DataTables */ diff --git a/gulpfile.js b/gulpfile.js index 6c50707..503ca3b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -189,6 +189,7 @@ gulp.task('boundaries', function () { gulp.task('changelog', function (cb) { var content = 'BR.changelog = `' + marked(fs.readFileSync('./CHANGELOG.md', 'utf-8')) + '`'; + content = content.replace(//i, ''); fs.writeFile(paths.dest + '/changelog.js', content, cb); });