Improve typography for "What's new?" dialog (#391)

- remove <h1> (redundant)
- adjust font-sizes and margins for headings (h2, h3)
This commit is contained in:
Marcus Jaschen 2021-03-26 08:28:40 +01:00 committed by GitHub
parent a066adc752
commit 5f0f155e5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View file

@ -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
*/

View file

@ -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(/<h1.*<\/h1>/i, '');
fs.writeFile(paths.dest + '/changelog.js', content, cb);
});