njk-tool 0.0.20 → 0.0.22

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.
@@ -13475,30 +13475,34 @@ font-size: var(--font-size);
13475
13475
  padding: 8px 30px;
13476
13476
  }
13477
13477
  .njk-title-h1 {
13478
+ font-size: 26px;
13479
+ font-weight: bolder;
13478
13480
  --align: left;
13479
13481
  --text-color: #606266;
13480
13482
  --margin: 40px 0 20px;
13481
13483
  position: relative;
13482
- font-size: 28px;
13483
13484
  padding: 0 0 4.8px;
13484
13485
  margin: var(--margin);
13485
13486
  color: var(--text-color);
13486
13487
  text-align: var(--align);
13487
13488
  }
13488
13489
  .njk-title-h2 {
13490
+ font-size: 24px;
13491
+ font-weight: bolder;
13489
13492
  --align: left;
13490
13493
  --text-color: #606266;
13491
13494
  --margin: 40px 0 20px;
13492
13495
  position: relative;
13493
- font-size: 26.4px;
13494
13496
  padding: 0 0 4.8px;
13495
13497
  margin: var(--margin);
13496
13498
  color: var(--text-color);
13497
13499
  text-align: var(--align);
13498
13500
  }
13499
13501
  .njk-title-h3{
13502
+ font-size: 20px;
13500
13503
  --align: left;
13501
13504
  --text-color: #606266;
13505
+ font-weight: bolder;
13502
13506
  --margin: 40px 0 20px;
13503
13507
  position: relative;
13504
13508
  padding: 0 0 4.8px;
@@ -13506,25 +13510,23 @@ margin: var(--margin);
13506
13510
  color: var(--text-color);
13507
13511
  text-align: var(--align);
13508
13512
  }
13509
- .njk-title-h2::before,
13513
+ /* .njk-title-h2::before,
13510
13514
  .njk-title-h1::before {
13511
13515
  display: none;
13512
13516
  position: absolute;
13513
- content: "#";
13517
+ content: "# ";
13514
13518
  color: #007bff;
13515
13519
  }
13516
13520
  .njk-title-h1::before {
13517
13521
  left: -26px;
13518
- top: 5px;
13519
13522
  }
13520
13523
  .njk-title-h2::before {
13521
13524
  left: -18px;
13522
- top: 5px;
13523
13525
  }
13524
13526
  .njk-title-h1:hover::before,
13525
13527
  .njk-title-h2:hover::before {
13526
13528
  display: inline-block;
13527
- }
13529
+ } */
13528
13530
  .title-main {
13529
13531
  --align: left;
13530
13532
  --text-color: black;
@@ -13585,6 +13587,7 @@ font-size: 14px;
13585
13587
  color: #444444;
13586
13588
  }
13587
13589
  .thead-light th {
13590
+ white-space: nowrap;
13588
13591
  background-color: #f5f7fa;
13589
13592
  color: #333333;
13590
13593
  font-weight: 600;
@@ -13806,24 +13809,24 @@ padding: 6px 16px;
13806
13809
  <h1 style="text-align: center">{{ ctx.text }}</h1>
13807
13810
  {% endmacro %}
13808
13811
  {% macro title_h1(ctx) %}
13809
- <h1 class="njk-title-h1" id="{{ ctx.text }}" style="{{ ctx.style }}">
13812
+ <div class="njk-title-h1" id="{{ ctx.text }}" style="{{ ctx.style }}">
13810
13813
  {{ ctx.text }}
13811
- </h1>
13814
+ </div>
13812
13815
  {% endmacro %}
13813
13816
  {% macro title_h2(ctx) %}
13814
- <h2 class="njk-title-h2" id="{{ ctx.text }}" class="" style="{{ ctx.style }}">
13817
+ <div class="njk-title-h2" id="{{ ctx.text }}" class="" style="{{ ctx.style }}">
13815
13818
  {{ ctx.text }}
13816
- </h2>
13819
+ </div>
13817
13820
  {% endmacro %}
13818
13821
  {% macro title_h3(ctx) %}
13819
- <h3 class="njk-title-h3" id="{{ ctx.text }}" class="" style="{{ ctx.style }}">
13822
+ <div class="njk-title-h3" id="{{ ctx.text }}" class="" style="{{ ctx.style }}">
13820
13823
  {{ ctx.text }}
13821
- </h3>
13824
+ </div>
13822
13825
  {% endmacro %}
13823
13826
  {% macro title_table_default(ctx) %}
13824
- <h3 class="njk-title-h3" id="{{ ctx.text }}" class="title_table_default" style="{{ ctx.style }}">
13827
+ <div class="njk-title-h3" id="{{ ctx.text }}" class="title_table_default" style="{{ ctx.style }}">
13825
13828
  {{ ctx.text }}
13826
- </h3>
13829
+ </div>
13827
13830
  {% endmacro %}
13828
13831
  {% macro use_title(ctx) %}
13829
13832
  {% if ctx.type == "h1" %}
@@ -13920,7 +13923,7 @@ padding: 6px 16px;
13920
13923
  {% if ctx.type == "h1" %}
13921
13924
  {{ title_h1(ctx) }}
13922
13925
  {% else %}
13923
- {{ table_default(ctx) }}
13926
+ {{ title_h3(ctx) }}
13924
13927
  {% endif %}
13925
13928
  {% endmacro %}
13926
13929
  <!-- /Table.njk -->
@@ -14062,7 +14065,7 @@ display: block;
14062
14065
  {% endfor %}
14063
14066
  {% endif %}
14064
14067
  {% endmacro %}
14065
- <body style="margin: 0; padding: 0;">
14068
+ <body style="margin: 0; padding: 0 8px 0 0;">
14066
14069
  {{ use_component(ctx) }}
14067
14070
  </body>
14068
14071
  <!-- /Component.njk -->