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.
@@ -13464,37 +13464,47 @@ font-size: 0.9rem;
13464
13464
  /* END-Text.css */
13465
13465
  /* Title.css */
13466
13466
  .title-base {
13467
+ --align: left;
13468
+ --text-color: #606266;
13467
13469
  --font-weight: 800;
13468
13470
  --font-size: 18px;
13469
- color: var(--njk-title-color);
13470
- text-align: var(--njk-title-align);
13471
+ color: var(--text-color);
13472
+ text-align: var(--align);
13471
13473
  font-weight: var(--font-weight);
13472
13474
  font-size: var(--font-size);
13473
13475
  padding: 8px 30px;
13474
13476
  }
13475
13477
  .njk-title-h1 {
13478
+ --align: left;
13479
+ --text-color: #606266;
13480
+ --margin: 36px 0 20px;
13481
+ position: relative;
13482
+ font-size: 28px;
13476
13483
  padding: 0 0 4.8px;
13477
- position: var(--njk-title-position);
13478
- margin: var(--njk-title-margin);
13479
- color: var(--njk-title-color);
13480
- text-align: var(--njk-title-align);
13481
- font-size: 2.5rem
13484
+ margin: var(--margin);
13485
+ color: var(--text-color);
13486
+ text-align: var(--align);
13482
13487
  }
13483
13488
  .njk-title-h2 {
13489
+ --align: left;
13490
+ --text-color: #606266;
13491
+ --margin: 24px 0 20px;
13492
+ position: relative;
13493
+ font-size: 26.4px;
13484
13494
  padding: 0 0 4.8px;
13485
- position: var(--njk-title-position);
13486
- margin: var(--njk-title-margin);
13487
- color: var(--njk-title-color);
13488
- text-align: var(--njk-title-align);
13489
- font-size: 2rem
13495
+ margin: var(--margin);
13496
+ color: var(--text-color);
13497
+ text-align: var(--align);
13490
13498
  }
13491
- .njk-title-h3 {
13499
+ .njk-title-h3{
13500
+ --align: left;
13501
+ --text-color: #606266;
13502
+ --margin: 18px 0 20px;
13503
+ position: relative;
13492
13504
  padding: 0 0 4.8px;
13493
- margin: var(--njk-title-margin);
13494
- position: var(--njk-title-position);
13505
+ margin: var(--margin);
13495
13506
  color: var(--text-color);
13496
- text-align: var(--njk-title-align);
13497
- font-size: 1rem
13507
+ text-align: var(--align);
13498
13508
  }
13499
13509
  .njk-title-h2::before,
13500
13510
  .njk-title-h1::before {
@@ -13515,6 +13525,18 @@ top: 5px;
13515
13525
  .njk-title-h2:hover::before {
13516
13526
  display: inline-block;
13517
13527
  }
13528
+ .title-main {
13529
+ --align: left;
13530
+ --text-color: black;
13531
+ --font-weight: 800;
13532
+ --font-size: 28px;
13533
+ color: var(--text-color);
13534
+ text-align: var(--align);
13535
+ font-weight: var(--font-weight);
13536
+ font-size: var(--font-size);
13537
+ padding: 8px 30px;
13538
+ margin-bottom: 20px;
13539
+ }
13518
13540
  .title-center {
13519
13541
  text-align: center;
13520
13542
  }
@@ -13600,7 +13622,7 @@ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
13600
13622
  .code-block pre {
13601
13623
  margin: 0;
13602
13624
  padding: 1rem;
13603
- background-color: silver;
13625
+ background-color: #f5f5f5;
13604
13626
  font-family: 'Courier New', monospace;
13605
13627
  font-size: 14px;
13606
13628
  line-height: 1.5;
@@ -13851,7 +13873,7 @@ padding: 6px 16px;
13851
13873
  {% else %}
13852
13874
  {% set text = ctx %}
13853
13875
  {% endif %}
13854
- <td class="default-cell">{{ text | replace("false", "❌") | replace("true", "✔️") }}</td>
13876
+ <td class="default-cell">{{ text | replace("false", "❌")| replace("False", "❌")| replace("True", "✔️") | replace("true", "✔️") }}</td>
13855
13877
  {% endmacro %}
13856
13878
  {% macro table_default(ctx) %}
13857
13879
  {% if ctx.columns %}
@@ -14037,7 +14059,7 @@ display: block;
14037
14059
  {% endif %}
14038
14060
  {% endmacro %}
14039
14061
  <body style="margin: 0; padding: 0;overflow: auto;">
14040
- <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem;box-sizing: border-box;width:2000px;">
14062
+ <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem;;min-width:1000px;">
14041
14063
  {{ use_component(ctx) }}
14042
14064
  </div>
14043
14065
  </body>