pvanand commited on
Commit
aaabdca
·
verified ·
1 Parent(s): 2f67bb7

Update templates/apps-hub/article-writer.html

Browse files
templates/apps-hub/article-writer.html CHANGED
@@ -382,8 +382,19 @@ async function downloadHTML() {
382
  // Add additional styles for expanded sources and body max-width
383
  css += `
384
  body.report-body {
385
- max-width: 804px;
386
- margin: 0 auto;
 
 
 
 
 
 
 
 
 
 
 
387
  }
388
  .source-item {
389
  margin-bottom: 20px;
@@ -396,6 +407,38 @@ async function downloadHTML() {
396
  }
397
  .source-full {
398
  display: block;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
399
  }
400
  `;
401
 
 
382
  // Add additional styles for expanded sources and body max-width
383
  css += `
384
  body.report-body {
385
+ max-width: 804px;
386
+ margin: 0 auto;
387
+ text-rendering: optimizeLegibility;
388
+ -webkit-font-smoothing: antialiased;
389
+ color: rgba(0,0,0,0.8);
390
+ position: relative;
391
+ min-height: 100vh;
392
+ font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif;
393
+ font-size: 20px;
394
+ line-height: 1.58;
395
+ color: rgba(0, 0, 0, 0.8);
396
+ background-color: #fff;
397
+ padding: 0 20px;
398
  }
399
  .source-item {
400
  margin-bottom: 20px;
 
407
  }
408
  .source-full {
409
  display: block;
410
+ }
411
+ h1, h2, h3, h4, h5, h6 {
412
+ font-family: sohne, "Helvetica Neue", Helvetica, Arial, sans-serif;
413
+ font-weight: 700;
414
+ color: rgba(0, 0, 0, 0.84);
415
+ letter-spacing: -0.022em;
416
+ line-height: 1.2;
417
+ }
418
+ h1 {
419
+ font-size: 40px;
420
+ margin-bottom: 0.5em;
421
+ }
422
+ h2 {
423
+ font-size: 32px;
424
+ margin-top: 1.5em;
425
+ margin-bottom: 0.5em;
426
+ }
427
+ h3 {
428
+ font-size: 26px;
429
+ margin-top: 1.5em;
430
+ margin-bottom: 0.5em;
431
+ }
432
+ p {
433
+ margin-bottom: 32px;
434
+ }
435
+ /* Links */
436
+ a {
437
+ color: #1a8917;
438
+ text-decoration: none;
439
+ }
440
+ a:hover {
441
+ text-decoration: underline;
442
  }
443
  `;
444