-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
78 additions
and
140 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -175,7 +175,6 @@ defaults: | |
url: / | ||
|
||
sass: | ||
sass_dir: /assets/css | ||
style: compressed | ||
|
||
compress_html: | ||
|
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 |
---|---|---|
|
@@ -6,21 +6,9 @@ | |
MIT Licensed | ||
--> | ||
|
||
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}"> | ||
|
||
{% if page.layout == 'category' or page.layout == 'tag' %} | ||
{% assign style = 'category-tag' %} | ||
{% else %} | ||
{% assign style = page.layout %} | ||
{% endif %} | ||
|
||
{% assign src = style | prepend: '/assets/css/' | append: '.css' | relative_url %} | ||
|
||
<link rel="preload" href="{{ src }}" as="style"> | ||
<link rel="stylesheet" href="{{ src }}"> | ||
|
||
{% if page.layout == 'post' %} | ||
{% if site.toc and page.toc %} | ||
<link rel="preload" as="style" href="{{ '/assets/css/lib/bootstrap-toc.min.css' | relative_url }}"> | ||
<link rel="stylesheet" href="{{ '/assets/css/lib/bootstrap-toc.min.css' | relative_url }}" /> | ||
{% endif %} | ||
{% if site.toc and page.toc %} | ||
<link rel="stylesheet" | ||
href="https://cdn.jsdelivr.net/gh/afeld/[email protected]/dist/bootstrap-toc.min.css"> | ||
{% endif %} |
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
File renamed without changes.
10 changes: 3 additions & 7 deletions
10
assets/css/_colors/dark-syntax.scss → _sass/colors/dark-syntax.scss
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
10 changes: 3 additions & 7 deletions
10
assets/css/_colors/dark-typography.scss → _sass/colors/dark-typography.scss
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
10 changes: 3 additions & 7 deletions
10
assets/css/_colors/light-syntax.scss → _sass/colors/light-syntax.scss
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
10 changes: 3 additions & 7 deletions
10
assets/css/_colors/light-typography.scss → _sass/colors/light-typography.scss
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,23 @@ | ||
/* | ||
* The main styles | ||
* | ||
* v2.7.2 | ||
* https://github.com/cotes2020/jekyll-theme-chirpy | ||
* © 2021 Cotes Chung | ||
* MIT Licensed | ||
*/ | ||
|
||
@import "colors/light-typography"; | ||
@import "colors/dark-typography"; | ||
|
||
@import "addon/module"; | ||
@import "addon/variables"; | ||
@import 'addon/syntax'; | ||
@import "addon/commons"; | ||
|
||
@import "layout/home"; | ||
@import "layout/post"; | ||
@import "layout/tags"; | ||
@import "layout/archives"; | ||
@import "layout/categories"; | ||
@import "layout/category-tag"; |
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
13 changes: 3 additions & 10 deletions
13
assets/css/category-tag.scss → _sass/layout/category-tag.scss
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
--- | ||
--- | ||
|
||
$tab-count: {{ site.tabs | size | plus: 1 }}; // plus 1 for home tab | ||
|
||
$prompt-older: "{{ site.data.label.post.button.previous }}"; | ||
$prompt-newer: "{{ site.data.label.post.button.next }}"; | ||
|
||
@import "jekyll-theme-chirpy"; |