njk-tool 0.0.21 → 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 +19 -17
- package/dist/bundle/app.min.cjs.map +1 -1
- package/dist/bundle/app.min.js +19 -17
- package/dist/bundle/app.min.js.map +1 -1
- package/package.json +1 -1
package/dist/bundle/app.min.js
CHANGED
|
@@ -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;
|
|
@@ -13807,24 +13809,24 @@ padding: 6px 16px;
|
|
|
13807
13809
|
<h1 style="text-align: center">{{ ctx.text }}</h1>
|
|
13808
13810
|
{% endmacro %}
|
|
13809
13811
|
{% macro title_h1(ctx) %}
|
|
13810
|
-
<
|
|
13812
|
+
<div class="njk-title-h1" id="{{ ctx.text }}" style="{{ ctx.style }}">
|
|
13811
13813
|
{{ ctx.text }}
|
|
13812
|
-
</
|
|
13814
|
+
</div>
|
|
13813
13815
|
{% endmacro %}
|
|
13814
13816
|
{% macro title_h2(ctx) %}
|
|
13815
|
-
<
|
|
13817
|
+
<div class="njk-title-h2" id="{{ ctx.text }}" class="" style="{{ ctx.style }}">
|
|
13816
13818
|
{{ ctx.text }}
|
|
13817
|
-
</
|
|
13819
|
+
</div>
|
|
13818
13820
|
{% endmacro %}
|
|
13819
13821
|
{% macro title_h3(ctx) %}
|
|
13820
|
-
<
|
|
13822
|
+
<div class="njk-title-h3" id="{{ ctx.text }}" class="" style="{{ ctx.style }}">
|
|
13821
13823
|
{{ ctx.text }}
|
|
13822
|
-
</
|
|
13824
|
+
</div>
|
|
13823
13825
|
{% endmacro %}
|
|
13824
13826
|
{% macro title_table_default(ctx) %}
|
|
13825
|
-
<
|
|
13827
|
+
<div class="njk-title-h3" id="{{ ctx.text }}" class="title_table_default" style="{{ ctx.style }}">
|
|
13826
13828
|
{{ ctx.text }}
|
|
13827
|
-
</
|
|
13829
|
+
</div>
|
|
13828
13830
|
{% endmacro %}
|
|
13829
13831
|
{% macro use_title(ctx) %}
|
|
13830
13832
|
{% if ctx.type == "h1" %}
|
|
@@ -13921,7 +13923,7 @@ padding: 6px 16px;
|
|
|
13921
13923
|
{% if ctx.type == "h1" %}
|
|
13922
13924
|
{{ title_h1(ctx) }}
|
|
13923
13925
|
{% else %}
|
|
13924
|
-
{{
|
|
13926
|
+
{{ title_h3(ctx) }}
|
|
13925
13927
|
{% endif %}
|
|
13926
13928
|
{% endmacro %}
|
|
13927
13929
|
<!-- /Table.njk -->
|
|
@@ -14063,7 +14065,7 @@ display: block;
|
|
|
14063
14065
|
{% endfor %}
|
|
14064
14066
|
{% endif %}
|
|
14065
14067
|
{% endmacro %}
|
|
14066
|
-
<body style="margin: 0; padding: 0;">
|
|
14068
|
+
<body style="margin: 0; padding: 0 8px 0 0;">
|
|
14067
14069
|
{{ use_component(ctx) }}
|
|
14068
14070
|
</body>
|
|
14069
14071
|
<!-- /Component.njk -->
|