njk-tool 0.0.13 → 0.0.14

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.
@@ -13576,33 +13576,8 @@ background-color: #fff2f0;
13576
13576
  border-left: 4px solid #f5222d;
13577
13577
  }
13578
13578
  /* END-Notice.css */
13579
- /* Block.css */
13580
- /* Block.njk */
13581
- .code-block {
13582
- --block-margin: 0px
13583
- margin: var(--block-margin) 0;
13584
- border-radius: 4px;
13585
- overflow: hidden;
13586
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
13587
- }
13588
- .code-block pre {
13589
- margin: 0;
13590
- padding: 1rem;
13591
- background-color: #f5f5f5;
13592
- font-family: 'Courier New', monospace;
13593
- font-size: 14px;
13594
- line-height: 1.5;
13595
- white-space: pre-wrap;
13596
- }
13597
- .code-block code {
13598
- display: block;
13599
- overflow-x: auto;
13600
- }
13601
- /* END-Block.css */
13602
- /* Date.css */
13603
- /* END-Date.css */
13604
13579
  /* Table.css */
13605
- .default-table {
13580
+ .my-daframe-default {
13606
13581
  margin: 0;
13607
13582
  width: 80%;
13608
13583
  border-collapse: collapse;
@@ -13638,6 +13613,31 @@ color: #444;
13638
13613
  background-color: transparent;
13639
13614
  }
13640
13615
  /* END-Table.css */
13616
+ /* Block.css */
13617
+ /* Block.njk */
13618
+ .code-block {
13619
+ --block-margin: 0px
13620
+ margin: var(--block-margin) 0;
13621
+ border-radius: 4px;
13622
+ overflow: hidden;
13623
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
13624
+ }
13625
+ .code-block pre {
13626
+ margin: 0;
13627
+ padding: 1rem;
13628
+ background-color: #f5f5f5;
13629
+ font-family: 'Courier New', monospace;
13630
+ font-size: 14px;
13631
+ line-height: 1.5;
13632
+ white-space: pre-wrap;
13633
+ }
13634
+ .code-block code {
13635
+ display: block;
13636
+ overflow-x: auto;
13637
+ }
13638
+ /* END-Block.css */
13639
+ /* Date.css */
13640
+ /* END-Date.css */
13641
13641
  /* Tab.css */
13642
13642
  /* Tab 容器 */
13643
13643
  .tab-container {
@@ -13824,6 +13824,7 @@ padding: 6px 16px;
13824
13824
  {% macro use_title(ctx) %}
13825
13825
  {% if ctx.type == "h1" %}
13826
13826
  {{ title_h1(ctx) }}
13827
+ {{ title_h1(ctx) }}
13827
13828
  {% elif ctx.type == "h2" %}
13828
13829
  {{ title_h2(ctx) }}
13829
13830
  {% elif ctx.type == "h3" %}
@@ -13887,7 +13888,7 @@ padding: 6px 16px;
13887
13888
  {% set title = {text:ctx.title} %}
13888
13889
  {{ title_h2(title) }}
13889
13890
  {% endif %}
13890
- <table class="default-table">
13891
+ <table class="my-daframe-default">
13891
13892
  <thead class="thead-light">
13892
13893
  <tr>
13893
13894
  {% for column in columns %}
@@ -14054,7 +14055,7 @@ display: block;
14054
14055
  {% endif %}
14055
14056
  {% endmacro %}
14056
14057
  <body style="margin: 0; padding: 0;">
14057
- <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem; border: solid 1px silver;box-sizing: border-box; max-width: 1000px;">
14058
+ <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem;box-sizing: border-box; max-width: 1000px;">
14058
14059
  {{ use_component(ctx) }}
14059
14060
  </div>
14060
14061
  </body>