-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Don't canonify URLs * Expand i18n * Add svg favicon * Add more configurable options * Update CSS * Bump dependencies * Update package.json * Add Chinese 3.2 docs to robots.txt * Move downloads location * Fix missing closing bracket * Fix GitHub button position * Switch from lazysizes module to native lazy loading * Add logo image size * Remove Chinese changelog * Add old changelogs * Add release date to changelog * Add more details to previous versions * Collapse previous versions by default * Add 1.10 manual * Fix blogpost slugs for titles with \ * Switch from Jost to system default font
- Loading branch information
Showing
261 changed files
with
10,713 additions
and
7,784 deletions.
There are no files selected for viewing
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
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,20 @@ | ||
var topbutton = document.getElementById('toTop'); | ||
|
||
if (topbutton !== null) { | ||
|
||
topbutton.style.display = 'none'; | ||
window.onscroll = function() { | ||
scrollFunction() | ||
}; | ||
|
||
} | ||
|
||
function scrollFunction() { | ||
|
||
if (document.body.scrollTop > 40 || document.documentElement.scrollTop > 40) { | ||
topbutton.style.display = 'block'; | ||
} else { | ||
topbutton.style.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,101 +0,0 @@ | ||
/* jost-regular - latin */ | ||
@font-face { | ||
font-family: Jost; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: | ||
// Google Fonts Jost | ||
local("Jost Regular Regular"), // Full Name | ||
local("Jost-Regular"), // PostScript name | ||
// indestructible Jost* | ||
local("Jost* Book"), | ||
local("Jost-Book"), | ||
url("fonts/vendor/jost/jost-v4-latin-regular.woff2") format("woff2"), | ||
url("fonts/vendor/jost/jost-v4-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
|
||
/* jost-500 - latin */ | ||
@font-face { | ||
font-family: Jost; | ||
font-style: normal; | ||
font-weight: 500; | ||
font-display: swap; | ||
src: | ||
// Google Fonts Jost | ||
local("Jost Regular Medium"), | ||
local("JostRoman-Medium"), | ||
// indestructible Jost* | ||
local("Jost* Medium"), | ||
local("Jost-Medium"), | ||
url("fonts/vendor/jost/jost-v4-latin-500.woff2") format("woff2"), | ||
url("fonts/vendor/jost/jost-v4-latin-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
|
||
/* jost-700 - latin */ | ||
@font-face { | ||
font-family: Jost; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: | ||
// Google Fonts Jost | ||
local("Jost Regular Bold"), | ||
local("JostRoman-Bold"), | ||
// indestructible Jost* | ||
local("Jost* Bold"), | ||
local("Jost-Bold"), | ||
url("fonts/vendor/jost/jost-v4-latin-700.woff2") format("woff2"), | ||
url("fonts/vendor/jost/jost-v4-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
|
||
/* jost-italic - latin */ | ||
@font-face { | ||
font-family: Jost; | ||
font-style: italic; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: | ||
// Google Fonts Jost | ||
local("Jost Italic Italic"), | ||
local("Jost-Italic"), | ||
// indestructible Jost* | ||
local("Jost* BookItalic"), | ||
local("Jost-BookItalic"), | ||
url("fonts/vendor/jost/jost-v4-latin-italic.woff2") format("woff2"), | ||
url("fonts/vendor/jost/jost-v4-latin-italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
|
||
/* jost-500italic - latin */ | ||
@font-face { | ||
font-family: Jost; | ||
font-style: italic; | ||
font-weight: 500; | ||
font-display: swap; | ||
src: | ||
// Google Fonts Jost | ||
local("Jost Italic Medium Italic"), | ||
local("JostItalic-Medium"), | ||
// indestructible Jost* | ||
local("Jost* Medium Italic"), | ||
local("Jost-MediumItalic"), | ||
url("fonts/vendor/jost/jost-v4-latin-500italic.woff2") format("woff2"), | ||
url("fonts/vendor/jost/jost-v4-latin-500italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
|
||
/* jost-700italic - latin */ | ||
@font-face { | ||
font-family: Jost; | ||
font-style: italic; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: | ||
// Google Fonts Jost | ||
local("Jost Italic Bold Italic"), | ||
local("JostItalic-Bold"), | ||
// indestructible Jost* | ||
local("Jost* Bold Italic"), | ||
local("Jost-BoldItalic"), | ||
url("fonts/vendor/jost/jost-v4-latin-700italic.woff2") format("woff2"), | ||
url("fonts/vendor/jost/jost-v4-latin-700italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.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
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.