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:
parent
a066adc752
commit
5f0f155e5f
2 changed files with 14 additions and 0 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue