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