forked from BY2HIT/BY2HIT.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: post-list layout -> home layout, toc bottom bugs fix, mermaid b…
…ugs fix
- Loading branch information
Showing
26 changed files
with
110 additions
and
93 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
(function () { | ||
/*(function () { | ||
})(); | ||
})();*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/*(function () { | ||
})();*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/*(function () { | ||
})();*/ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,5 @@ | |
</div> | ||
|
||
<script> | ||
{%- include scripts/all.js -%} | ||
{%- include scripts/archieve.js -%} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,4 +172,9 @@ input { | |
&:focus { | ||
outline: none; | ||
} | ||
} | ||
|
||
// mermaid | ||
.mermaidTooltip { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,70 @@ | ||
.post-list { | ||
& > article { | ||
& > h1 { | ||
font-size: map-get($base, font-size-h3); | ||
.layout--home { | ||
.post-list { | ||
& > article { | ||
& > h1 { | ||
font-size: map-get($base, font-size-h3); | ||
& > a { | ||
@include link-colors($text-color-d, $main-color-1, $main-color-1); | ||
} | ||
} | ||
& > a { | ||
@include link-colors($text-color-d, $main-color-1, $main-color-1); | ||
font-size: map-get($base, font-size-sm); | ||
} | ||
padding-bottom: 1.3rem; | ||
margin: 2.6rem 0 1rem 0; | ||
&:not(:last-child) { | ||
@include split-line(bottom); | ||
} | ||
} | ||
& > a { | ||
.article-content { | ||
font-size: map-get($base, font-size-sm); | ||
} | ||
padding-bottom: 1.3rem; | ||
margin: 2.6rem 0 1rem 0; | ||
&:not(:last-child) { | ||
@include split-line(bottom); | ||
} | ||
} | ||
.article-content { | ||
font-size: map-get($base, font-size-sm); | ||
line-height: map-get($base, line-height); | ||
@include block-elements() { | ||
margin-top: map-get($base, vertical-space); | ||
margin-bottom: map-get($base, vertical-space); | ||
} | ||
@include heading-elements() { | ||
margin-top: map-get($base, vertical-space) * 1.5; | ||
} | ||
line-height: map-get($base, line-height); | ||
@include block-elements() { | ||
margin-top: map-get($base, vertical-space); | ||
margin-bottom: map-get($base, vertical-space); | ||
} | ||
@include heading-elements() { | ||
margin-top: map-get($base, vertical-space) * 1.5; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3 { | ||
color: $text-color; | ||
} | ||
h1, | ||
h2 { | ||
padding: 0; | ||
border: none; | ||
} | ||
h1 { | ||
font-size: map-get($base, font-size-h1-xs); | ||
} | ||
h2 { | ||
font-size: map-get($base, font-size-h2-xs); | ||
} | ||
h3 { | ||
font-size: map-get($base, font-size-h3-xs); | ||
} | ||
h4 { | ||
font-size: map-get($base, font-size-h4-xs); | ||
} | ||
h5 { | ||
font-size: map-get($base, font-size-h5-xs); | ||
} | ||
h6 { | ||
font-size: map-get($base, font-size-h6-xs); | ||
} | ||
img { | ||
max-height: 12rem; | ||
h1, | ||
h2, | ||
h3 { | ||
color: $text-color; | ||
} | ||
h1, | ||
h2 { | ||
padding: 0; | ||
border: none; | ||
} | ||
h1 { | ||
font-size: map-get($base, font-size-h1-xs); | ||
} | ||
h2 { | ||
font-size: map-get($base, font-size-h2-xs); | ||
} | ||
h3 { | ||
font-size: map-get($base, font-size-h3-xs); | ||
} | ||
h4 { | ||
font-size: map-get($base, font-size-h4-xs); | ||
} | ||
h5 { | ||
font-size: map-get($base, font-size-h5-xs); | ||
} | ||
h6 { | ||
font-size: map-get($base, font-size-h6-xs); | ||
} | ||
img { | ||
max-height: 12rem; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.pagination { | ||
margin: map-get($base, vertical-space-lg) 0; | ||
.pagination__omit { | ||
color: $text-color-l; | ||
.pagination { | ||
margin: map-get($base, vertical-space-lg) 0; | ||
.pagination__omit { | ||
color: $text-color-l; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.