njk-tool 0.0.17 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13467,37 +13467,47 @@ font-size: 0.9rem;
13467
13467
  /* END-Text.css */
13468
13468
  /* Title.css */
13469
13469
  .title-base {
13470
+ --align: left;
13471
+ --text-color: #606266;
13470
13472
  --font-weight: 800;
13471
13473
  --font-size: 18px;
13472
- color: var(--njk-title-color);
13473
- text-align: var(--njk-title-align);
13474
+ color: var(--text-color);
13475
+ text-align: var(--align);
13474
13476
  font-weight: var(--font-weight);
13475
13477
  font-size: var(--font-size);
13476
13478
  padding: 8px 30px;
13477
13479
  }
13478
13480
  .njk-title-h1 {
13481
+ --align: left;
13482
+ --text-color: #606266;
13483
+ --margin: 36px 0 20px;
13484
+ position: relative;
13485
+ font-size: 28px;
13479
13486
  padding: 0 0 4.8px;
13480
- position: var(--njk-title-position);
13481
- margin: var(--njk-title-margin);
13482
- color: var(--njk-title-color);
13483
- text-align: var(--njk-title-align);
13484
- font-size: 2.5rem
13487
+ margin: var(--margin);
13488
+ color: var(--text-color);
13489
+ text-align: var(--align);
13485
13490
  }
13486
13491
  .njk-title-h2 {
13492
+ --align: left;
13493
+ --text-color: #606266;
13494
+ --margin: 24px 0 20px;
13495
+ position: relative;
13496
+ font-size: 26.4px;
13487
13497
  padding: 0 0 4.8px;
13488
- position: var(--njk-title-position);
13489
- margin: var(--njk-title-margin);
13490
- color: var(--njk-title-color);
13491
- text-align: var(--njk-title-align);
13492
- font-size: 2rem
13498
+ margin: var(--margin);
13499
+ color: var(--text-color);
13500
+ text-align: var(--align);
13493
13501
  }
13494
- .njk-title-h3 {
13502
+ .njk-title-h3{
13503
+ --align: left;
13504
+ --text-color: #606266;
13505
+ --margin: 18px 0 20px;
13506
+ position: relative;
13495
13507
  padding: 0 0 4.8px;
13496
- margin: var(--njk-title-margin);
13497
- position: var(--njk-title-position);
13508
+ margin: var(--margin);
13498
13509
  color: var(--text-color);
13499
- text-align: var(--njk-title-align);
13500
- font-size: 1rem
13510
+ text-align: var(--align);
13501
13511
  }
13502
13512
  .njk-title-h2::before,
13503
13513
  .njk-title-h1::before {
@@ -13518,6 +13528,18 @@ top: 5px;
13518
13528
  .njk-title-h2:hover::before {
13519
13529
  display: inline-block;
13520
13530
  }
13531
+ .title-main {
13532
+ --align: left;
13533
+ --text-color: black;
13534
+ --font-weight: 800;
13535
+ --font-size: 28px;
13536
+ color: var(--text-color);
13537
+ text-align: var(--align);
13538
+ font-weight: var(--font-weight);
13539
+ font-size: var(--font-size);
13540
+ padding: 8px 30px;
13541
+ margin-bottom: 20px;
13542
+ }
13521
13543
  .title-center {
13522
13544
  text-align: center;
13523
13545
  }
@@ -13603,7 +13625,7 @@ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
13603
13625
  .code-block pre {
13604
13626
  margin: 0;
13605
13627
  padding: 1rem;
13606
- background-color: silver;
13628
+ background-color: #f5f5f5;
13607
13629
  font-family: 'Courier New', monospace;
13608
13630
  font-size: 14px;
13609
13631
  line-height: 1.5;
@@ -13854,7 +13876,7 @@ padding: 6px 16px;
13854
13876
  {% else %}
13855
13877
  {% set text = ctx %}
13856
13878
  {% endif %}
13857
- <td class="default-cell">{{ text | replace("false", "❌") | replace("true", "✔️") }}</td>
13879
+ <td class="default-cell">{{ text | replace("false", "❌")| replace("False", "❌")| replace("True", "✔️") | replace("true", "✔️") }}</td>
13858
13880
  {% endmacro %}
13859
13881
  {% macro table_default(ctx) %}
13860
13882
  {% if ctx.columns %}
@@ -14040,7 +14062,7 @@ display: block;
14040
14062
  {% endif %}
14041
14063
  {% endmacro %}
14042
14064
  <body style="margin: 0; padding: 0;overflow: auto;">
14043
- <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem;box-sizing: border-box;width:2000px;">
14065
+ <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem;;min-width:1000px;">
14044
14066
  {{ use_component(ctx) }}
14045
14067
  </div>
14046
14068
  </body>