hexo-theme-linen 1.0.20 → 1.0.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-linen",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "A clean Hexo theme",
5
5
  "main": "index.js",
6
6
  "homepage": "https://github.com/lynanbreeze/hexo-theme-linen",
@@ -1675,7 +1675,7 @@ body {
1675
1675
  .series-nav {
1676
1676
  background-color: #f5f5f5;
1677
1677
  width: calc(100% - min(6vw, 30px));
1678
- margin: $postWidgetGap auto 1em auto;
1678
+ margin: 0 auto 1em auto;
1679
1679
  padding: 1em;
1680
1680
  padding-top: 0.65em;
1681
1681
  border-radius: 2px;
@@ -2141,7 +2141,7 @@ html[lang="zh-CN"] {
2141
2141
  }
2142
2142
 
2143
2143
  #related-posts {
2144
- @include pageXPadding;
2144
+ padding: 0 $commonPadding;
2145
2145
  border-top: solid 1px #f5f5f5;
2146
2146
  .related-posts-title {
2147
2147
  margin: 1em 0;
@@ -2546,4 +2546,9 @@ ul {
2546
2546
  &:not(:first-child) {
2547
2547
  display: none;
2548
2548
  }
2549
+ }
2550
+ .footnotes {
2551
+ ol {
2552
+ padding-left: calc(40px - $commonPadding);
2553
+ }
2549
2554
  }
@@ -240,9 +240,7 @@
240
240
  }
241
241
  .site-info {
242
242
  padding: 0;
243
- &.home {
244
- padding: 0;
245
- }
243
+ padding-bottom: 1rem;
246
244
  .author {
247
245
  flex-direction: column;
248
246
  align-items: center;
@@ -86,6 +86,9 @@ $postWidth: max(min(1192px, 68vw), 960px);
86
86
  @mixin tags {
87
87
  @include defaultFont;
88
88
  margin-bottom: -10px;
89
+ &:last-child {
90
+ margin-bottom: calc(1rem - 10px);
91
+ }
89
92
  .tag-item {
90
93
  background-color: #f5f5f5;
91
94
  padding: 4px 7px 4px 6px;