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