njk-tool 0.0.15 → 0.0.16

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.
@@ -13478,6 +13478,7 @@ position: var(--njk-title-position);
13478
13478
  margin: var(--njk-title-margin);
13479
13479
  color: var(--njk-title-color);
13480
13480
  text-align: var(--njk-title-align);
13481
+ font-size: 2.5rem
13481
13482
  }
13482
13483
  .njk-title-h2 {
13483
13484
  padding: 0 0 4.8px;
@@ -13485,6 +13486,7 @@ position: var(--njk-title-position);
13485
13486
  margin: var(--njk-title-margin);
13486
13487
  color: var(--njk-title-color);
13487
13488
  text-align: var(--njk-title-align);
13489
+ font-size: 2rem
13488
13490
  }
13489
13491
  .njk-title-h3 {
13490
13492
  padding: 0 0 4.8px;
@@ -13492,6 +13494,7 @@ margin: var(--njk-title-margin);
13492
13494
  position: var(--njk-title-position);
13493
13495
  color: var(--text-color);
13494
13496
  text-align: var(--njk-title-align);
13497
+ font-size: 1rem
13495
13498
  }
13496
13499
  .njk-title-h2::before,
13497
13500
  .njk-title-h1::before {
@@ -13597,7 +13600,7 @@ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
13597
13600
  .code-block pre {
13598
13601
  margin: 0;
13599
13602
  padding: 1rem;
13600
- background-color: #f5f5f5;
13603
+ background-color: silver;
13601
13604
  font-family: 'Courier New', monospace;
13602
13605
  font-size: 14px;
13603
13606
  line-height: 1.5;
@@ -13656,6 +13659,19 @@ margin: 0;
13656
13659
  padding: 0;
13657
13660
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
13658
13661
  }
13662
+ /* PC端样式 */
13663
+ @media (min-width: 900px) {
13664
+ .email-main-container {
13665
+ width: 40rem;
13666
+ border: solid 1px silver
13667
+ }
13668
+ }
13669
+ /* 移动端样式 */
13670
+ @media (min-width: 1304px) {
13671
+ .email-main-container {
13672
+ width: 80rem;
13673
+ }
13674
+ }
13659
13675
  a {
13660
13676
  text-decoration: none;
13661
13677
  }
@@ -13664,12 +13680,12 @@ color: #409EFF;
13664
13680
  }
13665
13681
  .email-main-container {
13666
13682
  margin: 0;
13667
- min-width: 1000px;
13683
+ /* min-width: 1000px; */
13668
13684
  padding: 0 5rem;
13669
13685
  }
13670
13686
  :root {
13671
- --njk-title-color-default: #606266;
13672
- --njk-title-align-default: left;
13687
+ --njk-title-color: #606266;
13688
+ --njk-title-align: left;
13673
13689
  --njk-title-position: relative;
13674
13690
  --njk-title-margin: 36px 0 20px;
13675
13691
  }
@@ -14033,7 +14049,7 @@ display: block;
14033
14049
  {% endif %}
14034
14050
  {% endmacro %}
14035
14051
  <body style="margin: 0; padding: 0;">
14036
- <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem;box-sizing: border-box; max-width: 1000px;">
14052
+ <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem;box-sizing: border-box">
14037
14053
  {{ use_component(ctx) }}
14038
14054
  </div>
14039
14055
  </body>