-
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.
Merge pull request #13 from can-dy-jack/version4
没周更新
- Loading branch information
Showing
12 changed files
with
250 additions
and
27 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,34 @@ | ||
page pages | ||
<section class="page-img-container" style="height: <%- page.imgHeight %>;"> | ||
<%- image_tag(page.imgURL, { | ||
alt: page.imgAlt || "", | ||
width: "100%" | ||
}) %> | ||
</section> | ||
|
||
<article class="markdown-container page-container"> | ||
<div class="article"> | ||
<%- page.content %> | ||
</div> | ||
|
||
<section class="comment-container"> | ||
<!-- giscus --> | ||
<% if (page.giscus) { %> | ||
<script src="<%- theme.giscus.js %>" | ||
data-repo="<%- theme.giscus.repo %>" | ||
data-repo-id="<%- theme.giscus.repoId %>" | ||
data-category="<%- theme.giscus.category %>" | ||
data-category-id="<%- theme.giscus.categoryId %>" | ||
data-mapping="<%- theme.giscus.mapping %>" | ||
data-strict="<%- theme.giscus.strict %>" | ||
data-reactions-enabled="<%- theme.giscus.reactionsEnabled %>" | ||
data-emit-metadata="<%- theme.giscus.emitMetadata %>" | ||
data-input-position="<%- theme.giscus.inputPosition %>" | ||
data-theme="<%- theme.giscus.selfTheme ? theme.giscus.theme : 'https://cdn.jsdelivr.net/gh/can-dy-jack/giscus-theme-delicate@master/index.min.css' %>" | ||
data-lang="<%- theme.giscus.lang %>" | ||
data-loading="<%- theme.giscus.loading %>" | ||
crossorigin="anonymous" | ||
async> | ||
</script> | ||
<% } %> | ||
</section> | ||
</article> |
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,15 +1,53 @@ | ||
$line-color = #ccc | ||
.archive | ||
margin 20px 50px | ||
margin 40px | ||
.archive-list | ||
margin 20px 0 | ||
margin 30px 0 | ||
.year-group | ||
margin-top 40px | ||
position relative | ||
margin-top 20px | ||
display flex | ||
align-items center | ||
gap 10px | ||
font-size 1.2rem | ||
height 3rem | ||
.circle | ||
height 14px | ||
width 14px | ||
background $line-color | ||
border-radius 50% | ||
.month-group | ||
padding-left 20px | ||
margin-left 40px | ||
position relative | ||
width fit-content | ||
// padding 0 8px | ||
font-size 1rem | ||
// border 1px solid $line-color | ||
border-radius 5px | ||
&::before | ||
content '' | ||
height calc(100% + 40px) | ||
width 2px | ||
background $line-color | ||
position absolute | ||
left -34px | ||
top -20px | ||
.post-item | ||
margin-left 60px | ||
padding 10px 20px | ||
border-radius 5px | ||
display block | ||
position relative | ||
&::before | ||
content '' | ||
height 100% | ||
width 2px | ||
background $line-color | ||
position absolute | ||
left -54px | ||
top 0 | ||
transition all 250ms ease | ||
&:hover | ||
background rgba($color, .1) | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -35,3 +35,6 @@ | |
|
||
// comoponent | ||
@import "component"; | ||
|
||
// pages | ||
@import "page"; |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.page-img-container | ||
margin-top -20px | ||
overflow hidden | ||
border-radius 6px 6px 0 0 | ||
img | ||
margin 0 | ||
.page-container | ||
margin 20px 50px 50px 50px |