-
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feed: Add support for Waline comment system
- Add documentation for Waline - Add config file for exampleSite - Update cdn data - Add lib/waline - Add support for Waline
- Loading branch information
1 parent
2ad853b
commit df8a9b6
Showing
16 changed files
with
242 additions
and
3 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Large diffs are not rendered by default.
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,69 @@ | ||
// ========== Global ========== // | ||
// Color of the border | ||
$border-color: #f0f0f0; | ||
$border-color-dark: #363636; | ||
|
||
// ========== Code ========== // | ||
// Color of the code | ||
$code-color: #E74C3C !default; | ||
$code-color-dark: #E5BF78 !default; | ||
|
||
// Color of the code background | ||
$code-background-color: #f5f5f5 !default; | ||
$code-background-color-dark: #272C34 !default; | ||
|
||
@mixin overflow-wrap($value) { | ||
word-wrap: $value; | ||
overflow-wrap: $value; | ||
} | ||
|
||
@mixin line-break($value) { | ||
-webkit-line-break: $value; | ||
-ms-line-break: $value; | ||
line-break: $value; | ||
} | ||
|
||
@mixin tab-size($value) { | ||
-moz-tab-size: $value; | ||
-o-tab-size: $value; | ||
tab-size: $value; | ||
} | ||
|
||
.v[data-class=v] { | ||
.vcards .vcard .vcontent.expand { | ||
&::before, &::after { | ||
z-index: 50; | ||
} | ||
} | ||
|
||
.vwrap, | ||
.vwrap .vheader .vinput, | ||
.vcards .vcard .vh, | ||
.vcards .vcard .vquote, | ||
blockquote { | ||
border-color: $border-color; | ||
|
||
[theme=dark] & { | ||
border-color: $border-color-dark; | ||
} | ||
} | ||
|
||
code, pre, pre code { | ||
font-size: 90%; | ||
@include overflow-wrap(break-word); | ||
@include line-break(anywhere); | ||
@include tab-size(4); | ||
color: $code-color; | ||
background: $code-background-color; | ||
|
||
[theme=dark] & { | ||
color: $code-color-dark; | ||
background: $code-background-color-dark; | ||
} | ||
} | ||
|
||
.emoji, .vemoji { | ||
max-width: 1.5em; | ||
vertical-align: text-bottom; | ||
} | ||
} |
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