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