njk-tool 0.0.14 → 0.0.15
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 +32 -51
- package/dist/bundle/app.min.cjs.map +1 -1
- package/dist/bundle/app.min.js +32 -51
- package/dist/bundle/app.min.js.map +1 -1
- package/package.json +1 -1
package/dist/bundle/app.min.cjs
CHANGED
|
@@ -13467,79 +13467,54 @@ font-size: 0.9rem;
|
|
|
13467
13467
|
/* END-Text.css */
|
|
13468
13468
|
/* Title.css */
|
|
13469
13469
|
.title-base {
|
|
13470
|
-
--align: left;
|
|
13471
|
-
--text-color: black;
|
|
13472
13470
|
--font-weight: 800;
|
|
13473
13471
|
--font-size: 18px;
|
|
13474
|
-
color: var(--
|
|
13475
|
-
text-align: var(--align);
|
|
13472
|
+
color: var(--njk-title-color);
|
|
13473
|
+
text-align: var(--njk-title-align);
|
|
13476
13474
|
font-weight: var(--font-weight);
|
|
13477
13475
|
font-size: var(--font-size);
|
|
13478
13476
|
padding: 8px 30px;
|
|
13479
13477
|
}
|
|
13480
|
-
h1 {
|
|
13481
|
-
--align: left;
|
|
13482
|
-
--text-color: #606266;
|
|
13483
|
-
--margin: 36px 0 20px;
|
|
13484
|
-
position: relative;
|
|
13485
|
-
font-size: 35.2px;
|
|
13478
|
+
.njk-title-h1 {
|
|
13486
13479
|
padding: 0 0 4.8px;
|
|
13487
|
-
|
|
13488
|
-
|
|
13489
|
-
|
|
13480
|
+
position: var(--njk-title-position);
|
|
13481
|
+
margin: var(--njk-title-margin);
|
|
13482
|
+
color: var(--njk-title-color);
|
|
13483
|
+
text-align: var(--njk-title-align);
|
|
13490
13484
|
}
|
|
13491
|
-
h2 {
|
|
13492
|
-
--align: left;
|
|
13493
|
-
--text-color: #606266;
|
|
13494
|
-
--margin: 36px 0 20px;
|
|
13495
|
-
position: relative;
|
|
13496
|
-
font-size: 26.4px;
|
|
13485
|
+
.njk-title-h2 {
|
|
13497
13486
|
padding: 0 0 4.8px;
|
|
13498
|
-
|
|
13499
|
-
|
|
13500
|
-
|
|
13487
|
+
position: var(--njk-title-position);
|
|
13488
|
+
margin: var(--njk-title-margin);
|
|
13489
|
+
color: var(--njk-title-color);
|
|
13490
|
+
text-align: var(--njk-title-align);
|
|
13501
13491
|
}
|
|
13502
|
-
h3{
|
|
13503
|
-
--align: left;
|
|
13504
|
-
--text-color: #606266;
|
|
13505
|
-
--margin: 36px 0 20px;
|
|
13506
|
-
position: relative;
|
|
13492
|
+
.njk-title-h3 {
|
|
13507
13493
|
padding: 0 0 4.8px;
|
|
13508
|
-
margin: var(--margin);
|
|
13494
|
+
margin: var(--njk-title-margin);
|
|
13495
|
+
position: var(--njk-title-position);
|
|
13509
13496
|
color: var(--text-color);
|
|
13510
|
-
text-align: var(--align);
|
|
13497
|
+
text-align: var(--njk-title-align);
|
|
13511
13498
|
}
|
|
13512
|
-
h2::before,
|
|
13513
|
-
h1::before {
|
|
13499
|
+
.njk-title-h2::before,
|
|
13500
|
+
.njk-title-h1::before {
|
|
13514
13501
|
display: none;
|
|
13515
13502
|
position: absolute;
|
|
13516
13503
|
content: "#";
|
|
13517
13504
|
color: #007bff;
|
|
13518
13505
|
}
|
|
13519
|
-
h1::before {
|
|
13506
|
+
.njk-title-h1::before {
|
|
13520
13507
|
left: -26px;
|
|
13521
13508
|
top: 5px;
|
|
13522
13509
|
}
|
|
13523
|
-
h2::before {
|
|
13510
|
+
.njk-title-h2::before {
|
|
13524
13511
|
left: -18px;
|
|
13525
13512
|
top: 5px;
|
|
13526
13513
|
}
|
|
13527
|
-
h1:hover::before,
|
|
13528
|
-
h2:hover::before {
|
|
13514
|
+
.njk-title-h1:hover::before,
|
|
13515
|
+
.njk-title-h2:hover::before {
|
|
13529
13516
|
display: inline-block;
|
|
13530
13517
|
}
|
|
13531
|
-
.title-main {
|
|
13532
|
-
--align: left;
|
|
13533
|
-
--text-color: black;
|
|
13534
|
-
--font-weight: 800;
|
|
13535
|
-
--font-size: 28px;
|
|
13536
|
-
color: var(--text-color);
|
|
13537
|
-
text-align: var(--align);
|
|
13538
|
-
font-weight: var(--font-weight);
|
|
13539
|
-
font-size: var(--font-size);
|
|
13540
|
-
padding: 8px 30px;
|
|
13541
|
-
margin-bottom: 20px;
|
|
13542
|
-
}
|
|
13543
13518
|
.title-center {
|
|
13544
13519
|
text-align: center;
|
|
13545
13520
|
}
|
|
@@ -13695,6 +13670,12 @@ margin: 0;
|
|
|
13695
13670
|
min-width: 1000px;
|
|
13696
13671
|
padding: 0 5rem;
|
|
13697
13672
|
}
|
|
13673
|
+
:root {
|
|
13674
|
+
--njk-title-color-default: #606266;
|
|
13675
|
+
--njk-title-align-default: left;
|
|
13676
|
+
--njk-title-position: relative;
|
|
13677
|
+
--njk-title-margin: 36px 0 20px;
|
|
13678
|
+
}
|
|
13698
13679
|
/* END-Base.css */
|
|
13699
13680
|
</style>`;
|
|
13700
13681
|
|
|
@@ -13802,22 +13783,22 @@ padding: 6px 16px;
|
|
|
13802
13783
|
<h1 style="text-align: center">{{ ctx.text }}</h1>
|
|
13803
13784
|
{% endmacro %}
|
|
13804
13785
|
{% macro title_h1(ctx) %}
|
|
13805
|
-
<h1 id="{{ ctx.text }}" style="{{ ctx.style }}">
|
|
13786
|
+
<h1 class="njk-title-h1" id="{{ ctx.text }}" style="{{ ctx.style }}">
|
|
13806
13787
|
{{ ctx.text }}
|
|
13807
13788
|
</h1>
|
|
13808
13789
|
{% endmacro %}
|
|
13809
13790
|
{% macro title_h2(ctx) %}
|
|
13810
|
-
<h2 id="{{ ctx.text }}" class="" style="{{ ctx.style }}">
|
|
13791
|
+
<h2 class="njk-title-h2" id="{{ ctx.text }}" class="" style="{{ ctx.style }}">
|
|
13811
13792
|
{{ ctx.text }}
|
|
13812
13793
|
</h2>
|
|
13813
13794
|
{% endmacro %}
|
|
13814
13795
|
{% macro title_h3(ctx) %}
|
|
13815
|
-
<h3 id="{{ ctx.text }}" class="" style="{{ ctx.style }}">
|
|
13796
|
+
<h3 class="njk-title-h3" id="{{ ctx.text }}" class="" style="{{ ctx.style }}">
|
|
13816
13797
|
{{ ctx.text }}
|
|
13817
13798
|
</h3>
|
|
13818
13799
|
{% endmacro %}
|
|
13819
13800
|
{% macro title_table_default(ctx) %}
|
|
13820
|
-
<h3 id="{{ ctx.text }}" class="title_table_default" style="{{ ctx.style }}">
|
|
13801
|
+
<h3 class="njk-title-h3" id="{{ ctx.text }}" class="title_table_default" style="{{ ctx.style }}">
|
|
13821
13802
|
{{ ctx.text }}
|
|
13822
13803
|
</h3>
|
|
13823
13804
|
{% endmacro %}
|