Simplify CSS in HTML format

This commit is contained in:
Veronica Berglyd Olsen
2024-10-23 01:27:36 +02:00
parent 52e85835df
commit 16023676ea
4 changed files with 65 additions and 100 deletions
@@ -2,21 +2,22 @@
"meta": {
"projectName": "Lorem Ipsum",
"novelAuthor": "lipsum.com",
"buildTime": 1729624698,
"buildTimeStr": "2024-10-22 21:18:18"
"buildTime": 1729639268,
"buildTimeStr": "2024-10-23 01:21:08"
},
"text": {
"css": [
"body {color: #000000; font-family: 'Arial'; font-size: 12pt; font-weight: 400; font-style: normal;}",
"p {text-align: left; line-height: 150%; margin-top: 0.00em; margin-bottom: 0.76em;}",
"h1 {color: #4271ae; page-break-after: avoid; margin-top: 1.85em; margin-bottom: 0.65em;}",
"h2 {color: #4271ae; page-break-after: avoid; margin-top: 2.18em; margin-bottom: 0.65em;}",
"h3 {color: #4271ae; page-break-after: avoid; margin-top: 1.53em; margin-bottom: 0.65em;}",
"h4 {color: #4271ae; page-break-after: avoid; margin-top: 1.53em; margin-bottom: 0.65em;}",
".title {font-size: 2.5em; margin-top: 1.85em; margin-bottom: 0.65em;}",
".sep, .skip {text-align: center; margin-top: 1.30em; margin-bottom: 1.30em;}",
"a {color: #4271ae;}",
"mark {background: #ffffa6;}"
"mark {background: #ffffa6;}",
"h1, h2, h3, h4 {color: #4271ae; page-break-after: avoid;}",
"h1 {margin-top: 1.85em; margin-bottom: 0.65em;}",
"h2 {margin-top: 2.18em; margin-bottom: 0.65em;}",
"h3 {margin-top: 1.53em; margin-bottom: 0.65em;}",
"h4 {margin-top: 1.53em; margin-bottom: 0.65em;}",
".title {font-size: 2.5em; margin-top: 1.85em; margin-bottom: 0.65em;}",
".sep {text-align: center; margin-top: 1.53em; margin-bottom: 1.53em;}"
],
"html": [
[