use maintained theme

This commit is contained in:
Christoph Cullmann 2021-02-18 22:21:36 +01:00
parent 640572ecab
commit 0c7cb4486a
1779 changed files with 41468 additions and 26258 deletions

View file

@ -0,0 +1,318 @@
{
"projectName": "CodeIT",
"projectOwner": "sunt-programator",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 100,
"commit": true,
"commitConvention": "angular",
"contributors": [
{
"login": "victor-pogor",
"name": "Victor Pogor",
"avatar_url": "https://avatars1.githubusercontent.com/u/24962085?v=4",
"profile": "https://suntprogramator.dev/",
"contributions": [
"code",
"bug",
"projectManagement"
]
},
{
"login": "dillonzq",
"name": "Dillon",
"avatar_url": "https://avatars1.githubusercontent.com/u/30786232?v=4",
"profile": "https://github.com/dillonzq",
"contributions": [
"code",
"bug",
"projectManagement"
]
},
{
"login": "Fastbyte01",
"name": "Giuseppe Pignataro",
"avatar_url": "https://avatars0.githubusercontent.com/u/16869546?v=4",
"profile": "https://giuseppepignataro.eu/",
"contributions": [
"code",
"bug",
"projectManagement"
]
},
{
"login": "Programazing",
"name": "Christopher C. Johnson",
"avatar_url": "https://avatars0.githubusercontent.com/u/11393826?v=4",
"profile": "http://www.thatamazingprogrammer.com/",
"contributions": [
"code"
]
},
{
"login": "astropenguin",
"name": "Akio Taniguchi",
"avatar_url": "https://avatars2.githubusercontent.com/u/13254278?v=4",
"profile": "https://astropengu.in/",
"contributions": [
"code"
]
},
{
"login": "DaveA-W",
"name": "Dave A-W",
"avatar_url": "https://avatars0.githubusercontent.com/u/6415842?v=4",
"profile": "https://www.holo.co.de/",
"contributions": [
"code"
]
},
{
"login": "realsangil",
"name": "Sangil Park",
"avatar_url": "https://avatars1.githubusercontent.com/u/15508203?v=4",
"profile": "https://blog.realsangil.net/",
"contributions": [
"code"
]
},
{
"login": "youngxhui",
"name": "youngxhui",
"avatar_url": "https://avatars2.githubusercontent.com/u/16971804?v=4",
"profile": "https://youngxhui.top/",
"contributions": [
"code"
]
},
{
"login": "solarpowerinncr",
"name": "solarpowerinncr",
"avatar_url": "https://avatars0.githubusercontent.com/u/37186560?v=4",
"profile": "https://github.com/solarpowerinncr",
"contributions": [
"code"
]
},
{
"login": "maxlefou",
"name": "Max le Fou",
"avatar_url": "https://avatars1.githubusercontent.com/u/6705075?v=4",
"profile": "https://gitlab.com/maxlefou",
"contributions": [
"code"
]
},
{
"login": "edte",
"name": "edte",
"avatar_url": "https://avatars1.githubusercontent.com/u/50194671?v=4",
"profile": "https://edte.github.io/",
"contributions": [
"code"
]
},
{
"login": "Fedomn",
"name": "Fedomn",
"avatar_url": "https://avatars3.githubusercontent.com/u/6177727?v=4",
"profile": "https://frankma.netlify.app/",
"contributions": [
"code"
]
},
{
"login": "ziobron",
"name": "Łukasz Ziobroń",
"avatar_url": "https://avatars0.githubusercontent.com/u/4595135?v=4",
"profile": "https://coders.school/",
"contributions": [
"code"
]
},
{
"login": "yoloyi",
"name": "余农场主",
"avatar_url": "https://avatars1.githubusercontent.com/u/40978171?v=4",
"profile": "https://blog.yoloyi.com/",
"contributions": [
"code"
]
},
{
"login": "wtchangdm",
"name": "W.T. Chang",
"avatar_url": "https://avatars3.githubusercontent.com/u/1546333?v=4",
"profile": "https://blog.wtcx.dev/",
"contributions": [
"code"
]
},
{
"login": "vanildosouto",
"name": "Vanildo Souto Mangueira",
"avatar_url": "https://avatars1.githubusercontent.com/u/1603028?v=4",
"profile": "http://blog.toneladas.com.br/",
"contributions": [
"code"
]
},
{
"login": "tomaja-linuxo",
"name": "tomaja",
"avatar_url": "https://avatars2.githubusercontent.com/u/37209662?v=4",
"profile": "https://linuxo.org/",
"contributions": [
"code"
]
},
{
"login": "tlereste",
"name": "Thibault Le Reste",
"avatar_url": "https://avatars2.githubusercontent.com/u/12964583?v=4",
"profile": "https://thibault-lereste.fr/",
"contributions": [
"code"
]
},
{
"login": "thejayhaykid",
"name": "Jake Hayes",
"avatar_url": "https://avatars0.githubusercontent.com/u/9452325?v=4",
"profile": "https://github.com/thejayhaykid",
"contributions": [
"code"
]
},
{
"login": "sarathsp06",
"name": "Sarath Sadasivan Pillai",
"avatar_url": "https://avatars0.githubusercontent.com/u/964542?v=4",
"profile": "https://sarathsp.com/",
"contributions": [
"code"
]
},
{
"login": "ramrodo",
"name": "Rodolfo Martínez Vega",
"avatar_url": "https://avatars2.githubusercontent.com/u/2797052?v=4",
"profile": "https://rodomar.mx/",
"contributions": [
"code"
]
},
{
"login": "quyleanh",
"name": "quyleanh",
"avatar_url": "https://avatars1.githubusercontent.com/u/9365035?v=4",
"profile": "https://github.com/quyleanh",
"contributions": [
"code"
]
},
{
"login": "onisuly",
"name": "onisuly",
"avatar_url": "https://avatars1.githubusercontent.com/u/8399827?v=4",
"profile": "http://www.onisuly.com/",
"contributions": [
"code"
]
},
{
"login": "nirgn975",
"name": "Nir Galon",
"avatar_url": "https://avatars3.githubusercontent.com/u/3472902?v=4",
"profile": "https://nir.galon.io/",
"contributions": [
"code"
]
},
{
"login": "markdluethje",
"name": "Mark-Daniel Lüthje",
"avatar_url": "https://avatars2.githubusercontent.com/u/31922494?v=4",
"profile": "https://github.com/markdluethje",
"contributions": [
"code"
]
},
{
"login": "devandreacarratta",
"name": "Andrea Carratta",
"avatar_url": "https://avatars3.githubusercontent.com/u/46504271?v=4",
"profile": "https://devandreacarratta.it/",
"contributions": [
"code"
]
},
{
"login": "derelartwork",
"name": "Doğukan Erel",
"avatar_url": "https://avatars3.githubusercontent.com/u/19349444?v=4",
"profile": "https://dogukanerel.com/",
"contributions": [
"code"
]
},
{
"login": "codedge",
"name": "codedge",
"avatar_url": "https://avatars3.githubusercontent.com/u/4409904?v=4",
"profile": "https://www.codedge.de/",
"contributions": [
"code"
]
},
{
"login": "cmpsoares91",
"name": "Carlos Manuel Soares",
"avatar_url": "https://avatars2.githubusercontent.com/u/4914211?v=4",
"profile": "http://www.cmpsoares.com/",
"contributions": [
"code"
]
},
{
"login": "anup92k",
"name": "Anup",
"avatar_url": "https://avatars3.githubusercontent.com/u/51033013?v=4",
"profile": "https://www.scrample.xyz/",
"contributions": [
"code"
]
},
{
"login": "SilkeHenderickx",
"name": "Silke Henderickx",
"avatar_url": "https://avatars0.githubusercontent.com/u/28140438?v=4",
"profile": "https://github.com/SilkeHenderickx",
"contributions": [
"code"
]
},
{
"login": "Ghosin",
"name": "Ghosin",
"avatar_url": "https://avatars1.githubusercontent.com/u/26043355?v=4",
"profile": "https://ghos.in/",
"contributions": [
"code"
]
},
{
"login": "AutomationD",
"name": "Dmitry Kireev",
"avatar_url": "https://avatars2.githubusercontent.com/u/1790594?v=4",
"profile": "https://automationd.com/",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7
}

11
themes/CodeIT/.babelrc Normal file
View file

@ -0,0 +1,11 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": "> 0.25%, not dead"
}
],
"minify"
]
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,9 @@
if [ -z "$SSH_AUTH_SOCK" ]; then
# Check for a currently running instance of the agent
RUNNING_AGENT="`ps -ax | grep 'ssh-agent -s' | grep -v grep | wc -l | tr -d '[:space:]'`"
if [ "$RUNNING_AGENT" = "0" ]; then
# Launch a new instance of the agent
ssh-agent -s &> .ssh/ssh-agent
fi
eval `cat .ssh/ssh-agent`
fi

View file

@ -0,0 +1,113 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="powerlevel10k/powerlevel10k"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
source $HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Disable Powerlevel10k configuration wizard
POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true

View file

@ -0,0 +1,67 @@
FROM klakegg/hugo:ext-ubuntu
# Configure apt
ENV DEBIAN_FRONTEND=noninteractive
# Install required packages
RUN apt update && \
apt install -y sudo \
curl \
gnupg2 \
linuxbrew-wrapper \
locales \
zsh \
wget \
powerline \
fonts-powerline \
software-properties-common \
# set up locale
&& locale-gen en_US.UTF-8
# Install git
RUN add-apt-repository -y ppa:git-core/ppa && apt update && apt install git -y
# Install Node.js
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN apt install nodejs
# Switch back to dialog for any ad-hoc use of apt-get
ENV DEBIAN_FRONTEND=dialog
ENV USER_NAME vscode
ENV USER_PASSWORD password
# Add a user (--disabled-password: the user won't be able to use the account until the password is set)
RUN adduser --quiet --disabled-password --shell /bin/zsh --home /home/$USER_NAME --gecos "User" $USER_NAME
# Update the password
RUN echo "${USER_NAME}:${USER_PASSWORD}" | chpasswd && usermod -aG sudo $USER_NAME
RUN echo $USER_NAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USER_NAME && chmod 0440 /etc/sudoers.d/$USER_NAME
# Set home
ENV HOME /home/$USER_NAME
# Generate locale for agnoster
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && /usr/sbin/locale-gen
# The user we're applying this too (otherwise it most likely install for root)
USER $USER_NAME
ENV TERM xterm
# Set the default shell to bash rather than sh
ENV SHELL /bin/zsh
# Run the installation script
RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh || true
# Install powerlevel10k theme
RUN git clone https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k
# Install syntax highlighting
RUN git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.zsh-syntax-highlighting --depth 1
# Add .zsh configuration
ADD .p10k.zsh $HOME
ADD .zshrc $HOME
ADD .zprofile $HOME

View file

@ -0,0 +1,20 @@
{
"name": "Hugo CodeIT theme",
"dockerFile": "Dockerfile",
"settings": {
"resmon.show.battery": false,
"resmon.show.cpufreq": false,
"terminal.integrated.fontFamily": "'Source Code Pro for Powerline', 'Hack Nerd Font'",
"terminal.integrated.shell.linux": "/bin/zsh"
},
"extensions": [
"budparr.language-hugo-vscode",
"be5invis.toml",
"esbenp.prettier-vscode",
"visualstudioexptteam.vscodeintellicode",
"eamodio.gitlens",
"mutantdino.resourcemonitor",
"budparr.language-hugo-vscode"
],
"runArgs": []
}

3
themes/CodeIT/.eslintrc Normal file
View file

@ -0,0 +1,3 @@
{
"extends": ["eslint:recommended", "prettier"]
}

1
themes/CodeIT/.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1 @@
custom: https://paypal.me/victorpogor

View file

@ -0,0 +1,36 @@
## Pull request type
Please check the type of change your PR introduces:
- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):
## What is the current behavior?
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->
Issue Number: N/A
## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by this PR. -->
-
-
-
## Does this introduce a breaking change?
- [ ] Yes
- [ ] No
<!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. -->
## Other information
<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->

View file

@ -0,0 +1,35 @@
---
name: 🐛 Bug Report
about: Create a bug report
title: "[BUG] Some problem..."
labels: bug
---
## Describe the bug
Briefly describe the issue you are experiencing, what you were trying to do and what happened instead. Remember, this is _not_ a place to ask questions. For that, go to the official [Discord channel](https://discord.com/channels/777188233284681768/777188575485493259)!
## Expected behavior
A clear and concise description of what you expected to happen.
## Screenshots
If applicable, add screenshots to help explain your problem.
## Build Environment
- OS: [e.g. Windows 10, macOS, Ubuntu]
- Theme version/commit [e.g. 0.2.0, 2ccba79]
- Hugo version [e.g. 0.69.0]
Please try to use Hugo **extended** version before opening the issue.
## Preview Environment
- OS: [e.g. Windows 10, macOS, Ubuntu, iOS, Android]
- Browser [e.g. Chrome, Safari, Firefox]
## Additional Information
Configuration files or front matter code...

View file

@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Theme Documentation
url: http://codeit.suntprogramator.dev/categories/documentation/
about: Please read the documentation carefully.

View file

@ -0,0 +1,20 @@
---
name: 🔮 Feature request
about: Suggest an idea for this project
title: "[FEATURE] Some feature"
labels: enhancement
---
## Describe the feature you want
- Feature 1
I want this feature to solve ...
- Feature 2
I want this feature to solve ...
- ...
## Useful reference
If available, provide useful links to fulfill the feature.

14
themes/CodeIT/.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,14 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
commit-message:
# Prefix all commit messages with "npm"
prefix: "npm"

View file

@ -0,0 +1,71 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: '0 14 * * 4'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language: ['javascript']
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

View file

@ -0,0 +1,33 @@
name: "Deploy status"
on:
push:
branches:
- master
jobs:
deploy-blog:
name: Deploying the static pages to the FTP server
runs-on: ubuntu-20.04
defaults:
run:
working-directory: CodeIT
steps:
- name: Set up Git repository
uses: actions/checkout@v2
with:
path: 'CodeIT'
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Build static pages
run: hugo --source=exampleSite -v -e production
- name: Deploy static pages
uses: sebastianpopp/ftp-action@releases/v2
with:
host: ${{ secrets.FTP_URL }}
user: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
localDir: "CodeIT/exampleSite/public"
remoteDir: "www/codeit.suntprogramator.dev"

View file

@ -0,0 +1,21 @@
name: "Create pre-release"
on:
push:
branches:
- master
jobs:
pre-release:
name: "Pre Release"
runs-on: "ubuntu-latest"
steps:
- name: Set up Git repository
uses: actions/checkout@v2
with:
path: "CodeIT"
fetch-depth: 0
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"

View file

@ -0,0 +1,31 @@
name: "Build and checks"
on:
pull_request:
branches:
- master
- dev
jobs:
check_hugo_site:
name: Check Hugo site
runs-on: ubuntu-20.04
defaults:
run:
working-directory: CodeIT
steps:
- name: Set up Git repository
uses: actions/checkout@v2
with:
path: 'CodeIT'
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Build static pages
run: hugo --source=exampleSite -v --gc
- name: Check HTML
uses: chabad360/htmlproofer@master
with:
directory: "CodeIT/exampleSite/public"
arguments: --check-html --allow-hash-href --empty-alt-ignore --disable-external

View file

@ -0,0 +1,20 @@
name: "Create tagged release"
on:
push:
tags:
- "v*"
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
steps:
- name: Set up Git repository
uses: actions/checkout@v2
with:
path: "CodeIT"
fetch-depth: 0
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false

19
themes/CodeIT/.gitignore vendored Normal file
View file

@ -0,0 +1,19 @@
# Hugo default output directory
public/
/exampleSite/resources/
node_modules/
build/
## OS Files
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
# OSX
.DS_Store
# Linux
.directory

6
themes/CodeIT/.huskyrc Normal file
View file

@ -0,0 +1,6 @@
{
"hooks": {
"pre-commit": "lint-staged && npm run build && npm run copy && git add resources assets/js",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}

View file

@ -0,0 +1,3 @@
{
"**/*.{js,css,scss,md}": "prettier --write"
}

View file

@ -0,0 +1,10 @@
# Ignore all minified files
**/*.min.*
# Node.js modules
node_modules/
# Example site public folders
exampleSite/public/
exampleSite/resources/
exampleSite/content/posts/basic-markdown-syntax

View file

@ -0,0 +1 @@
{}

View file

@ -0,0 +1,13 @@
{
"plugins": [
"stylelint-scss"
],
"extends": [
"stylelint-config-standard",
"stylelint-config-prettier"
],
"rules": {
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true
}
}

View file

@ -0,0 +1,14 @@
{
"types": [
{ "type": "feat", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "chore", "section": "Other changes" },
{ "type": "docs", "section": "Documentation changes" },
{ "type": "style", "hidden": true },
{ "type": "refactor", "hidden": true },
{ "type": "perf", "section": "Performance improvements" },
{ "type": "test", "hidden": true },
{ "type": "build", "section": "Build changes" },
{ "type": "ci", "section": "CI/CD configuration changes" }
]
}

11
themes/CodeIT/.vscode/extensions.json vendored Normal file
View file

@ -0,0 +1,11 @@
{
"recommendations": [
"budparr.language-hugo-vscode",
"be5invis.toml",
"esbenp.prettier-vscode",
"visualstudioexptteam.vscodeintellicode",
"eamodio.gitlens",
"mutantdino.resourcemonitor",
"budparr.language-hugo-vscode"
]
}

8
themes/CodeIT/.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,8 @@
{
"files.associations": {
".huskyrc": "json",
".stylelintrc": "json",
".lintstagedrc": "json",
".all-contributorsrc": "json",
}
}

481
themes/CodeIT/CHANGELOG.md Normal file
View file

@ -0,0 +1,481 @@
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## 0.1.0 (2020-12-26)
### Features
- Add Plausible Analytics option ([53e045c](https://github.com/sunt-programator/CodeIT/commit/53e045cb5d2249353910f1094e7bb9b31542a17a))
- added devcontainer ([02f046e](https://github.com/sunt-programator/CodeIT/commit/02f046e872ff9cdda531b49f9f4de7ef794b650d))
- **analytics:** update Google analytics.js to gtag.js ([#349](https://github.com/sunt-programator/CodeIT/issues/349)) ([83869e0](https://github.com/sunt-programator/CodeIT/commit/83869e0fc82356011bb155370d51a4ce3e6924c9))
- **button:** add 'comment' fixed button ([#169](https://github.com/sunt-programator/CodeIT/issues/169)) ([6e091b6](https://github.com/sunt-programator/CodeIT/commit/6e091b6fad270022f20003c7e13d7edf2496a44e))
- **CDN:** replace CDN config with CDN data file ([#353](https://github.com/sunt-programator/CodeIT/issues/353)) ([39159a9](https://github.com/sunt-programator/CodeIT/commit/39159a9a6d374396229d418ccabb45dbec49f1f6))
- **code:** add copy button for code ([#239](https://github.com/sunt-programator/CodeIT/issues/239)) ([8a0e610](https://github.com/sunt-programator/CodeIT/commit/8a0e61085cfc2f2d1a342697c73b10cbc1d27a68))
- **code:** add support for code block folding ([#259](https://github.com/sunt-programator/CodeIT/issues/259)) ([bcbc426](https://github.com/sunt-programator/CodeIT/commit/bcbc4268ea70465a3461c5bd9ef678e305dc4e95))
- **comment:** add comment for single page and emoji config for Valine ([#328](https://github.com/sunt-programator/CodeIT/issues/328)) ([2513afb](https://github.com/sunt-programator/CodeIT/commit/2513afbd54ed5b91663915173fc0d6cbc4b9b74c))
- **comment:** add Telegram Comments support ([#180](https://github.com/sunt-programator/CodeIT/issues/180)) ([01d814e](https://github.com/sunt-programator/CodeIT/commit/01d814ef6fa585e82991bcb9e24c27c908ee82f0))
- **comment:** add Utterances comment system ([#317](https://github.com/sunt-programator/CodeIT/issues/317)) ([7dfa964](https://github.com/sunt-programator/CodeIT/commit/7dfa964d3fd54b6490316c234e0694e7db74a004))
- **comments:** add commento.io comment system ([#255](https://github.com/sunt-programator/CodeIT/issues/255)) ([f588881](https://github.com/sunt-programator/CodeIT/commit/f5888812168b458294241eb5d433d9650670b904))
- **compatibility:** add config for compatibility (Polyfill.io and object-fit-images) ([c5a0ec6](https://github.com/sunt-programator/CodeIT/commit/c5a0ec61c9b5cc5a76dda784e1a39bbbc55ff8f7))
- **compatibility:** add polyfill.io to improve compatibility ([#236](https://github.com/sunt-programator/CodeIT/issues/236)) ([9f37d7b](https://github.com/sunt-programator/CodeIT/commit/9f37d7bc2a2580b19c211521b68194faecd3e736))
- **compatibility:** improve compatibility for Hugo basic version ([#352](https://github.com/sunt-programator/CodeIT/issues/352)) ([762a7e5](https://github.com/sunt-programator/CodeIT/commit/762a7e538d291e0ede8ca4d64b2fcf12ec5d8e9c))
- **content:** support complete local resource references ([#388](https://github.com/sunt-programator/CodeIT/issues/388)) ([aa48df5](https://github.com/sunt-programator/CodeIT/commit/aa48df5eddf17e220e1f2cfd84538399a14249d2))
- **cookies:** add Cookie consent banner ([#355](https://github.com/sunt-programator/CodeIT/issues/355)) ([0a9ec97](https://github.com/sunt-programator/CodeIT/commit/0a9ec9745073527c2d43c545ef8d228fb22a16fa))
- **fixed-btns:** add title for fixed buttons ([#176](https://github.com/sunt-programator/CodeIT/issues/176)) ([80db783](https://github.com/sunt-programator/CodeIT/commit/80db7833963a0b43bcca86cecfb7eb83a6e1aa50))
- **header:** add Logo, pre and post config for header title ([#252](https://github.com/sunt-programator/CodeIT/issues/252)) ([87fbb05](https://github.com/sunt-programator/CodeIT/commit/87fbb05e863c014b858eae042c890f1a52928df7))
- **header:** support header title typeit ([#306](https://github.com/sunt-programator/CodeIT/issues/306)) ([8c70654](https://github.com/sunt-programator/CodeIT/commit/8c706548c7e0e02921262de71024a434ed670bf8))
- **home:** add custom content for home page ([#248](https://github.com/sunt-programator/CodeIT/issues/248)) ([3c38d54](https://github.com/sunt-programator/CodeIT/commit/3c38d54a87fcc844075c4ee8efc1ce1d85ac5117))
- **home:** add disclaimer under social links on home page ([#175](https://github.com/sunt-programator/CodeIT/issues/175)) ([0ca8a4c](https://github.com/sunt-programator/CodeIT/commit/0ca8a4c85ba198b0614f360fe38145371b78fd80))
- **home:** home profile title support HTML format ([#356](https://github.com/sunt-programator/CodeIT/issues/356)) ([861350b](https://github.com/sunt-programator/CodeIT/commit/861350be32c785158847b9fc136ac2d0c62dc950))
- **i18n:** add Vietnamese translation ([#383](https://github.com/sunt-programator/CodeIT/issues/383)) ([7a942f2](https://github.com/sunt-programator/CodeIT/commit/7a942f2d56470d79e16a195369b2de3e37121f9c))
- **i18n:** added romanian and russian languages ([#335](https://github.com/sunt-programator/CodeIT/issues/335)) ([fcba159](https://github.com/sunt-programator/CodeIT/commit/fcba1590b666e50771e3440c5c702f868ce90196))
- **lib:** add normalize.css lib ([#235](https://github.com/sunt-programator/CodeIT/issues/235)) ([bc97c09](https://github.com/sunt-programator/CodeIT/commit/bc97c099ac2b53bfb9c9a34d21e8cd7ba9f73d20))
- **lunr:** some optimizing lib/lunr/\*.js ([#367](https://github.com/sunt-programator/CodeIT/issues/367)) ([c1016df](https://github.com/sunt-programator/CodeIT/commit/c1016df5d6ea4102baf117ec9599a1fcfbe7248f))
- **page:** add custom page library support (css and js) ([#357](https://github.com/sunt-programator/CodeIT/issues/357)) ([486d859](https://github.com/sunt-programator/CodeIT/commit/486d859cc8e9fab017bc57a15362474b486a9689))
- **profile:** Add optional title above subtitle ([#308](https://github.com/sunt-programator/CodeIT/issues/308)) ([67617b8](https://github.com/sunt-programator/CodeIT/commit/67617b82dcd4b6b42df543882b733f4d1bea87f6))
- **rss:** add rssFullText param for RSS ([#301](https://github.com/sunt-programator/CodeIT/issues/301)) ([e3e3bdf](https://github.com/sunt-programator/CodeIT/commit/e3e3bdf9ee64d8732216b2182ec2bac9f3d4e1e1))
- **search:** add absoluteURL config for search index ([#302](https://github.com/sunt-programator/CodeIT/issues/302)) ([971eff8](https://github.com/sunt-programator/CodeIT/commit/971eff815c8c1826a50ef85954714a429b96e990))
- **search:** add local search ([#231](https://github.com/sunt-programator/CodeIT/issues/231)) ([90184ca](https://github.com/sunt-programator/CodeIT/commit/90184ca3e7049188709bb804119833a6bfd263d4))
- **search:** add more params for search and improve search index ([#279](https://github.com/sunt-programator/CodeIT/issues/279)) ([16a4e94](https://github.com/sunt-programator/CodeIT/commit/16a4e94117f118a358d1c0184db48e70a0aa63a9))
- **search:** add snippetLength config for search results ([#296](https://github.com/sunt-programator/CodeIT/issues/296)) ([79df5c6](https://github.com/sunt-programator/CodeIT/commit/79df5c667ec596ac0137e1deefe8e94eef585923))
- **search:** improve search index ([108679e](https://github.com/sunt-programator/CodeIT/commit/108679e137bef428135aaba46bcb44b804c21489))
- **search:** improve search index ([26381b4](https://github.com/sunt-programator/CodeIT/commit/26381b498d09a26b0e7d4188e8e9295539b6f94d))
- **search:** improve search index by chunked separated by h2 and h3 ([#290](https://github.com/sunt-programator/CodeIT/issues/290)) ([3096ff6](https://github.com/sunt-programator/CodeIT/commit/3096ff623597d3af9a9c65525405b858ad547e7a))
- **search:** improve search index by rm line number in code block ([#294](https://github.com/sunt-programator/CodeIT/issues/294))) ([4191e04](https://github.com/sunt-programator/CodeIT/commit/4191e046d8763bfd7323a637508e47e3c7823c18))
- **SEO:** update SEO config ([#393](https://github.com/sunt-programator/CodeIT/issues/393)) ([89a526d](https://github.com/sunt-programator/CodeIT/commit/89a526d693211967765641a1f8458644f7f36966))
- **shortcode:** add link shortcode ([#179](https://github.com/sunt-programator/CodeIT/issues/179)) ([6b03c71](https://github.com/sunt-programator/CodeIT/commit/6b03c711ac8000b5bd09c23f3fea2a005389b230))
- **shortcode:** add mapbox shortcode ([#190](https://github.com/sunt-programator/CodeIT/issues/190)) ([aed8734](https://github.com/sunt-programator/CodeIT/commit/aed8734d83cf68df3b8dc62b27c37888c5cc9569))
- **shortcode:** add script shortcode ([#359](https://github.com/sunt-programator/CodeIT/issues/359)) ([d3d2d75](https://github.com/sunt-programator/CodeIT/commit/d3d2d751ecbb6f4e386c5235bac53fae9e28bbda))
- **shortcode:** refactor and improve image shortcode ([#187](https://github.com/sunt-programator/CodeIT/issues/187)) ([774e831](https://github.com/sunt-programator/CodeIT/commit/774e831a210e44aeca9848eb0d636aae5af009dd))
- **shortcodes:** add width and height params for echarts shortc… ([#192](https://github.com/sunt-programator/CodeIT/issues/192)) ([b6ce753](https://github.com/sunt-programator/CodeIT/commit/b6ce753ae7892839899962b879e2cc5808c60732))
- **sitemap:** improve priority ([#392](https://github.com/sunt-programator/CodeIT/issues/392)) ([2242e0c](https://github.com/sunt-programator/CodeIT/commit/2242e0c3c74a95afb5f11f366977ce1d9a0b16ba))
- **social:** improve social links ([#254](https://github.com/sunt-programator/CodeIT/issues/254)) ([c2197b7](https://github.com/sunt-programator/CodeIT/commit/c2197b7411d613d7fbd75346a9d241c81258cdd7))
- **style:** add header title style config ([#170](https://github.com/sunt-programator/CodeIT/issues/170)) ([ee1c5c2](https://github.com/sunt-programator/CodeIT/commit/ee1c5c22bc765660aad504c63c949239c454302e))
- **style:** adjust mobile TOC style ([#155](https://github.com/sunt-programator/CodeIT/issues/155)) ([344f2f8](https://github.com/sunt-programator/CodeIT/commit/344f2f809c2a90a3855020fd6b270f031469a92f))
- **style:** adjust style of header, tags and dynamic-to-top button ([3d9aad3](https://github.com/sunt-programator/CodeIT/commit/3d9aad32056567b292795e2941428d7ab157cc42))
- **style:** change custom style file path ([#360](https://github.com/sunt-programator/CodeIT/issues/360)) ([da9df3b](https://github.com/sunt-programator/CodeIT/commit/da9df3b0ce07472aa9a792b2f39b29aae1904c99))
- **style:** improve style shortcode to support nesting ([#263](https://github.com/sunt-programator/CodeIT/issues/263)) ([fc46fba](https://github.com/sunt-programator/CodeIT/commit/fc46fba6aa1a747d19c9d0b37b0a26e944cfbba3))
- **style:** improve toc style ([#167](https://github.com/sunt-programator/CodeIT/issues/167)) ([212e67c](https://github.com/sunt-programator/CodeIT/commit/212e67c2a59dff21dbcaf287565f161c6a0dd578))
- **style:** simplify blockquote style and rm fa-fw for fontawesome syntax ([#257](https://github.com/sunt-programator/CodeIT/issues/257)) ([41a92c6](https://github.com/sunt-programator/CodeIT/commit/41a92c61661145cf2f1777a50bf7ee7a2a50cc60))
- **subtitle:** add subtitle for posts ([#171](https://github.com/sunt-programator/CodeIT/issues/171)) ([9a7189c](https://github.com/sunt-programator/CodeIT/commit/9a7189c2a3f52792dfa5bbd96aaa7c8626ed457c))
- **syntax:** add fraction syntax ([#181](https://github.com/sunt-programator/CodeIT/issues/181)) ([84d48f3](https://github.com/sunt-programator/CodeIT/commit/84d48f37dcf35e9f414445e1eed3489c674fe1af))
- **TOC:** add keepStatic param for TOC ([#372](https://github.com/sunt-programator/CodeIT/issues/372)) ([9dd5230](https://github.com/sunt-programator/CodeIT/commit/9dd5230204491e2ac61514ae22079ff0b6cd4ec9))
- **typeit:** add some config for TypeIt ([#314](https://github.com/sunt-programator/CodeIT/issues/314)) ([e4c71ed](https://github.com/sunt-programator/CodeIT/commit/e4c71edddf1b22fa2cff897fb5f8a833106fcc82))
- improve browser compatibility for TypeIt and object-fit ([#293](https://github.com/sunt-programator/CodeIT/issues/293)) ([3040ffa](https://github.com/sunt-programator/CodeIT/commit/3040ffa107eccd45416a5b9c5f3b85fdd50d94d8))
- **twemoji:** add support for twemoji ([#264](https://github.com/sunt-programator/CodeIT/issues/264)) ([b46c810](https://github.com/sunt-programator/CodeIT/commit/b46c81053f7a4307945b82bee6944af7e6e13d1c))
- **valine:** add more params for new valine ([#272](https://github.com/sunt-programator/CodeIT/issues/272)) ([12546ba](https://github.com/sunt-programator/CodeIT/commit/12546ba9bff2ca2648b63e43c93aa0d9c58b6eea))
- add detection of the theme version and Hugo version ([#173](https://github.com/sunt-programator/CodeIT/issues/173)) ([41c2d3a](https://github.com/sunt-programator/CodeIT/commit/41c2d3a38e77b5a0db8ff9d8d3f49730355f554c))
- **404:** update 404.html style ([17bbe91](https://github.com/sunt-programator/CodeIT/commit/17bbe91c6fb88f77d5c81dbd9647cf20f8bd5242))
- **aplayer:** add dark-mode for APlayer and fix Typeit bug ([c8e612b](https://github.com/sunt-programator/CodeIT/commit/c8e612b888cf3bb16ac4b6f7f1ea911f98a6afc3))
- **assets:** add SRI config for stylesheet and script ([924692a](https://github.com/sunt-programator/CodeIT/commit/924692a07efd5fc430cefb3a1a2e3561570b9d33))
- **author:** add author_link and fix highlight bug ([8aa4b6d](https://github.com/sunt-programator/CodeIT/commit/8aa4b6dce6da9601411c7caa07e6352c98ddc4f4))
- **checkbox:** change checkbox style ([495f7e6](https://github.com/sunt-programator/CodeIT/commit/495f7e651f49f0b3e3e4fa1bd0766b244748c18b))
- **comment:** add enable for disqus and gitalk ([86c6972](https://github.com/sunt-programator/CodeIT/commit/86c6972cf21a92f86b1e659939e5fd1559146e47))
- **comments:** improve comments and add valine config meta ([2417eff](https://github.com/sunt-programator/CodeIT/commit/2417effc05f4a561f6f6fe1e0f7c416920e2aad8))
- **config:** add config for default theme light/dark ([095089f](https://github.com/sunt-programator/CodeIT/commit/095089fb3f05fd37e401ce407daef87224a96e0d))
- **countdown:** add style para for countdown shortcode ([6736670](https://github.com/sunt-programator/CodeIT/commit/6736670d1030ef283d7874fa0df41004124114dc))
- **css:** add admonition css variable ([b91ca3d](https://github.com/sunt-programator/CodeIT/commit/b91ca3d61ac77d3bec257325682a82729e00890d))
- **css:** add local fork-awesome css ([4c452aa](https://github.com/sunt-programator/CodeIT/commit/4c452aae124b9ec50938de4d895e9df4c4ea6411))
- **custom-css:** new custom css ([517b734](https://github.com/sunt-programator/CodeIT/commit/517b73434797dfb67435faa82c841fdc6382dc80))
- **environment:** use hugo.Environment to judge the production environment ([285efc0](https://github.com/sunt-programator/CodeIT/commit/285efc01bbd6ff84f025b1acc5060233185e2f01))
- **exampleSite:** add some posts to exampleSite ([437ef95](https://github.com/sunt-programator/CodeIT/commit/437ef95e14ed568fd26fd45a950561b8588da024))
- **exampleSite:** merge en and zh exampleSite ([20c9c81](https://github.com/sunt-programator/CodeIT/commit/20c9c812d070a99d6749399cfe4fcf318b80e0cd))
- **highlight:** improve syntax style ([aa01ece](https://github.com/sunt-programator/CodeIT/commit/aa01ececa012af5a1ed76c0927c94c6a42f8708b))
- **home:** improve default behavior of hiddenFromHomePage ([a276661](https://github.com/sunt-programator/CodeIT/commit/a276661f0a154938b4d7885e97979780253891a5))
- **i18n:** add select-menu for i18n ([1d1cae6](https://github.com/sunt-programator/CodeIT/commit/1d1cae6382228025a5d42f9e7e24e2cbe6060998))
- **i18n:** add switchTheme i18n ([7e62363](https://github.com/sunt-programator/CodeIT/commit/7e6236361f790ec76a1d282021e6507a8378f40f))
- **image:** add image lightgallery ([72a2e9b](https://github.com/sunt-programator/CodeIT/commit/72a2e9bdcfee2daba6503cd473609d5ea34f2b30))
- **KaTeX:** add copy-tex and mhchem for KaTeX ([d605de7](https://github.com/sunt-programator/CodeIT/commit/d605de7f061a7e48f293cc986ec000b65ba2adaf))
- **layout:** add animation for title and some style changed ([b97cd8c](https://github.com/sunt-programator/CodeIT/commit/b97cd8cdbca87847c0cae25b6663d0038a023588))
- **lib:** update mermaid to v8.4.2, echarts to v4.5.0, typeit to v6.1.1(modern) ([d056fd4](https://github.com/sunt-programator/CodeIT/commit/d056fd46d773f06da37902c1bbfa1b4c21b0e947))
- **lib:** upgrade libs and fix exampleSite bugs ([e8ee57c](https://github.com/sunt-programator/CodeIT/commit/e8ee57c2959cc452ee5a474de1795fbf0172afe7))
- **menu:** add menu pre ([8cd7e8d](https://github.com/sunt-programator/CodeIT/commit/8cd7e8d6724dcc25bd3c8313374956da2bc19054))
- **mermaid:** improve mermaid style and render ([2578aba](https://github.com/sunt-programator/CodeIT/commit/2578aba9ca8c4f45cbc6d379b57bca49ab9b9ea8))
- **paginate:** add param home_paginate for home post pages and fix relURL bug ([473900d](https://github.com/sunt-programator/CodeIT/commit/473900da79727f8c0a92e7500872f2062a585121))
- **partial:** add hook and image partial ([8aba226](https://github.com/sunt-programator/CodeIT/commit/8aba2262906628f38f114a9947783bc6c7fd7495))
- **shortcodes:** replace [align]/[float] with [style] and add [style] ([f8a7fd1](https://github.com/sunt-programator/CodeIT/commit/f8a7fd1df98f3a8c1426044b7d627306b91e6e7a))
- **socal:** add support for custom MastodonPrefix ([715cb00](https://github.com/sunt-programator/CodeIT/commit/715cb005c964e58553c8b3624eb935c5ae30b3bf))
- **social:** add bilibili social config ([edc53d7](https://github.com/sunt-programator/CodeIT/commit/edc53d7cd18e4e6f1e60bc69636c1b1dd9f13535))
- **speed:** improve loading speed of static resource ([836fe16](https://github.com/sunt-programator/CodeIT/commit/836fe1612f63417e1e5c8a52b9e0e6dfb3afc4da))
- **style:** add some custom styles ([c7e389c](https://github.com/sunt-programator/CodeIT/commit/c7e389c25a6c5d083065960f46676525d7fd0a5e))
- **style:** improve style for header and image ([26727fd](https://github.com/sunt-programator/CodeIT/commit/26727fd1933b30e6cdf4fd403bdefaa03ec73800))
- **style:** update toc link color style ([f629b62](https://github.com/sunt-programator/CodeIT/commit/f629b6217bebdac23092e04e3202a5872a2718cb))
- **theme:** add detecting system dark mode to set site theme ([88273f4](https://github.com/sunt-programator/CodeIT/commit/88273f439aaa763592087ba5cce494525b665721))
- **toc:** add custom TOC font size ([1894403](https://github.com/sunt-programator/CodeIT/commit/18944037943fa11e96265c58fba62ec0bbec3d68))
- **toc:** support fontawesome and ruby in TOC ([c8fee17](https://github.com/sunt-programator/CodeIT/commit/c8fee1783a27c17454b8e7a6b08eb5de099a4dc4))
- **valine:** add valine dark theme ([b9c7510](https://github.com/sunt-programator/CodeIT/commit/b9c7510260db961760c9912dd321b733c0289f45))
- **zh:** exampleSite-zh fit new theme ([8cdacbd](https://github.com/sunt-programator/CodeIT/commit/8cdacbd4e2221605f389b562414fa8e1610b4c20))
- add bilibili diagram echarts and improve style ([6981f1e](https://github.com/sunt-programator/CodeIT/commit/6981f1e28534cbec26405f65d4e7c900c1be54ed))
- add en/zh README and exampleSite files ([af3161f](https://github.com/sunt-programator/CodeIT/commit/af3161fff6b8598aff7140f81e2c28c1bf746a61))
- add Katex ([95aeca1](https://github.com/sunt-programator/CodeIT/commit/95aeca1c41d1971fa8f43bdd1a09e64ea9c92673))
- add site and page parameter for math(KaTeX) ([3b279e7](https://github.com/sunt-programator/CodeIT/commit/3b279e79812dbd2dfe10a0868a7617f7a12e37e0))
- add social link for RSS and some configs ([#250](https://github.com/sunt-programator/CodeIT/issues/250)) ([07b669c](https://github.com/sunt-programator/CodeIT/commit/07b669c826f9250e6593e880f80c63bf70f5a746))
- add subtitle typeit ([5e55b25](https://github.com/sunt-programator/CodeIT/commit/5e55b25c8ad04c8aa1af12d87b7fa47147996602))
- add TypeIt and CountDown ([0b85b03](https://github.com/sunt-programator/CodeIT/commit/0b85b03f62737bbc0b519102ceed05c4a482d4af))
- CDN for public js lib ([cf4b33a](https://github.com/sunt-programator/CodeIT/commit/cf4b33aed398a89011ec46887a36265b37acc518))
- faster, support custom lib cdn and more standardized code style ([934c3a5](https://github.com/sunt-programator/CodeIT/commit/934c3a515615c8e6cd44b8d8f86358738cf1295c))
- fit new themefix: fix style bugfix: fix style bug ([f4cda2e](https://github.com/sunt-programator/CodeIT/commit/f4cda2e602998b5f6e63acd74506a26bbb1d5e60))
- fontawesome, admonition and faster ([2653f1b](https://github.com/sunt-programator/CodeIT/commit/2653f1bc7cf20162d901a8625a993c01a433f91a))
- impove i18n and clean code ([c67a2a8](https://github.com/sunt-programator/CodeIT/commit/c67a2a86a187923b87ad56ffe523b29079206656))
- improve configuration ([#245](https://github.com/sunt-programator/CodeIT/issues/245)) ([f14301c](https://github.com/sunt-programator/CodeIT/commit/f14301c395ffd63ef72625bf8bfe887fa211d013))
- KeepIt => LoveIt ([96029ea](https://github.com/sunt-programator/CodeIT/commit/96029eac3250779ffb8ff0febcafe209afe4762d))
- new index and style update ([ee7c754](https://github.com/sunt-programator/CodeIT/commit/ee7c7549b5f0ccf4392b4c1637a280855e725091))
- new mobile toc ([3d8efd6](https://github.com/sunt-programator/CodeIT/commit/3d8efd63193b02d5749bd3de69f6b2cf58244b9b))
- new style and faster ([9433736](https://github.com/sunt-programator/CodeIT/commit/9433736edec4e30d31780ca55ce58b433931c202))
- new style fix nav ([a46456e](https://github.com/sunt-programator/CodeIT/commit/a46456ef0ae2480bfd0b6de6aa86f874e6e5ac06))
- new style update ([dcbc754](https://github.com/sunt-programator/CodeIT/commit/dcbc7547fcf63c62beedb42cd302d9f4d12ec906))
- smarter typeit shortcode ([a6bf8d8](https://github.com/sunt-programator/CodeIT/commit/a6bf8d8eae97980084fd47fef7f5c22656f7efaa))
- tidy style and layout ([5cc4fdb](https://github.com/sunt-programator/CodeIT/commit/5cc4fdbe46442abe7a6949e821c1bd19370570bf))
- update style / exampleSite files and compatible with Hugo 0.58 ([69068c7](https://github.com/sunt-programator/CodeIT/commit/69068c7cfc6b347a8299ac64d9de6ff917b63ad1))
- update style and exampleSite files ([42d50ae](https://github.com/sunt-programator/CodeIT/commit/42d50ae53cd09f0863a6b29639b57af255c9e461))
### Bug Fixes
- **search:** search icons position error on Safari Mobile ([e4d9796](https://github.com/sunt-programator/CodeIT/commit/e4d9796e47a38efe7898fc71faf045c437e275b2))
- **theme:** changed repository name ([8a099d9](https://github.com/sunt-programator/CodeIT/commit/8a099d921a14e1e0ab25f4986930914d90af5e61)), closes [#61](https://github.com/sunt-programator/CodeIT/issues/61)
- fix script CORS error ([#246](https://github.com/sunt-programator/CodeIT/issues/246)) ([a0ab272](https://github.com/sunt-programator/CodeIT/commit/a0ab272f7d22d1ca4dc9a6ceb467a1f6d8dcd8ae))
- fixed the description attribute of the meta tag ([2ba1dc1](https://github.com/sunt-programator/CodeIT/commit/2ba1dc1778a6388b6c55fb5eefa20b19e1b4bb4e)), closes [#57](https://github.com/sunt-programator/CodeIT/issues/57)
- search index content htmlEscape ([2ccba79](https://github.com/sunt-programator/CodeIT/commit/2ccba79cba656a5a220e7323519173db2d38b9ed))
- **404:** 404 page select language error ([#391](https://github.com/sunt-programator/CodeIT/issues/391)) ([f631e3d](https://github.com/sunt-programator/CodeIT/commit/f631e3de049ef36692ee056e38735dc1afd71a22))
- **code:** inline code overflow-wrap ([#280](https://github.com/sunt-programator/CodeIT/issues/280)) ([072b962](https://github.com/sunt-programator/CodeIT/commit/072b9624cdc731062fd15ffb440ea9ee600899d7))
- **codeql:** fixed potentially unsafe external link vulnerabilities ([e1e63d8](https://github.com/sunt-programator/CodeIT/commit/e1e63d89a435d29d44c9f8f8541fc38510ac01b9)), closes [#20](https://github.com/sunt-programator/CodeIT/issues/20)
- **compatibility:** compatibility for version 0.1.X ([#351](https://github.com/sunt-programator/CodeIT/issues/351)) ([7c4962e](https://github.com/sunt-programator/CodeIT/commit/7c4962e39af0de5a47f0dbd0cb1f8d31b0486e99))
- **docs:** fix some docs bug ([3ac6019](https://github.com/sunt-programator/CodeIT/commit/3ac60192397012aade0bdcfb7e3a0bfa656fcf6d))
- **docs:** link errors ([87312d5](https://github.com/sunt-programator/CodeIT/commit/87312d5de2534c6f338d40b21662e7763dea4657))
- **docs:** links error ([1af17ef](https://github.com/sunt-programator/CodeIT/commit/1af17ef1a36d9c3689ae77e63388eb63a75f9d61))
- **featuredImage:** featuredImagePreview doesn't work by itself ([6aa05a7](https://github.com/sunt-programator/CodeIT/commit/6aa05a7f3e4ab75d4c7847d15a4af36375d1c4f0))
- **format:** string format error ([#366](https://github.com/sunt-programator/CodeIT/issues/366)) ([acef6c1](https://github.com/sunt-programator/CodeIT/commit/acef6c143ed743415c194808f3e471edbe72a307))
- **git:** build panic without git ([#271](https://github.com/sunt-programator/CodeIT/issues/271)) ([d5bc3be](https://github.com/sunt-programator/CodeIT/commit/d5bc3be19d252b136ce444941acdf8a94ceae86e))
- **gitalk:** gitalk config error ([9e3949c](https://github.com/sunt-programator/CodeIT/commit/9e3949cfdd2cd956bf73b606c5db9ad90c90991a))
- **header:** header style and search dropdown ([#282](https://github.com/sunt-programator/CodeIT/issues/282)) ([fa4c567](https://github.com/sunt-programator/CodeIT/commit/fa4c567ac4ec6956268a5f4200591ad99ca03f7f))
- **hugo:** compatibility for Hugo basic version ([#315](https://github.com/sunt-programator/CodeIT/issues/315)) ([4190c79](https://github.com/sunt-programator/CodeIT/commit/4190c794915084508ee96d4c661882ebb372225f))
- **menu:** hide divider when no menus ([#307](https://github.com/sunt-programator/CodeIT/issues/307)) ([417851b](https://github.com/sunt-programator/CodeIT/commit/417851b1cd11c40c5e7b398a4b844fd4e415a56b))
- **paginate:** paginate error for empty content ([#350](https://github.com/sunt-programator/CodeIT/issues/350)) ([7d0603e](https://github.com/sunt-programator/CodeIT/commit/7d0603ece0d0e16c24063e9b30fc753ff8ac389d))
- **path:** broken tag/category link when containing a dot ([#368](https://github.com/sunt-programator/CodeIT/issues/368)) ([e5ae1d6](https://github.com/sunt-programator/CodeIT/commit/e5ae1d696ba1a7327431e3c97b3cc30dbb6a9d94))
- **README.md:** fix link errors ([#319](https://github.com/sunt-programator/CodeIT/issues/319)) ([c7dc889](https://github.com/sunt-programator/CodeIT/commit/c7dc889de2fbb27ce24714d49731d4394affb35f))
- **README.md:** fix link errors ([#320](https://github.com/sunt-programator/CodeIT/issues/320)) ([d2adeab](https://github.com/sunt-programator/CodeIT/commit/d2adeabe5adf8b19188bbe046ce53a6371a2526a))
- **rss:** fix self atom:link. ([#363](https://github.com/sunt-programator/CodeIT/issues/363)) ([36f59a7](https://github.com/sunt-programator/CodeIT/commit/36f59a72ee4c186cc525b67da6813498f43a711c))
- **search:** theme.js error when search is disabled ([#310](https://github.com/sunt-programator/CodeIT/issues/310)) ([09a7c95](https://github.com/sunt-programator/CodeIT/commit/09a7c953627dc6543cf6a1fc189d5c7604efec12))
- **shortcode:** style shortcode scss file path ([#327](https://github.com/sunt-programator/CodeIT/issues/327)) ([f4c9fe7](https://github.com/sunt-programator/CodeIT/commit/f4c9fe750de9ad242d68906b728efa0fb4b2c407))
- **social:** social links blocked by uBlock Origin ([#354](https://github.com/sunt-programator/CodeIT/issues/354)) ([8d49150](https://github.com/sunt-programator/CodeIT/commit/8d491509e02ff1a4a50f1a1b70e79e94c48bb2f6))
- **style:** comments div padding ([04b9366](https://github.com/sunt-programator/CodeIT/commit/04b93662f756d16eeae72c67af906004cbf3e3c7))
- **style:** global link hover color ([#288](https://github.com/sunt-programator/CodeIT/issues/288)) ([473238f](https://github.com/sunt-programator/CodeIT/commit/473238f8ad2228a5c013d2275c738789e323420d))
- **style:** lightgallery icons color ([9e54504](https://github.com/sunt-programator/CodeIT/commit/9e54504360ddaba50fcfac8d538acca9edc0e806))
- **style:** link color and wrap style ([#283](https://github.com/sunt-programator/CodeIT/issues/283)) ([4f96582](https://github.com/sunt-programator/CodeIT/commit/4f9658243ec687ac9c75f0137075da7028f04914))
- **style:** remove Google Font ([#394](https://github.com/sunt-programator/CodeIT/issues/394)) ([cded714](https://github.com/sunt-programator/CodeIT/commit/cded7145acf8de90ea8a53c9e8bb1d09ffb44fb3))
- **style:** valine dark style, header title and figure margin ([#285](https://github.com/sunt-programator/CodeIT/issues/285)) ([ab81038](https://github.com/sunt-programator/CodeIT/commit/ab81038df606e9fd899f03319d83d9cd4eb863e9))
- **title:** terms title error and change delimiter from "|" to "-" ([#299](https://github.com/sunt-programator/CodeIT/issues/299)) ([5b689bf](https://github.com/sunt-programator/CodeIT/commit/5b689bf29b6a74f1f26eecfae5cdeecbf45ab96c))
- **TOC:** scrollbar bug when keepStatic is true ([#382](https://github.com/sunt-programator/CodeIT/issues/382)) ([0c1f7d0](https://github.com/sunt-programator/CodeIT/commit/0c1f7d0ef82636e0e699fa7799f4dd5497ed1322))
- **typeit:** typeit code highlight ([#284](https://github.com/sunt-programator/CodeIT/issues/284)) ([56026f9](https://github.com/sunt-programator/CodeIT/commit/56026f934dae59688e649a804e81136cd12c7242))
- **typeit:** typeit shortcode newline error ([#330](https://github.com/sunt-programator/CodeIT/issues/330)) ([df6761f](https://github.com/sunt-programator/CodeIT/commit/df6761f64904a4453c2b44cfacf47bfe479ed5be))
- img height error in code block ([#277](https://github.com/sunt-programator/CodeIT/issues/277)) ([752c1b3](https://github.com/sunt-programator/CodeIT/commit/752c1b37f3fc5f66035fed1cb04e24ccd34ae3aa))
- simpleicons title override link title error ([#270](https://github.com/sunt-programator/CodeIT/issues/270)) ([9003e18](https://github.com/sunt-programator/CodeIT/commit/9003e18adaa5619e5a4b4a78396ff89fbbaa17db))
- **comment:** fix visitors count for valine ([629e2e5](https://github.com/sunt-programator/CodeIT/commit/629e2e5fda8038cf2012af6b01fca2c77d51af95))
- **git:** git info in footer ([66b76b5](https://github.com/sunt-programator/CodeIT/commit/66b76b599b13ac4d4afbf085ed01a1f0e8a68cb0))
- **image:** some image style bug ([b1990d0](https://github.com/sunt-programator/CodeIT/commit/b1990d00c4a238a47df2c55a88322fc3f367715d))
- **SEO:** some bad escape sequence in JSON-LD part 2 ([#202](https://github.com/sunt-programator/CodeIT/issues/202)) ([919f559](https://github.com/sunt-programator/CodeIT/commit/919f559fd03a49c6371c99d7b1513dc9b51e3a17))
- some title case bugs for section page and list page ([#251](https://github.com/sunt-programator/CodeIT/issues/251)) ([d90a2d9](https://github.com/sunt-programator/CodeIT/commit/d90a2d9406aa883548b48bb6da8e828d2d8e4dad))
- wrong URL of JS and CSS files on baseURL ([#249](https://github.com/sunt-programator/CodeIT/issues/249)) ([f5fb31e](https://github.com/sunt-programator/CodeIT/commit/f5fb31ec43e59765feb0b214895d3cee1039d02a))
- **animation:** lost animation ([9004e37](https://github.com/sunt-programator/CodeIT/commit/9004e375fddacf4002e903c46806ba296f203484))
- **docs:** fix some docs bug ([d19a0c0](https://github.com/sunt-programator/CodeIT/commit/d19a0c06731b35ec02b4bb86580421baa853f463))
- **fontawesome:** keep spaces on both sides of the fontawesome i… ([#178](https://github.com/sunt-programator/CodeIT/issues/178)) ([f9dba2e](https://github.com/sunt-programator/CodeIT/commit/f9dba2e36caef0c80666e79ce109621fd96ec9e8))
- **header:** fix select label ([12eb084](https://github.com/sunt-programator/CodeIT/commit/12eb08427d9021ed6e63d85f66fbca41f07bad02))
- **i18n:** fix mobile i18n link error and zh -> zh-CN ([cedd6f1](https://github.com/sunt-programator/CodeIT/commit/cedd6f17a225753e1b568dfea7cfadf41b2b7fb7))
- **link:** fix tags/categories link bug ([a0f31c3](https://github.com/sunt-programator/CodeIT/commit/a0f31c35febbcb7a0501fc657e84d1e86121d24e))
- **list:** fix list title humanize bug ([fbf7a3c](https://github.com/sunt-programator/CodeIT/commit/fbf7a3caf1e4b83bead82ca927819f33e76bbfe9))
- **SEO:** some bad escape sequence in JSON-LD ([984e58e](https://github.com/sunt-programator/CodeIT/commit/984e58ec0fe7391939bfb912fe047224d4f3a4fe))
- **shortcode:** fix new BV id for bilibili shortcode ([#232](https://github.com/sunt-programator/CodeIT/issues/232)) ([c56f219](https://github.com/sunt-programator/CodeIT/commit/c56f219b3eabbc296691bf9d3a96e8b326aff386))
- **srcatch:** fix srcatch bugs ([ae81e37](https://github.com/sunt-programator/CodeIT/commit/ae81e3767e125cb84f7fb216ade3cd2d406727c5))
- **style:** auto width problem caused by too long tags or site t… ([#168](https://github.com/sunt-programator/CodeIT/issues/168)) ([e4f81f9](https://github.com/sunt-programator/CodeIT/commit/e4f81f9e7f06c82cf57a8ac1db99482593629c26))
- **style:** dark mode for mermaid and valine ([92fc2bf](https://github.com/sunt-programator/CodeIT/commit/92fc2bf74f84d9cee06bc8a8677216b6b37c4424))
- **style:** dark mode for valine ([371150c](https://github.com/sunt-programator/CodeIT/commit/371150ceefb07eb33ca3e00feb3a17a6b19a7165))
- **style:** fix title style ([a4878c3](https://github.com/sunt-programator/CodeIT/commit/a4878c3e63e40eaec6029e5eecdf1b49c7b0b6ac))
- **style:** gist shortcode dark mode style ([e4e005d](https://github.com/sunt-programator/CodeIT/commit/e4e005d6fdd518f096e948f2b12545be4b776063))
- **style:** social link style error ([#162](https://github.com/sunt-programator/CodeIT/issues/162)) ([bf7c4b5](https://github.com/sunt-programator/CodeIT/commit/bf7c4b5173c3baba02b87a410ce04909c1b86cf6))
- **style:** style conflict between 'strong' and 'a' tag ([#156](https://github.com/sunt-programator/CodeIT/issues/156)) ([ca0996a](https://github.com/sunt-programator/CodeIT/commit/ca0996ab119b2ee64a0a673d826c395759ce5363))
- **summary:** use description as summary when summary is empty ([850e8f3](https://github.com/sunt-programator/CodeIT/commit/850e8f380e09e15350a03c95d73a57230dafde38))
- **toc:** unwanted arrow of mobile TOC in Firefox ([#154](https://github.com/sunt-programator/CodeIT/issues/154)) ([fc10c46](https://github.com/sunt-programator/CodeIT/commit/fc10c46d37646cb5d1874ba598de02a933ca83af))
- **typeit:** fix a TypeIt header link style bug ([7f228d6](https://github.com/sunt-programator/CodeIT/commit/7f228d61343a37850082deaaee2a1ac3f0d5f061))
- checkbox checked status opposite ([6690387](https://github.com/sunt-programator/CodeIT/commit/669038758e59e422a46642e7684c1e32cef5fae6))
- **aplayer:** fix aplayer dark style ([eb1daf1](https://github.com/sunt-programator/CodeIT/commit/eb1daf1619abd723589aed01a44656e29bc4624b))
- **check:** fix some html check bugs ([4b3addf](https://github.com/sunt-programator/CodeIT/commit/4b3addf634eabaf8dffd75f4b808cba55dd42b19))
- **ci:** fix circleci config bug ([ef06c4e](https://github.com/sunt-programator/CodeIT/commit/ef06c4e23fb28d6d7059016d13af763787a735b8))
- **ci:** fix circleci config version bug ([ca16439](https://github.com/sunt-programator/CodeIT/commit/ca1643957efcf003e511b89a9ef4c3f29d45880b))
- **config:** fix config menu name ([b20fe1b](https://github.com/sunt-programator/CodeIT/commit/b20fe1bb4f89c64b3bb82b31dbc0448ec565cd37))
- **css:** fix css code style ([1404509](https://github.com/sunt-programator/CodeIT/commit/14045099f0f500a82030a008e92938d49a1b7454))
- **css:** fix css code style ([cd1a058](https://github.com/sunt-programator/CodeIT/commit/cd1a05876306ea88c40bba5040c381abff3a9ca0))
- **css:** fix some css bugs ([344f0a9](https://github.com/sunt-programator/CodeIT/commit/344f0a9f411a9b28d6e5732e591f26953d9c1263))
- **exampleSite:** fix zh exampleSite bug ([76145b8](https://github.com/sunt-programator/CodeIT/commit/76145b84736f8d2b1fc059ddf963504e099fc753))
- **fork_awesome:** fix incompatibility of Fork Awesome and Font Awesome ([a2543e6](https://github.com/sunt-programator/CodeIT/commit/a2543e673daeebc27134f5eeb29935041346c384))
- **header:** fix mobile header height ([730ce7a](https://github.com/sunt-programator/CodeIT/commit/730ce7a1cabd23ab6d80bf36d045bceb434f4665))
- **i18n:** fix Valine Comment System i18n bug ([69aa0cd](https://github.com/sunt-programator/CodeIT/commit/69aa0cd779203599a3db1cb05845e8a7b6c71357))
- **image:** fix image safeURL bug ([77d2dec](https://github.com/sunt-programator/CodeIT/commit/77d2decf86ba9e1d3d8d8dab4b6c30c53e573664))
- **img:** fix loading image size bug ([4ada41f](https://github.com/sunt-programator/CodeIT/commit/4ada41fe00729be72da76eeb1e385ac72057b800))
- **link:** fix long words and URLs style bug ([917cf4a](https://github.com/sunt-programator/CodeIT/commit/917cf4a42754372aa8b1a9b10d12d07be6307e94))
- **music:** fix music shortcode ([097473e](https://github.com/sunt-programator/CodeIT/commit/097473ef2ad2f2a7029d3bc9e606d54dccca2da9))
- **paginator:** fix Paginator render bug ([e4627fe](https://github.com/sunt-programator/CodeIT/commit/e4627fe297162acd1b3905ddc8a4d15ae82918ab))
- **scripts:** fix CDN not work bug ([a207005](https://github.com/sunt-programator/CodeIT/commit/a20700595d3c9aeba0d8265e25e720e67c9641c5))
- **scripts:** fix jsonify bug ([39f4869](https://github.com/sunt-programator/CodeIT/commit/39f4869260077b974c4d26b7b4ef055afb0405c4))
- **social:** fix social link bug ([#81](https://github.com/sunt-programator/CodeIT/issues/81)) ([02919a7](https://github.com/sunt-programator/CodeIT/commit/02919a7d4866b3f68722363277f250db7e5a7bdd))
- **style:** fix active header menu item ([f3eb6fc](https://github.com/sunt-programator/CodeIT/commit/f3eb6fc520eca161e832465c3230392e594a68d3))
- **style:** fix summary font-size and padding style ([46eb00f](https://github.com/sunt-programator/CodeIT/commit/46eb00f784e99e6c05d163f3181bd8b920129a06))
- **style:** fix summary height ([3b833da](https://github.com/sunt-programator/CodeIT/commit/3b833daa30497862f6f6a1af3807e5b611e660de))
- **template:** fix the with function rebinds context issue that result in TypeIt cdn configuration not work. ([4879878](https://github.com/sunt-programator/CodeIT/commit/4879878de72b5147bd148986f8f0f79b60de922a))
- **toc:** fix inaccurate headerLinkTop calculation that result in activeTocIndex drift. ([440051e](https://github.com/sunt-programator/CodeIT/commit/440051ec80adc561e6779876bdd21be63713a54d))
- **toc:** fix toc link bug ([a4116f1](https://github.com/sunt-programator/CodeIT/commit/a4116f14a76b9f01dacbde6abdf2d0dab719e577))
- **toc:** fix toc script bug ([3bdf10f](https://github.com/sunt-programator/CodeIT/commit/3bdf10ffeaf5f895ce59f1bfddad172630432ab8))
- **typeit:** fix duplicated typeit bug ([#82](https://github.com/sunt-programator/CodeIT/issues/82)) ([b13bbc3](https://github.com/sunt-programator/CodeIT/commit/b13bbc368cefee63acd1ea54c979f130cad8375a))
- CDN ([0e31808](https://github.com/sunt-programator/CodeIT/commit/0e3180871222d9bfc56891ed959088804d32f283))
- CDN ([e38ad3c](https://github.com/sunt-programator/CodeIT/commit/e38ad3c80b8d93cdf136c330e6f1d9acf18a385e))
- custom css ([a4562eb](https://github.com/sunt-programator/CodeIT/commit/a4562eb83946a730bceb09c69c37ec1cebd972f8))
- fix baseURL bug ([4e58826](https://github.com/sunt-programator/CodeIT/commit/4e5882699b2364c6fa644ea382e84efb64ea8e96))
- fix css and js cros bug ([c8bb077](https://github.com/sunt-programator/CodeIT/commit/c8bb0770e9bca9d75771d8c397b744448c4e9647))
- fix css bug ([4ce4029](https://github.com/sunt-programator/CodeIT/commit/4ce4029715667700d569cb3f0769beba36041225))
- fix css bug ([76e7475](https://github.com/sunt-programator/CodeIT/commit/76e7475a877c03d44b14c044f479da7622b1efba))
- fix css bug ([9c796e0](https://github.com/sunt-programator/CodeIT/commit/9c796e081842906cb673233fb13912a3aea371eb))
- fix css bug ([8261719](https://github.com/sunt-programator/CodeIT/commit/8261719a6fd0c12bdb8079433f2fbd75745755aa))
- fix disqus feature and format ([1e709b5](https://github.com/sunt-programator/CodeIT/commit/1e709b5ba48256988de2140ffb2a84ca956b5887))
- fix i18n bug ([ca6d543](https://github.com/sunt-programator/CodeIT/commit/ca6d54387869403aede9db44bc316fd0b06375d9))
- fix icon css bug ([45c9281](https://github.com/sunt-programator/CodeIT/commit/45c9281131665719b9246b27056f5563c0489a76))
- fix iPad TOC orientation css bug ([f1ec275](https://github.com/sunt-programator/CodeIT/commit/f1ec275c9fba02bc50418f523b0849ad441cb3da))
- fix iPad TOC orientation css bug ([99d52da](https://github.com/sunt-programator/CodeIT/commit/99d52daf6926a133dc1be7813dd343a59b7c1671))
- fix iPad TOC orientation css bug ([87857b2](https://github.com/sunt-programator/CodeIT/commit/87857b200224c42ae28577000013786035b91e87))
- fix path bug ([7644bc2](https://github.com/sunt-programator/CodeIT/commit/7644bc25c7360ab6749fbe4deb9a71e3ddc7d78f))
- fix resource ([7639927](https://github.com/sunt-programator/CodeIT/commit/7639927bd515a5175e6a6ccb3fe49c410dea0f10))
- fix screen-splash bug under dark theme and orientationchange bug ([0788330](https://github.com/sunt-programator/CodeIT/commit/07883308192c47f432c04eac4ad54ea05e6a8e85))
- fix seo bug ([280ec37](https://github.com/sunt-programator/CodeIT/commit/280ec376f46a3e16e57cc7b4372b3c3d58ec1843))
- fix style bug ([bf7d694](https://github.com/sunt-programator/CodeIT/commit/bf7d69415163bd36659b5a34674265c7c2acfe58))
- fix style bug ([41a885e](https://github.com/sunt-programator/CodeIT/commit/41a885eba0bd1f0b4a30abb09e1bcd7836d48b9a))
- fix tag bug ([7218a98](https://github.com/sunt-programator/CodeIT/commit/7218a986187d5d2859483b2066a5a27e7fd5af63))
- fix tag bug ([30c3195](https://github.com/sunt-programator/CodeIT/commit/30c31959ed17fb698a73806d083892f701101e29))
- fix toc css bug ([a7f9fd4](https://github.com/sunt-programator/CodeIT/commit/a7f9fd49a0d6894df9d456452def635507ef2ce0))
- fix toc css bug ([9d2e810](https://github.com/sunt-programator/CodeIT/commit/9d2e810b440995d21faefc0ce48aabc7944a729e))
- fix toc css bug ([4f2ff40](https://github.com/sunt-programator/CodeIT/commit/4f2ff40ef9133dd008d51247243f543d2e2859ae))
- fix toc css bug ([36a9b75](https://github.com/sunt-programator/CodeIT/commit/36a9b75468e79b9c4dd9247beff67b4f7790265f))
- fix toc css bug ([1dc227f](https://github.com/sunt-programator/CodeIT/commit/1dc227f304f6534981c258bfd406926993b6f3d8))
- fix toc id bug ([d7d27e0](https://github.com/sunt-programator/CodeIT/commit/d7d27e0afb1fb19e8f1cd51890ba62cd43132d4e))
- fix valine bug ([00b6b7f](https://github.com/sunt-programator/CodeIT/commit/00b6b7f6ce5a8ce3c441afea5834e761d9fab458))
- mobile nav backgroud and new style ([6d0116b](https://github.com/sunt-programator/CodeIT/commit/6d0116b88354a9f3ea341b0c858cc45377eeba56))
- mobile-toc target offset ([f64c499](https://github.com/sunt-programator/CodeIT/commit/f64c499957764866a383819d9ec58cd80bed3fd9))
- rm a hover underline ([9e08c96](https://github.com/sunt-programator/CodeIT/commit/9e08c96b1080c6bbdcd160dc3349623dc534428e))
- rm extra js ([f1918f5](https://github.com/sunt-programator/CodeIT/commit/f1918f59bd17557297b953e66b40f88a88bbbe7a))
- smarter typeit shortcode ([a8bb44d](https://github.com/sunt-programator/CodeIT/commit/a8bb44da3a70c4ef8fa916ed26b22e43232f272e))
- smarter typeit shortcode ([0882180](https://github.com/sunt-programator/CodeIT/commit/0882180daacc179a2967522b319e9cfef11dede7))
- smarter typeit shortcode ([c0237f3](https://github.com/sunt-programator/CodeIT/commit/c0237f380544914f87eb487027bb8f1d733d0f4a))
### CI/CD configuration changes
- added deployment script ([654081c](https://github.com/sunt-programator/CodeIT/commit/654081c0859ef01944ed2938b1d893fab3324501)), closes [#28](https://github.com/sunt-programator/CodeIT/issues/28)
- added deployment script ([50c5484](https://github.com/sunt-programator/CodeIT/commit/50c5484ec9559801ce80cd9cf78745ed5f87797b)), closes [#28](https://github.com/sunt-programator/CodeIT/issues/28)
- added deployment script ([0371b6c](https://github.com/sunt-programator/CodeIT/commit/0371b6c534f578bdb57959e5a3510e286e9f4fa4)), closes [#28](https://github.com/sunt-programator/CodeIT/issues/28)
- added pull request checks ([ce40892](https://github.com/sunt-programator/CodeIT/commit/ce4089205e6fc1e05728e468f1220c676c80ece3)), closes [#33](https://github.com/sunt-programator/CodeIT/issues/33)
- added release creation scripts ([4ae07fb](https://github.com/sunt-programator/CodeIT/commit/4ae07fbab3b0bea126b5e311491374598494aead)), closes [#30](https://github.com/sunt-programator/CodeIT/issues/30)
- updated deployment script ([b91edc7](https://github.com/sunt-programator/CodeIT/commit/b91edc788a96851c660cc0fb72186b70ecfc77b0))
### Build changes
- **circleci:** removed circleci deployment file ([c17ff8c](https://github.com/sunt-programator/CodeIT/commit/c17ff8cd7daed4a3e7dd666fb4fb079612719916))
- **devcontainer:** changed zsh configs ([6985224](https://github.com/sunt-programator/CodeIT/commit/6985224dc83e40c9040b4f1380ea23cdb9c6e679))
- **husky:** moved the configs in the package.json file ([3805089](https://github.com/sunt-programator/CodeIT/commit/38050891f354feb30c7f34c2ae030fb4f6bc5144))
- **husky:** removed prepare-commit-msg hook ([11820f7](https://github.com/sunt-programator/CodeIT/commit/11820f7c65e867bd8e05afd7484ffcd6badf8595))
- **npm:** added all-contributors-cli package ([1d5134e](https://github.com/sunt-programator/CodeIT/commit/1d5134eec44392a849fbf1c9b77bf69bbdf7f0aa)), closes [#41](https://github.com/sunt-programator/CodeIT/issues/41)
- **npm:** changed configs ([39911c5](https://github.com/sunt-programator/CodeIT/commit/39911c53d94b175cb2a4f3c6659e00074bf5eaef)), closes [#6](https://github.com/sunt-programator/CodeIT/issues/6)
- **standard-version:** added configs ([e60d698](https://github.com/sunt-programator/CodeIT/commit/e60d6980beab4fc46efbce44b73e8e563a9d681a)), closes [#34](https://github.com/sunt-programator/CodeIT/issues/34)
- **standard-version:** added package ([3e0065a](https://github.com/sunt-programator/CodeIT/commit/3e0065a83e5c6a95a2df412782ac9068d85261fe)), closes [#34](https://github.com/sunt-programator/CodeIT/issues/34)
- **standard-version:** added posttag script ([961dc59](https://github.com/sunt-programator/CodeIT/commit/961dc59a209af659629d3bcc34633a7a8267b901)), closes [#34](https://github.com/sunt-programator/CodeIT/issues/34)
- **standard-version:** removed posttag script ([7632574](https://github.com/sunt-programator/CodeIT/commit/7632574695316e24ae5c75ecb1d035315cb9dd3e))
### Other changes
- **archetype:** rename show_description to description_as_summary ([d8854c7](https://github.com/sunt-programator/CodeIT/commit/d8854c7e4784fc924a4995923f200782a192ae8e))
- **devcontainer:** added VS Code extensions ([d0fe529](https://github.com/sunt-programator/CodeIT/commit/d0fe52933418cb1224d37e5387fd44c710f8bf7a))
- added linters ([0c809a2](https://github.com/sunt-programator/CodeIT/commit/0c809a2c6bc71259408a52faac2e23b8da538421)), closes [#43](https://github.com/sunt-programator/CodeIT/issues/43)
- **readme:** changed build documentation instructions ([6303d10](https://github.com/sunt-programator/CodeIT/commit/6303d10baf7f8167eaa40e539b5381daf689164f)), closes [#32](https://github.com/sunt-programator/CodeIT/issues/32)
- **release:** 0.0.1 ([3ae5254](https://github.com/sunt-programator/CodeIT/commit/3ae5254263ffb8d97f4d8a98df284d85a4e9dc38))
- added deployment status badge ([b2e6d8f](https://github.com/sunt-programator/CodeIT/commit/b2e6d8fa8dba19c533befae30ef857f908d78cc5))
- added issue template ([7baacdb](https://github.com/sunt-programator/CodeIT/commit/7baacdb6476baf0449941bed29eb27c5b3c98cc8)), closes [#31](https://github.com/sunt-programator/CodeIT/issues/31)
- added license ([6655d76](https://github.com/sunt-programator/CodeIT/commit/6655d763a949ad81350ec1a433a8969d6583c226))
- changed issue templates ([359f34a](https://github.com/sunt-programator/CodeIT/commit/359f34ad49f6624a067da7936d9ad1225c683836))
- changed readme file ([7260492](https://github.com/sunt-programator/CodeIT/commit/72604923ec4a8978b0f91f973b33594a882daae2))
- changed theme name in files ([61a49bb](https://github.com/sunt-programator/CodeIT/commit/61a49bb7d5b01389cc8ac4ffdf334ac3b9944b0f)), closes [#23](https://github.com/sunt-programator/CodeIT/issues/23)
- changed theme name in files ([ca63529](https://github.com/sunt-programator/CodeIT/commit/ca6352959462dd9ce73be2ca71cc7c9f53d14063)), closes [#23](https://github.com/sunt-programator/CodeIT/issues/23)
- cleaned comments in files ([f2770f2](https://github.com/sunt-programator/CodeIT/commit/f2770f2aae8e55428c29ece3214c1d59511382e0)), closes [#24](https://github.com/sunt-programator/CodeIT/issues/24)
- create config file for dependabot ([cf7d03d](https://github.com/sunt-programator/CodeIT/commit/cf7d03d18abfa73154a5e8644463a9ab0312a71c))
- fixed theme icon ([bdf8484](https://github.com/sunt-programator/CodeIT/commit/bdf848419b9900698c79c602ea4f39ed32201239))
- refactor some code ([8f53c99](https://github.com/sunt-programator/CodeIT/commit/8f53c999e524d6b4e5ff912c83c7be0ca9d36e62))
- update exampleSite config ([09e3b45](https://github.com/sunt-programator/CodeIT/commit/09e3b45f3698febcdd4b31ba91cde3c88f46bb4a))
- update packages ([c120204](https://github.com/sunt-programator/CodeIT/commit/c1202048c335b09d569d83d1579075bafa0ef81e))
- update project related information ([5bc843c](https://github.com/sunt-programator/CodeIT/commit/5bc843ca85fc58c510208b2403e7ce4cbf9ab79a))
- update scripts ([f62ccbf](https://github.com/sunt-programator/CodeIT/commit/f62ccbf6b5b8fee8f6eed402a9e68bcfd88e3542))
- update theme.js init ([4e3e54b](https://github.com/sunt-programator/CodeIT/commit/4e3e54bb2ad50f7aed6b8e398a7ee8381fe39d82))
- update version to v0.2.10 ([94b8e6b](https://github.com/sunt-programator/CodeIT/commit/94b8e6bf692804a596611df794f6738599790434))
- updated bug issue template ([9747fc0](https://github.com/sunt-programator/CodeIT/commit/9747fc082fbf75467dd23d30830c5f4f07d60662))
- updated feature issue template ([b90f036](https://github.com/sunt-programator/CodeIT/commit/b90f03625e36304f128a90c714d193931b713815))
- updated the deployment script name ([ac8be1d](https://github.com/sunt-programator/CodeIT/commit/ac8be1d9520d50837d50fcfc3a2eec73f17d3ff7))
- **ci:** add circleci config ([6be6295](https://github.com/sunt-programator/CodeIT/commit/6be6295031010b3bf25a597a8092987a313985ac))
- **ci:** hugo-loveit-en -> hugo-loveit ([5ccaec4](https://github.com/sunt-programator/CodeIT/commit/5ccaec40851626eac22d5aa62b3606bac69ba965))
- **ci:** update ci ([311570c](https://github.com/sunt-programator/CodeIT/commit/311570c80bc1f229b712a96d0c5097f542507af7))
- **codeql:** removed go language ([13f5eb6](https://github.com/sunt-programator/CodeIT/commit/13f5eb6de8ba3e970f6c9e908c618f1d678b0534))
- **comment:** add Valine config for exampleSite ([d94c5f1](https://github.com/sunt-programator/CodeIT/commit/d94c5f12588929be266b180c11d0f3bc35e4634a))
- **config:** update config name ([dd78d80](https://github.com/sunt-programator/CodeIT/commit/dd78d80fefed13cd0ab50563b6b40ca057811e3e))
- **config:** update exampleSite config ([8ef1edd](https://github.com/sunt-programator/CodeIT/commit/8ef1edd479b446b6e273d9361f5d16ef8d94172c))
- **deps:** remove jQuery ([2f8123b](https://github.com/sunt-programator/CodeIT/commit/2f8123bfa60411634af3b3bedb55aaa49de153f6))
- **deps-dev:** bump minimist from 1.2.0 to 1.2.2 ([#152](https://github.com/sunt-programator/CodeIT/issues/152)) ([ca13e7d](https://github.com/sunt-programator/CodeIT/commit/ca13e7d1b43a1082ba10480f783589b2ba3deaa0))
- **deps-dev:** bump minimist from 1.2.2 to 1.2.3 ([#216](https://github.com/sunt-programator/CodeIT/issues/216)) ([be0f0a6](https://github.com/sunt-programator/CodeIT/commit/be0f0a62115f2e1c31d9a0a71066e03d01c865a2))
- **doc:** add English "Theme Documentation - Basics" ([54a9920](https://github.com/sunt-programator/CodeIT/commit/54a99205d7f95f955fd0d5c26f7fe62b3756d833))
- **docs:** add images for config and front matter ([591f395](https://github.com/sunt-programator/CodeIT/commit/591f39588a87017a312aa0b6cfc134441f99cd90))
- **docs:** compress images in docs ([8a2bb03](https://github.com/sunt-programator/CodeIT/commit/8a2bb03e5f3ca114ab03b8535f1b5993297678ba))
- **docs:** update docs ([74a10e0](https://github.com/sunt-programator/CodeIT/commit/74a10e03508f931ec62162af26a197931ac79aa1))
- **docs:** update docs ([f3acc60](https://github.com/sunt-programator/CodeIT/commit/f3acc6066b324beec2dd3aafa2852b0f55a56d1e))
- **docs:** update docs ([49272df](https://github.com/sunt-programator/CodeIT/commit/49272df8e5462b89469e1068c087fd3d246ba6f5))
- **docs:** update docs ([f6f7d91](https://github.com/sunt-programator/CodeIT/commit/f6f7d91127c30c21156c972115506c8bd848ba41))
- **docs:** update docs ([#281](https://github.com/sunt-programator/CodeIT/issues/281)) ([7affd65](https://github.com/sunt-programator/CodeIT/commit/7affd65bba8440cb9fb716d39abefe06a3de6bf4))
- **docs:** update docs ([#287](https://github.com/sunt-programator/CodeIT/issues/287)) ([980b5d3](https://github.com/sunt-programator/CodeIT/commit/980b5d3d1f0dd36002238b2bfba885905e519fa1))
- **docs:** update docs and valine emoji style ([6e1e86e](https://github.com/sunt-programator/CodeIT/commit/6e1e86eade37ce299937d24a93398e516af0ef34))
- **docs:** update docs for i18n ([13b051b](https://github.com/sunt-programator/CodeIT/commit/13b051b5859157f61dd60f694f12fbe48ddbefb9))
- **docs:** update emoji docs ([9bb56fd](https://github.com/sunt-programator/CodeIT/commit/9bb56fd87f6a525565e51657ab110d544991be2f))
- **docs:** update shortcodes docs ([a0d222a](https://github.com/sunt-programator/CodeIT/commit/a0d222a1cea2138c8f233455cb3982a4530692d2))
- **docs:** update theme documentation basic ([413b73d](https://github.com/sunt-programator/CodeIT/commit/413b73df92d6e47c94050306b15ba7e08d17b765))
- **docs:** update theme preview ([#160](https://github.com/sunt-programator/CodeIT/issues/160)) ([7dbe1f8](https://github.com/sunt-programator/CodeIT/commit/7dbe1f83a24d27adab18dbc19d473e343bb201ad))
- **docs:** update zh-cn docs ([2ab3d97](https://github.com/sunt-programator/CodeIT/commit/2ab3d976c0d4d65bde7a951168f919030e2d4369))
- **forkawesome:** update forkawesome css ([933e32c](https://github.com/sunt-programator/CodeIT/commit/933e32c4e4bee463283e5691439f36ac05d8c1f1))
- **github:** add issue templates ([#276](https://github.com/sunt-programator/CodeIT/issues/276)) ([e71b373](https://github.com/sunt-programator/CodeIT/commit/e71b373f6d5dd2a6d6830ca69ba53599dcfccce3))
- **header:** remove all dummy-targets and update smooth scroll ([6968866](https://github.com/sunt-programator/CodeIT/commit/69688661f4f469b0c63790709037e78cf668b786))
- **hook:** add babel pre-commit hook ([d87af71](https://github.com/sunt-programator/CodeIT/commit/d87af711761d0ea8b2fc173407b45299e3314138))
- **i18n:** fix i18n files ([cbfc965](https://github.com/sunt-programator/CodeIT/commit/cbfc965c107301e12480023e08bc9c85ec8c479d))
- **i18n:** update Polish and docs ([#234](https://github.com/sunt-programator/CodeIT/issues/234)) ([6112b51](https://github.com/sunt-programator/CodeIT/commit/6112b510bfc0d6b0638d45c7541aac4c9ae5d9d2))
- **icon:** update line icon ([212e26c](https://github.com/sunt-programator/CodeIT/commit/212e26c553c45d96519ba2752aa3660559a74111))
- **js:** update typeit.js to v6.5.1 ([d25cbf6](https://github.com/sunt-programator/CodeIT/commit/d25cbf6cb68f8288cd96a254c320fccad63b1155))
- **lang:** removed fr and zh-cn languages ([cddfe7f](https://github.com/sunt-programator/CodeIT/commit/cddfe7f544f32052569aa9c82c554c81728ad90d))
- **lib:** refactor libs and update Font Awesome 5.11.2 -> 5.12.1 ([ef88651](https://github.com/sunt-programator/CodeIT/commit/ef88651fe4faaa4e94683c822646a6b98667fe1b))
- **lib:** remove ls.native-loading ([0dc5feb](https://github.com/sunt-programator/CodeIT/commit/0dc5feb7f39043a8ba00bcad683f3907cad0bf96))
- **lib:** update gitalk 1.6.0 -> 1.6.2 ([5d377ee](https://github.com/sunt-programator/CodeIT/commit/5d377ee74603214dadfb51ece3df0bda212eb524))
- **lib:** update libraries ([96cf051](https://github.com/sunt-programator/CodeIT/commit/96cf051546c4058e7330cba7a1301014bc499ad2))
- **lib:** update mapbox-gl and valine ([854e9e3](https://github.com/sunt-programator/CodeIT/commit/854e9e3d37f503c27ea117d0b898d589dfb7a988))
- **lib:** update mermaid 8.4.2 -> 8.4.8 echarts 4.5.0 -> 4.6.0 gitalk 1.5.0 -> 1.6.0 ([7e56922](https://github.com/sunt-programator/CodeIT/commit/7e56922f82a165759ba0ed852cdb4479f30bd233))
- **lib:** update simple-icons and twemoji ([84b0989](https://github.com/sunt-programator/CodeIT/commit/84b098909b2814f7246b17d2eacbc661c16c263c))
- **libs:** update libs ([#256](https://github.com/sunt-programator/CodeIT/issues/256)) ([7ab1c10](https://github.com/sunt-programator/CodeIT/commit/7ab1c1063912eca9e3202446959f1526055ce5c9))
- **netlify:** update netlify 404 redirects ([ea655d9](https://github.com/sunt-programator/CodeIT/commit/ea655d9871c0aa2f9859dd268bec8e45091abe0d))
- **partials:** refactor partials ([4e6fe22](https://github.com/sunt-programator/CodeIT/commit/4e6fe224cc1934aa0459b2d888f243463bb998f7))
- **readme:** added codeql badge ([e388cfe](https://github.com/sunt-programator/CodeIT/commit/e388cfe040d079060506d35021079f6e06f073b5))
- **readme:** update readme ([4aac6b9](https://github.com/sunt-programator/CodeIT/commit/4aac6b98a55115e472f836a47ceac1975808342a))
- **resources:** update resources ([7f2df7a](https://github.com/sunt-programator/CodeIT/commit/7f2df7a58f46f3a1faaefcc1c7fd02888b6f0d32))
- **shortcode:** make style shortcode toCSS outputStyle compressed ([c673353](https://github.com/sunt-programator/CodeIT/commit/c6733538dc9bbd97c227fcb6eee08650cacb666f))
- **style:** improve lightgallery style code ([286bf70](https://github.com/sunt-programator/CodeIT/commit/286bf7003cf5c9486e19011a51441f95758069ba))
- **version:** update version to 0.2.1 ([d24df51](https://github.com/sunt-programator/CodeIT/commit/d24df519506d8efd6a64fe3d2c1582750536bd1e))
- format code ([c16db32](https://github.com/sunt-programator/CodeIT/commit/c16db324fa0574c21cc7aa2a790437bd491d39a4))
- refactor code style ([12bd1e1](https://github.com/sunt-programator/CodeIT/commit/12bd1e1935584ab2fd77d47332e75931f0d71ed9))
- refactor scripts code style ([1088f86](https://github.com/sunt-programator/CodeIT/commit/1088f86b6da35a5d70fc6d9df831655648591fbf))
- update docs and style ([#269](https://github.com/sunt-programator/CodeIT/issues/269)) ([6805d69](https://github.com/sunt-programator/CodeIT/commit/6805d695f6ee1ba6b774a9ae518b85c8030bfa08))
- **style:** update code style ([2a7611b](https://github.com/sunt-programator/CodeIT/commit/2a7611b5aec71c5b42984be947934d4c074a092e))
- **style:** update css code style ([41a14bc](https://github.com/sunt-programator/CodeIT/commit/41a14bc2dc69adb16303952b0570f7f170ccb63a))
- add more README and resoures folder ([7aa65e7](https://github.com/sunt-programator/CodeIT/commit/7aa65e7414ff53be92561e62cf4e9c4b5c05f612))
- change resoures folder ([a53482e](https://github.com/sunt-programator/CodeIT/commit/a53482e26b73a6809c0d0d5b859d69a98e60a3b4))
- refactor css code style ([73b1250](https://github.com/sunt-programator/CodeIT/commit/73b1250cbf79a231c3ce82e20675578c3b9e29d7))
- rename ([6d188f2](https://github.com/sunt-programator/CodeIT/commit/6d188f2944d10e9ae140263bb72353878b9064c4))
- update i18n ([71fcef1](https://github.com/sunt-programator/CodeIT/commit/71fcef1c6c3d3e0c0128fbfb945727287ef0e7e8))
- **style:** update code style and add an i18n word ([52c7ad2](https://github.com/sunt-programator/CodeIT/commit/52c7ad29a60cc4ee6c51217d11bb4877ef0cf88a))
### Documentation changes
- added brief history of this theme ([41a2b25](https://github.com/sunt-programator/CodeIT/commit/41a2b257da4b12bd3fffb205f7d04386ec07f29c)), closes [#46](https://github.com/sunt-programator/CodeIT/issues/46)
- **readme:** removed zh-cn language ([3bbeb51](https://github.com/sunt-programator/CodeIT/commit/3bbeb513507cb95ed780edc423cb489287e9c2a4))
- add [@anup92k](https://github.com/anup92k) as a contributor ([631d091](https://github.com/sunt-programator/CodeIT/commit/631d091e31624e11c530d1a6e47c91fc7fe0f431))
- add [@astropenguin](https://github.com/astropenguin) as a contributor ([984c187](https://github.com/sunt-programator/CodeIT/commit/984c18763c0fae39267377a88f77fb714b761359))
- add [@cmpsoares91](https://github.com/cmpsoares91) as a contributor ([c1fa00f](https://github.com/sunt-programator/CodeIT/commit/c1fa00fafe4bbd769d54d9157a8cd805701a9a19))
- add [@codedge](https://github.com/codedge) as a contributor ([fc4e940](https://github.com/sunt-programator/CodeIT/commit/fc4e940b5699cb8414112ba5a51624b2deb401dc))
- add [@derelartwork](https://github.com/derelartwork) as a contributor ([b68d3d3](https://github.com/sunt-programator/CodeIT/commit/b68d3d3c2a99aacbf86a65a531287b12516aeede))
- add [@devandreacarratta](https://github.com/devandreacarratta) as a contributor ([498dea3](https://github.com/sunt-programator/CodeIT/commit/498dea33b5d2e102ca057f162e9c66dd6f106eb4))
- add [@dillonzq](https://github.com/dillonzq) as a contributor ([bf14a85](https://github.com/sunt-programator/CodeIT/commit/bf14a85c5ae9249fabd94e80bdce945f437faa35))
- add [@edte](https://github.com/edte) as a contributor ([2b9885e](https://github.com/sunt-programator/CodeIT/commit/2b9885e96fe105279b8094691199f612aab29a26))
- add [@markdluethje](https://github.com/markdluethje) as a contributor ([9005ca2](https://github.com/sunt-programator/CodeIT/commit/9005ca298cf0cc5a098affe6119a38d7f47a14d9))
- add [@maxlefou](https://github.com/maxlefou) as a contributor ([cc00adf](https://github.com/sunt-programator/CodeIT/commit/cc00adf77d9680ed4888f04c1adb33918082f5b9))
- add [@nirgn975](https://github.com/nirgn975) as a contributor ([e96bb12](https://github.com/sunt-programator/CodeIT/commit/e96bb1252ee79b95a3640df7ccdd766e3b2016c4))
- add [@onisuly](https://github.com/onisuly) as a contributor ([c7205ce](https://github.com/sunt-programator/CodeIT/commit/c7205ce5f4b30b3e73d09d9499e6616942b6c1b6))
- add [@quyleanh](https://github.com/quyleanh) as a contributor ([1343e89](https://github.com/sunt-programator/CodeIT/commit/1343e89627679d5ac0b8cb4c60edb8fb4cbdabbf))
- add [@ramrodo](https://github.com/ramrodo) as a contributor ([4c23b65](https://github.com/sunt-programator/CodeIT/commit/4c23b65075f533d3625bc886bd29d88cbaf42766))
- add [@realsangil](https://github.com/realsangil) as a contributor ([1c79289](https://github.com/sunt-programator/CodeIT/commit/1c79289e5a45503d759784fa7a11391e6359ce73))
- add [@sarathsp06](https://github.com/sarathsp06) as a contributor ([335e5d7](https://github.com/sunt-programator/CodeIT/commit/335e5d7ad2c12f49c4ce372d54fafa1063756f9f))
- add [@solarpowerinncr](https://github.com/solarpowerinncr) as a contributor ([2adac6a](https://github.com/sunt-programator/CodeIT/commit/2adac6a95c4758b8de340a2477145dd6c1707ef5))
- add [@thejayhaykid](https://github.com/thejayhaykid) as a contributor ([07c7543](https://github.com/sunt-programator/CodeIT/commit/07c75433e8283c734000da1fedd5bd44897a0095))
- add [@tlereste](https://github.com/tlereste) as a contributor ([031afe0](https://github.com/sunt-programator/CodeIT/commit/031afe0f63e0690911ada06037d0be0b6465ff2a))
- add [@tomaja-linuxo](https://github.com/tomaja-linuxo) as a contributor ([3d1e7df](https://github.com/sunt-programator/CodeIT/commit/3d1e7dfb76f85e856fb133273f9b16255e486ec9))
- add [@vanildosouto](https://github.com/vanildosouto) as a contributor ([f1ae522](https://github.com/sunt-programator/CodeIT/commit/f1ae52275a28a2fa1b98127201afb24989ed9b9b))
- add [@victor-pogor](https://github.com/victor-pogor) as a contributor ([af588e2](https://github.com/sunt-programator/CodeIT/commit/af588e2c3ad4f04918ad9448e48a40046adccfc6))
- add [@wtchangdm](https://github.com/wtchangdm) as a contributor ([9c64ab0](https://github.com/sunt-programator/CodeIT/commit/9c64ab0f1b855102afdd1663439ee8463b7ebcd7))
- add [@yoloyi](https://github.com/yoloyi) as a contributor ([69bee3f](https://github.com/sunt-programator/CodeIT/commit/69bee3ff68c3ef451a9c23a7e71f352ec5a212d4))
- add [@youngxhui](https://github.com/youngxhui) as a contributor ([2516121](https://github.com/sunt-programator/CodeIT/commit/2516121f4f74d8c4bc1385790a4f93af559a1965))
- add [@ziobron](https://github.com/ziobron) as a contributor ([80d14b8](https://github.com/sunt-programator/CodeIT/commit/80d14b8e681a395fd66a2ec83094e8e8ff64b72b))
- add @AutomationD as a contributor ([50b16dd](https://github.com/sunt-programator/CodeIT/commit/50b16dd9b90c2daf9ba64667379d8233d8c3d005))
- add @DaveA-W as a contributor ([2800a93](https://github.com/sunt-programator/CodeIT/commit/2800a9339aafbc3c7e66cc5772df246ffb25ba52))
- add @Fastbyte01 as a contributor ([f81e8ec](https://github.com/sunt-programator/CodeIT/commit/f81e8ec83889f294b4856a08b6ace0f8cbc6fe0c))
- add @Fedomn as a contributor ([093d1b7](https://github.com/sunt-programator/CodeIT/commit/093d1b73ddf2d92646c3ebdf0a535b855391e025))
- add @Ghosin as a contributor ([fef8ddf](https://github.com/sunt-programator/CodeIT/commit/fef8ddfb1d5c6b5039dc218ff586c4004908f028))
- add @Programazing as a contributor ([bba6993](https://github.com/sunt-programator/CodeIT/commit/bba6993fb986158127f7dc9ff9c6d6e7c9019650))
- add @SilkeHenderickx as a contributor ([2d2587b](https://github.com/sunt-programator/CodeIT/commit/2d2587ba674bd7aef1d563b3b6ca51999bbcade6))
- fix echarts shortcodes error ([d42f15b](https://github.com/sunt-programator/CodeIT/commit/d42f15b058d3af8e02fbd2f312a4907dda662440))
- improve version used for docs ([#188](https://github.com/sunt-programator/CodeIT/issues/188)) ([a9850f7](https://github.com/sunt-programator/CodeIT/commit/a9850f7df3184f4f0cbb7e2415377e1705b9671d))
- removed old documentation changes ([1c82984](https://github.com/sunt-programator/CodeIT/commit/1c829848cdde85e09bf26ad9e139f0a0cf7f1aff))
- rm useless spaces ([c592156](https://github.com/sunt-programator/CodeIT/commit/c592156be79a55654b16bbb42da82643af6a7cb0))
- update [@victor-pogor](https://github.com/victor-pogor) as a contributor ([2f1ada3](https://github.com/sunt-programator/CodeIT/commit/2f1ada3496270834d55429fe1bb3ad8e5b3eb986))
- update theme preview and translation ([#262](https://github.com/sunt-programator/CodeIT/issues/262)) ([19c7da3](https://github.com/sunt-programator/CodeIT/commit/19c7da333dc7244aca79dd5d70d3359fbf0da7f5))
- update theme preview image and fix some docs error ([#151](https://github.com/sunt-programator/CodeIT/issues/151)) ([61d76c5](https://github.com/sunt-programator/CodeIT/commit/61d76c54b4a2b603eb1f8bf854cb176e74babe99))
- **badge:** update badge ([1fbbc9a](https://github.com/sunt-programator/CodeIT/commit/1fbbc9a74aee5b9d6271739939a411dabcf685ee))
- update zh-CN docs and fix some bugs ([fb9a9e7](https://github.com/sunt-programator/CodeIT/commit/fb9a9e73243a61f66a57ac94588497390f8955c9))
- webp -> jpg ([8c5f4c0](https://github.com/sunt-programator/CodeIT/commit/8c5f4c0136f9c581d04d4ae256914618679dec03))
## 0.0.1 (2020-11-25)
### Features
- added devcontainer ([214f454](https://github.com/mokkapps/changelog-generator-demo/commits/214f454677db2c8047aa43eeaca43271a9fc07b5))
### Bug Fixes
- **codeql:** fixed potentially unsafe external link vulnerabilities ([3e1d0f3](https://github.com/mokkapps/changelog-generator-demo/commits/3e1d0f3f443876dd9ffbf7c5d60fbb078f9f0b7b)), closes [#20](https://github.com/sunt-programator/CodeIT/issues/20)
### Other changes
- **readme:** changed build documentation instructions ([6893033](https://github.com/mokkapps/changelog-generator-demo/commits/6893033b1a6dfc5232cbdd4d4015872568b3868e)), closes [#32](https://github.com/sunt-programator/CodeIT/issues/32)
- added deployment status badge ([035f4c9](https://github.com/mokkapps/changelog-generator-demo/commits/035f4c9424333f1163e5261dd22b711f81c97451))
- added issue template ([e653cdc](https://github.com/mokkapps/changelog-generator-demo/commits/e653cdc3ba38cb3948f7fe6e7a28d159207450d1)), closes [#31](https://github.com/sunt-programator/CodeIT/issues/31)
- added license ([1031e2c](https://github.com/mokkapps/changelog-generator-demo/commits/1031e2c9917f49bb6a03289ca41ffc7ded2d0cbb))
- changed issue templates ([b95b727](https://github.com/mokkapps/changelog-generator-demo/commits/b95b727a82e2fa77c76d4214d7e4457a2851d427))
- changed readme file ([5434a4d](https://github.com/mokkapps/changelog-generator-demo/commits/5434a4da88e770f78576ff7c4e3b16d41a2e62a1))
- changed theme name in files ([c1bd293](https://github.com/mokkapps/changelog-generator-demo/commits/c1bd29304d0b38cf47ab04b38e96d2610d426931)), closes [#23](https://github.com/sunt-programator/CodeIT/issues/23)
- changed theme name in files ([c673765](https://github.com/mokkapps/changelog-generator-demo/commits/c67376577bfb20b630b18e91bfe1838fa325c5b8)), closes [#23](https://github.com/sunt-programator/CodeIT/issues/23)
- cleaned comments in files ([46ce494](https://github.com/mokkapps/changelog-generator-demo/commits/46ce4942623f4c08028818239a4b13edd96e43a1)), closes [#24](https://github.com/sunt-programator/CodeIT/issues/24)
- create config file for dependabot ([79e845d](https://github.com/mokkapps/changelog-generator-demo/commits/79e845d9fd51bfac8bea241d003bbe9ca5d128ce))
- fixed theme icon ([0bd96ce](https://github.com/mokkapps/changelog-generator-demo/commits/0bd96ceb62686647187bafe5baaf681810530409))
- fixed theme icon ([ed956af](https://github.com/mokkapps/changelog-generator-demo/commits/ed956afb981030eea17db13c56dd099fbcf54e3c))
- update packages ([e00ebd2](https://github.com/mokkapps/changelog-generator-demo/commits/e00ebd20caae13fb591c9235df0c26b4f473da13))
- updated bug issue template ([caf826d](https://github.com/mokkapps/changelog-generator-demo/commits/caf826d81e3014cd0641bf5eddaf566c97c24701))
- updated feature issue template ([076f1c4](https://github.com/mokkapps/changelog-generator-demo/commits/076f1c4bfbddba3faf49e31f09712feb6dc927fd))
- updated the deployment script name ([c41103c](https://github.com/mokkapps/changelog-generator-demo/commits/c41103cfed82bc13fd3dbe2e6f3d727e9bddacab))
- **codeql:** removed go language ([4d67402](https://github.com/mokkapps/changelog-generator-demo/commits/4d674020c3f6c6d5522dd4c9182a7928e9b8987c))
- **lang:** removed fr and zh-cn languages ([5d9c7de](https://github.com/mokkapps/changelog-generator-demo/commits/5d9c7de488f0dd040131c145b7d9a2ad08aae8e0))
- **readme:** added codeql badge ([934b17b](https://github.com/mokkapps/changelog-generator-demo/commits/934b17bd922f503a5f17a6d5a99bc981a171e24e))
### CI/CD configuration changes
- added deployment script ([705026d](https://github.com/mokkapps/changelog-generator-demo/commits/705026d013805aa7f7768736867bb859d64f65d4)), closes [#28](https://github.com/sunt-programator/CodeIT/issues/28)
- added deployment script ([00a25b9](https://github.com/mokkapps/changelog-generator-demo/commits/00a25b9ff2b31006bb4aff02f5fac87ca1f7a03f)), closes [#28](https://github.com/sunt-programator/CodeIT/issues/28)
- added deployment script ([8753d1c](https://github.com/mokkapps/changelog-generator-demo/commits/8753d1c12bf0776a88c664135b99d655918d1c9e)), closes [#28](https://github.com/sunt-programator/CodeIT/issues/28)
- added deployment script ([b0a84fa](https://github.com/mokkapps/changelog-generator-demo/commits/b0a84faa5aa59c1c9d5a98885d3754318dc29a72)), closes [#28](https://github.com/sunt-programator/CodeIT/issues/28)
- added deployment script ([6d3eb4f](https://github.com/mokkapps/changelog-generator-demo/commits/6d3eb4f6e7347be8518d4e9aeb6f1d2d182e8875)), closes [#28](https://github.com/sunt-programator/CodeIT/issues/28)
- added pull request checks ([29f919e](https://github.com/mokkapps/changelog-generator-demo/commits/29f919e3b55499be66f75edd51d6dd5bf8b0eaad)), closes [#33](https://github.com/sunt-programator/CodeIT/issues/33)
- added release creation scripts ([ce6fb60](https://github.com/mokkapps/changelog-generator-demo/commits/ce6fb60cbb3114b7e3bd3a3b0cd8d9fad71d895b)), closes [#30](https://github.com/sunt-programator/CodeIT/issues/30)
- updated deployment script ([f266f5d](https://github.com/mokkapps/changelog-generator-demo/commits/f266f5d94d52abd2f489177590465c3a96a5a2eb))
### Build changes
- **circleci:** removed circleci deployment file ([17fb375](https://github.com/mokkapps/changelog-generator-demo/commits/17fb375841f5fa523544adcaf2cab64564f7bbb1))
- **devcontainer:** changed zsh configs ([b132d45](https://github.com/mokkapps/changelog-generator-demo/commits/b132d45b629752e478a46d977e721c387988e049))
- **husky:** moved the configs in the package.json file ([ff44b8c](https://github.com/mokkapps/changelog-generator-demo/commits/ff44b8c477f693414697f3533df985add3c5bfe9))
- **husky:** removed prepare-commit-msg hook ([adaa2d8](https://github.com/mokkapps/changelog-generator-demo/commits/adaa2d868ea9b1ee297a6e687d34cd8c06c9f1d2))
- **npm:** changed configs ([1054277](https://github.com/mokkapps/changelog-generator-demo/commits/1054277d6b07f75be6973ff980dad27ca812689d)), closes [#6](https://github.com/sunt-programator/CodeIT/issues/6)
- **standard-version:** added configs ([5660036](https://github.com/mokkapps/changelog-generator-demo/commits/56600367ca931a7a33f6b4bc0112a2117c9598b9)), closes [#34](https://github.com/sunt-programator/CodeIT/issues/34)
- **standard-version:** added package ([0392198](https://github.com/mokkapps/changelog-generator-demo/commits/03921984f1216f460232854b42116854d701ae9a)), closes [#34](https://github.com/sunt-programator/CodeIT/issues/34)
- **standard-version:** added posttag script ([2c78c48](https://github.com/mokkapps/changelog-generator-demo/commits/2c78c483a3310045bee2c2912eb747eb342a1cbf)), closes [#34](https://github.com/sunt-programator/CodeIT/issues/34)
- **standard-version:** removed posttag script ([b6254af](https://github.com/mokkapps/changelog-generator-demo/commits/b6254af64b0aa54ba5ae52444027f50d67a14035))

22
themes/CodeIT/LICENSE Normal file
View file

@ -0,0 +1,22 @@
The MIT License (MIT)
Copyright (c) 2018 LIUZHICHAO.COM
Copyright (c) 2019 DILLONZQ.COM
Copyright (c) 2020 Sunt Programator!
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

278
themes/CodeIT/README.md Normal file
View file

@ -0,0 +1,278 @@
# CodeIT Theme | Hugo
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/sunt-programator/CodeIT)](https://github.com/sunt-programator/CodeIT/releases)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.78.1-blue)](https://gohugo.io/)
[![License](https://img.shields.io/github/license/sunt-programator/CodeIT)](https://github.com/sunt-programator/CodeIT/blob/master/LICENSE)
[![CodeQL](https://github.com/sunt-programator/CodeIT/workflows/CodeQL/badge.svg)](https://github.com/sunt-programator/CodeIT/actions?query=workflow%3ACodeQL)
[![Deploy status](https://github.com/sunt-programator/CodeIT/workflows/Deploy%20status/badge.svg)](https://github.com/sunt-programator/CodeIT/actions?query=workflow%3A%22Deploy+status%22)
![Github All Contributors](https://img.shields.io/github/all-contributors/sunt-programator/CodeIT)
> **CodeIT** is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/).
It is based on the original [LoveIt Theme](https://github.com/dillonzq/LoveIt), [LeaveIt Theme](https://github.com/liuzc/LeaveIt), and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt).
Since the three themes have a similar look, if you have questions about their differences,
read [Why to choose CodeIT](#why-choose-CodeIT) so that you can choose the one that works best for you.
![Hugo Theme CodeIT](https://github.com/sunt-programator/CodeIT/raw/master/images/Apple-Devices-Preview.png)
## Brief history
This theme is based on the original [LoveIt](https://github.com/dillonzq/LoveIt) theme. The original theme was loved by many users, but since May 2020 it has not been maintained.
We tried to contact the theme [owner](https://github.com/dillonzq), but without success. The contributors have opened an [issue](https://github.com/dillonzq/LoveIt/issues/514) and asked if the theme is still supported, but we also did not receive any response.
So we decided to create and maintain the theme with a new name, keeping the original style, but continuously improving it. Feel free to contribute to this theme 😊.
## [Demo Site](https://codeit.suntprogramator.dev/)
To see this theme in action, here is a live [demo site](https://codeit.suntprogramator.dev/) that is rendered with the **CodeIT** theme.
## Why choose CodeIT
Compared to the original LeaveIt theme and the KeepIt theme, the CodeIT theme has the following modifications.
- Custom **Header**
- Custom **CSS Style**
- A new **home page**, compatible with the latest version of Hugo
- A lot of **style detail adjustments,** including color, font size, margins, code preview style
- More readable **dark mode**
- Some beautiful **CSS animations**
- Easy-to-use and self-expanding **table of contents**
- More **social links**, **share sites**, and **comment system**
- **Search** supported by [Lunr.js](https://lunrjs.com/) or [Algolia](https://www.algolia.com/)
- **Copy code** to the clipboard with one click
- Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons**
- Extended Markdown syntax for **ruby annotation**
- Extended Markdown syntax for **fractions**
- **Mathematical formula** supported by [KaTeX](https://katex.org/)
- **Diagram syntax** shortcode supported by [mermaids](https://github.com/knsv/mermaid)
- **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/)
- **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
- Embedded **music player** supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS)
- **Bilibili** player supported
- Kinds of **admonitions** shortcode supported
- Custom style shortcodes supported
- **CDN** for all third-party libraries supported
- ...
In short,
if you prefer the design language and freedom of the CodeIT theme,
if you want to use the extended Font Awesome icons conveniently,
if you want to embed mathematical formulas, flowcharts, music, or Bilibili videos in your posts,
the CodeIT theme may be more suitable for you.
I hope you will CodeIT 👩‍💻!
## Features
### Performance and SEO
- Optimized for **performance**: 99/100 on mobile and 100/100 on the desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights)
- Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD
- **[Google Analytics](https://analytics.google.com/analytics)** supported
- **[Fathom Analytics](https://usefathom.com/)** supported
- **[Plausible Analytics](https://plausible.io/)** supported
- Search engine **verification** supported (Google, Bind, Yandex, and Baidu)
- **CDN** for third-party libraries supported
- Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes)
### Appearance and Layout
- **Responsive** layout
- **Light/Dark** mode
- Globally consistent **design language**
- **Pagination** supported
- Easy-to-use and self-expanding **table of contents**
- **Multilanguage** supported and i18n ready
- Beautiful **CSS animation**
### Social and Comment Systems
- **Gravatar** supported by [Gravatar](https://gravatar.com)
- Local **Avatar** supported
- Up to **64** social links supported
- Up to **28** share sites supported
- **Disqus** comment system supported by [Disqus](https://disqus.com)
- **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
- **Valine** comment system supported by [Valine](https://valine.js.org/)
- **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
- **Telegram comments** system supported by [Telegram Comments](https://comments.app/)
- **Commento** comment system supported by [Commento](https://commento.io/)
- **Utterances** comment system supported by [Utterances](https://utteranc.es/)
### Extended Features
- **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/)
- **Twemoji** supported
- Automatically **highlighting** code
- **Copy code** to the clipboard with one click
- **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js)
- Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons**
- Extended Markdown syntax for **ruby annotation**
- Extended Markdown syntax for **fractions**
- **Mathematical formula** supported by [KaTeX](https://katex.org/)
- **Diagrams** shortcode supported by [mermaids](https://github.com/knsv/mermaid)
- **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/)
- **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
- **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS)
- **Bilibili player** shortcode
- Kinds of **admonitions** shortcode
- **Custom style** shortcode
- **Custom script** shortcode
- **Animated typing** supported by [TypeIt](https://typeitjs.com/)
- **Dynamic scroll** supported by [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll)
- **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent)
- ...
## Add the theme to your blog
First, download the theme from GitHub and add it to your sites themes directory:
```bash
cd your-hugo-blog-directory
git init
git submodule add https://github.com/sunt-programator/CodeIT.git themes/CodeIT
```
_Note for non-git users:_
If you do not have git installed, you can download the archive of the latest version of this theme from the [release page](https://github.com/sunt-programator/CodeIT/releases) of this repository.
Extract the `.zip` file to get a `CodeIT-latest` directory.
Rename that directory to `CodeIT`, and move it into the `themes/` directory.
Then, add the theme to the site configuration:
```bash
echo 'theme = "CodeIT"' >> config.toml
```
## [Build documentation instructions](https://codeit.suntprogramator.dev/categories/documentation/)
You can build the theme documentation locally by using a [devcontainer](https://code.visualstudio.com/docs/remote/containers) or by manually install the [`Hugo`](https://gohugo.io/getting-started/installing).
The main advantage of the `devcontainer` is that you will have a preconfigured container with all tools required for developing and building the theme documentation.
```bash
hugo server --source=exampleSite
```
## Multilingual and i18n
CodeIT supports the following languages:
- English
- Simplified Chinese
- French
- Polish
- Brazilian Portuguese
- Italian
- Spanish
- German
- Serbian
- Russian
- Romanian
- Vietnamese
- [Contribute with a new language](https://github.com/sunt-programator/CodeIT/pulls)
[Languages Compatibility](https://codeit.suntprogramator.dev/theme-documentation-basics/#language-compatibility)
## Questions, ideas, bugs, pull requests
All feedback is welcome! Head over to the [issue tracker](https://github.com/sunt-programator/CodeIT/issues).
## License
CodeIT is licensed under the **MIT** license. Check the [LICENSE file](https://github.com/sunt-programator/CodeIT/blob/master/LICENSE) for details.
Thanks to the authors of the following resources included in the theme:
- [normalize.css](https://github.com/necolas/normalize.css)
- [Font Awesome](https://fontawesome.com/)
- [Simple Icons](https://github.com/simple-icons/simple-icons)
- [Animate.css](https://daneden.github.io/animate.css/)
- [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll)
- [autocomplete.js](https://github.com/algolia/autocomplete.js)
- [Lunr.js](https://lunrjs.com/)
- [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript)
- [lazysizes](https://github.com/aFarkas/lazysizes)
- [object-fit-images](https://github.com/fregante/object-fit-images)
- [Twemoji](https://github.com/twitter/twemoji)
- [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js)
- [clipboard.js](https://github.com/zenorocha/clipboard.js)
- [Sharer.js](https://github.com/ellisonleao/sharer.js)
- [TypeIt](https://typeitjs.com/)
- [KaTeX](https://katex.org/)
- [mermaid](https://github.com/knsv/mermaid)
- [ECharts](https://echarts.apache.org/)
- [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
- [APlayer](https://github.com/MoePlayer/APlayer)
- [MetingJS](https://github.com/metowolf/MetingJS)
- [Gitalk](https://github.com/gitalk/gitalk)
- [Valine](https://valine.js.org/)
- [cookieconsent](https://github.com/osano/cookieconsent)
## Sponsor
If you enjoy the theme, please consider buying me a coffee ☕️.
- [PayPal](https://paypal.me/victorpogor)
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://suntprogramator.dev/"><img src="https://avatars1.githubusercontent.com/u/24962085?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Victor Pogor</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=victor-pogor" title="Code">💻</a> <a href="https://github.com/sunt-programator/CodeIT/issues?q=author%3Avictor-pogor" title="Bug reports">🐛</a> <a href="#projectManagement-victor-pogor" title="Project Management">📆</a></td>
<td align="center"><a href="https://github.com/dillonzq"><img src="https://avatars1.githubusercontent.com/u/30786232?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dillon</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=dillonzq" title="Code">💻</a> <a href="https://github.com/sunt-programator/CodeIT/issues?q=author%3Adillonzq" title="Bug reports">🐛</a> <a href="#projectManagement-dillonzq" title="Project Management">📆</a></td>
<td align="center"><a href="https://giuseppepignataro.eu/"><img src="https://avatars0.githubusercontent.com/u/16869546?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Giuseppe Pignataro</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=Fastbyte01" title="Code">💻</a> <a href="https://github.com/sunt-programator/CodeIT/issues?q=author%3AFastbyte01" title="Bug reports">🐛</a> <a href="#projectManagement-Fastbyte01" title="Project Management">📆</a></td>
<td align="center"><a href="http://www.thatamazingprogrammer.com/"><img src="https://avatars0.githubusercontent.com/u/11393826?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Christopher C. Johnson</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=Programazing" title="Code">💻</a></td>
<td align="center"><a href="https://astropengu.in/"><img src="https://avatars2.githubusercontent.com/u/13254278?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Akio Taniguchi</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=astropenguin" title="Code">💻</a></td>
<td align="center"><a href="https://www.holo.co.de/"><img src="https://avatars0.githubusercontent.com/u/6415842?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dave A-W</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=DaveA-W" title="Code">💻</a></td>
<td align="center"><a href="https://blog.realsangil.net/"><img src="https://avatars1.githubusercontent.com/u/15508203?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sangil Park</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=realsangil" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://youngxhui.top/"><img src="https://avatars2.githubusercontent.com/u/16971804?v=4?s=100" width="100px;" alt=""/><br /><sub><b>youngxhui</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=youngxhui" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/solarpowerinncr"><img src="https://avatars0.githubusercontent.com/u/37186560?v=4?s=100" width="100px;" alt=""/><br /><sub><b>solarpowerinncr</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=solarpowerinncr" title="Code">💻</a></td>
<td align="center"><a href="https://gitlab.com/maxlefou"><img src="https://avatars1.githubusercontent.com/u/6705075?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Max le Fou</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=maxlefou" title="Code">💻</a></td>
<td align="center"><a href="https://edte.github.io/"><img src="https://avatars1.githubusercontent.com/u/50194671?v=4?s=100" width="100px;" alt=""/><br /><sub><b>edte</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=edte" title="Code">💻</a></td>
<td align="center"><a href="https://frankma.netlify.app/"><img src="https://avatars3.githubusercontent.com/u/6177727?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Fedomn</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=Fedomn" title="Code">💻</a></td>
<td align="center"><a href="https://coders.school/"><img src="https://avatars0.githubusercontent.com/u/4595135?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Łukasz Ziobroń</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=ziobron" title="Code">💻</a></td>
<td align="center"><a href="https://blog.yoloyi.com/"><img src="https://avatars1.githubusercontent.com/u/40978171?v=4?s=100" width="100px;" alt=""/><br /><sub><b>余农场主</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=yoloyi" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://blog.wtcx.dev/"><img src="https://avatars3.githubusercontent.com/u/1546333?v=4?s=100" width="100px;" alt=""/><br /><sub><b>W.T. Chang</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=wtchangdm" title="Code">💻</a></td>
<td align="center"><a href="http://blog.toneladas.com.br/"><img src="https://avatars1.githubusercontent.com/u/1603028?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vanildo Souto Mangueira</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=vanildosouto" title="Code">💻</a></td>
<td align="center"><a href="https://linuxo.org/"><img src="https://avatars2.githubusercontent.com/u/37209662?v=4?s=100" width="100px;" alt=""/><br /><sub><b>tomaja</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=tomaja-linuxo" title="Code">💻</a></td>
<td align="center"><a href="https://thibault-lereste.fr/"><img src="https://avatars2.githubusercontent.com/u/12964583?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Thibault Le Reste</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=tlereste" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/thejayhaykid"><img src="https://avatars0.githubusercontent.com/u/9452325?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jake Hayes</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=thejayhaykid" title="Code">💻</a></td>
<td align="center"><a href="https://sarathsp.com/"><img src="https://avatars0.githubusercontent.com/u/964542?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sarath Sadasivan Pillai</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=sarathsp06" title="Code">💻</a></td>
<td align="center"><a href="https://rodomar.mx/"><img src="https://avatars2.githubusercontent.com/u/2797052?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rodolfo Martínez Vega</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=ramrodo" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/quyleanh"><img src="https://avatars1.githubusercontent.com/u/9365035?v=4?s=100" width="100px;" alt=""/><br /><sub><b>quyleanh</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=quyleanh" title="Code">💻</a></td>
<td align="center"><a href="http://www.onisuly.com/"><img src="https://avatars1.githubusercontent.com/u/8399827?v=4?s=100" width="100px;" alt=""/><br /><sub><b>onisuly</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=onisuly" title="Code">💻</a></td>
<td align="center"><a href="https://nir.galon.io/"><img src="https://avatars3.githubusercontent.com/u/3472902?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nir Galon</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=nirgn975" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/markdluethje"><img src="https://avatars2.githubusercontent.com/u/31922494?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mark-Daniel Lüthje</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=markdluethje" title="Code">💻</a></td>
<td align="center"><a href="https://devandreacarratta.it/"><img src="https://avatars3.githubusercontent.com/u/46504271?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andrea Carratta</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=devandreacarratta" title="Code">💻</a></td>
<td align="center"><a href="https://dogukanerel.com/"><img src="https://avatars3.githubusercontent.com/u/19349444?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Doğukan Erel</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=derelartwork" title="Code">💻</a></td>
<td align="center"><a href="https://www.codedge.de/"><img src="https://avatars3.githubusercontent.com/u/4409904?v=4?s=100" width="100px;" alt=""/><br /><sub><b>codedge</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=codedge" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="http://www.cmpsoares.com/"><img src="https://avatars2.githubusercontent.com/u/4914211?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Carlos Manuel Soares</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=cmpsoares91" title="Code">💻</a></td>
<td align="center"><a href="https://www.scrample.xyz/"><img src="https://avatars3.githubusercontent.com/u/51033013?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Anup</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=anup92k" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/SilkeHenderickx"><img src="https://avatars0.githubusercontent.com/u/28140438?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Silke Henderickx</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=SilkeHenderickx" title="Code">💻</a></td>
<td align="center"><a href="https://ghos.in/"><img src="https://avatars1.githubusercontent.com/u/26043355?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ghosin</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=Ghosin" title="Code">💻</a></td>
<td align="center"><a href="https://automationd.com/"><img src="https://avatars2.githubusercontent.com/u/1790594?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dmitry Kireev</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=AutomationD" title="Code">💻</a></td>
</tr>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

View file

@ -0,0 +1,28 @@
---
title: "{{ replace .TranslationBaseName "-" " " | title }}"
subtitle: ""
date: {{ .Date }}
lastmod: {{ .Date }}
draft: true
author: ""
authorLink: ""
description: ""
tags: []
categories: []
hiddenFromHomePage: false
hiddenFromSearch: false
featuredImage: ""
featuredImagePreview: ""
toc:
enable: true
math:
enable: false
lightgallery: false
license: ""
---
<!--more-->

View file

@ -0,0 +1,55 @@
html {
font-family: $global-font-family;
font-weight: $global-font-weight;
font-display: swap;
font-size: $global-font-size;
line-height: $global-line-height;
width: 100%;
}
/* scrollbar, only support webkit */
::-webkit-scrollbar {
width: 0.5rem;
height: 0.5rem;
}
::-webkit-scrollbar-thumb {
background-color: $scrollbar-color;
&:hover {
background-color: $scrollbar-hover-color;
}
}
::selection {
background-color: $selection-color;
[theme="dark"] & {
background-color: $selection-color-dark;
}
}
body {
background-color: $global-background-color;
color: $global-font-color;
@include overflow-wrap(break-word);
scrollbar-color: auto;
&[theme="dark"] {
color: $global-font-color-dark;
background-color: $global-background-color-dark;
}
}
@include ms;
@include link(true, true);
@import "../_partial/mask";
@import "../_partial/icon";
@import "../_partial/details";
@import "../_partial/fixed-button";
@import "../_partial/cookieconsent";
img {
@include object-fit(contain);
}

View file

@ -0,0 +1,15 @@
/** Layout **/
.wrapper {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
main {
flex: 1 0 auto;
.container {
padding: 0 1rem;
}
}
}

View file

@ -0,0 +1,80 @@
@media only screen and (max-width: 1440px) {
.page {
width: 56%;
}
}
@media only screen and (max-width: 1200px) {
.page {
width: 52%;
}
#header-desktop .header-wrapper {
padding-right: 1rem;
}
.search-dropdown.desktop {
right: 1rem;
}
}
@media only screen and (max-width: 960px) {
#toc-auto {
display: none;
}
#toc-static {
display: block;
}
.page {
width: 80%;
}
#header-desktop .header-wrapper {
padding-left: 1rem;
}
}
@media only screen and (max-width: 680px) {
#header-desktop {
display: none;
}
#header-mobile {
display: block;
}
body.blur {
overflow: hidden;
}
.page {
width: 100%;
[header-mobile] & {
padding-top: $header-height;
}
[header-mobile="normal"] & {
padding-top: 0;
}
.categories-card {
.card-item {
width: 100%;
}
}
}
.copyright {
.copyright-line {
.icp-splitter {
display: none;
}
.icp-br {
display: block;
}
}
}
}

View file

@ -0,0 +1,4 @@
// ==============================
// Custom style
// 自定义样式
// ==============================

View file

@ -0,0 +1,5 @@
@mixin blur {
.blur & {
@include filter(blur(1.5px));
}
}

View file

@ -0,0 +1,110 @@
@mixin border-radius($value) {
-webkit-border-radius: $value;
-moz-border-radius: $value;
border-radius: $value;
}
@mixin box-shadow($values...) {
-webkit-box-shadow: $values;
box-shadow: $values;
}
@mixin transition($values...) {
-webkit-transition: $values;
-moz-transition: $values;
-o-transition: $values;
transition: $values;
}
@mixin transform($value) {
-webkit-transform: $value;
-moz-transform: $value;
-ms-transform: $value;
-o-transform: $value;
transform: $value;
}
@mixin filter($value) {
-webkit-filter: $value;
-moz-filter: $value;
-ms-filter: $value;
filter: $value;
}
@mixin flex($value) {
-webkit-flex: $value;
flex: $value;
}
@mixin box($orient) {
display: -moz-box;
display: -webkit-box;
display: box;
-webkit-box-orient: $orient;
-moz-box-orient: $orient;
box-orient: $orient;
}
@mixin placeholder($color) {
input::-webkit-input-placeholder {
color: $color;
}
input:-moz-placeholder {
color: $color;
}
input::-moz-placeholder {
color: $color;
}
input:-ms-input-placeholder {
color: $color;
}
input::placeholder {
color: $color;
}
}
@mixin max-content($property) {
#{$property}: -webkit-max-content;
#{$property}: -moz-max-content;
#{$property}: intrinsic;
#{$property}: max-content;
}
@mixin tab-size($value) {
-moz-tab-size: $value;
-o-tab-size: $value;
tab-size: $value;
}
@mixin appearance($value) {
-moz-appearance: $value;
-webkit-appearance: $value;
}
@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 ms {
input::-ms-clear {
display: none;
}
}
@mixin object-fit($value) {
-o-object-fit: $value;
object-fit: $value;
font-family: "object-fit: #{$value};";
}

View file

@ -0,0 +1,7 @@
@mixin details-transition-open {
@include transition(max-height 0.8s cubic-bezier(0, 1, 0, 1) -0.1s);
}
@mixin details-transition-close {
@include transition(max-height 0.8s cubic-bezier(0.5, 0, 1, 0) 0s);
}

View file

@ -0,0 +1,4 @@
@import "_compatibility";
@import "_link";
@import "_blur";
@import "_details";

View file

@ -0,0 +1,26 @@
@mixin link($light, $dark) {
a,
a::before,
a::after {
text-decoration: none;
color: if($light, $global-link-color, $single-link-color);
[theme="dark"] & {
color: if($dark, $global-link-color-dark, $single-link-color-dark);
}
}
a:active,
a:hover {
color: if($light, $global-link-hover-color, $single-link-hover-color);
[theme="dark"] & {
color: if(
$dark,
$global-link-hover-color-dark,
$single-link-hover-color-dark
);
}
}
}

View file

@ -0,0 +1,4 @@
// ==============================
// Override Variables
// 覆盖变量
// ==============================

View file

@ -0,0 +1,6 @@
#content-404 {
font-size: 1.8rem;
line-height: 3rem;
@include transform(translateY(30vh));
text-align: center;
}

View file

@ -0,0 +1,13 @@
.archive {
.single-title {
text-align: right;
}
.group-title {
margin-top: 1.5rem;
margin-bottom: 1rem;
}
@import "../_partial/_archive/terms";
@import "../_partial/_archive/tags";
}

View file

@ -0,0 +1,183 @@
.home {
.home-profile {
@include transform(translateY(16vh));
padding: 0 0 0.5rem;
text-align: center;
.home-avatar {
padding: 0.5rem;
img {
display: inline-block;
width: 8rem;
height: auto;
margin: 0 auto;
@include border-radius(100%);
@include box-shadow(0 0 0 0.3618em rgba(0, 0, 0, 0.05));
@include transition(all 0.4s ease);
&:hover {
position: relative;
@include transform(translateY(-0.75rem));
}
}
}
.home-title {
font-size: 1.25rem;
font-weight: bold;
margin: 0;
padding: 0.5rem;
}
.home-subtitle {
font-size: 1rem;
font-weight: normal;
margin: 0;
padding: 0.5rem;
}
.links {
padding: 0.5rem;
font-size: 1.5rem;
a * {
vertical-align: text-bottom;
}
img {
height: 1.5rem;
padding: 0 0.25rem;
}
}
.home-disclaimer {
font-size: 1rem;
line-height: 1.5rem;
font-weight: normal;
margin: 0;
padding: 0.5rem;
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
}
}
}
.home[posts] {
.home-profile {
@include transform(translateY(0));
padding-top: 2rem;
}
.home-avatar img {
width: 6rem;
}
.summary {
padding-top: 1rem;
padding-bottom: 0.8rem;
color: $global-font-color;
border-bottom: 1px dashed $global-border-color;
[theme="dark"] & {
color: $global-font-color-dark;
border-bottom: 1px dashed $global-border-color-dark;
}
.featured-image-preview {
width: 100%;
padding: 30% 0 0;
position: relative;
margin: 0.6rem auto;
@include transition(transform 0.4s ease);
img {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
@include object-fit(none);
}
img.lazyloaded {
@include object-fit(cover);
}
&:hover {
@include transform(scale(1.01));
}
}
.single-title {
font-size: 1.25rem;
line-height: 140%;
margin: 0.4rem 0;
}
.content {
@include box(vertical);
-webkit-line-clamp: 3;
margin-top: 0.3rem;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
@include overflow-wrap(break-word);
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
h2,
h3,
h4,
h5,
h6,
p {
font-size: 1rem;
line-height: 1.5;
display: inline;
&::after {
content: "\A";
white-space: pre;
}
}
h2 {
font-size: 1.125rem;
}
@include link(false, true);
b,
strong {
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
}
}
.post-footer {
margin-top: 0.4rem;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.875rem;
@include link(false, false);
.post-tags {
padding: 0;
@include link(true, true);
}
}
}
}

View file

@ -0,0 +1,22 @@
.page {
position: relative;
max-width: 800px;
width: 60%;
margin: 0 auto;
[header-desktop] & {
padding-top: $header-height;
}
[header-desktop="normal"] & {
padding-top: 0;
}
@include blur;
}
@import "_single";
@import "_special";
@import "_archive";
@import "_home";
@import "_404";

View file

@ -0,0 +1,336 @@
@import "../_partial/_single/toc";
.single {
.single-title {
margin: 1rem 0 0.5rem;
font-size: 1.6rem;
font-weight: bold;
line-height: 140%;
}
.single-subtitle {
margin: 0.4rem 0;
font-size: 1.2rem;
font-weight: normal;
font-style: italic;
line-height: 100%;
}
.post-meta {
font-size: 0.875rem;
color: $global-font-secondary-color;
span {
display: inline-block;
}
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
@include link(false, true);
.author {
font-size: 1.05rem;
}
}
.featured-image {
margin: 0.5rem 0 1rem 0;
img {
display: block;
max-width: 100%;
height: auto;
margin: 0 auto;
overflow: hidden;
}
img.lazyloaded {
width: 100%;
}
}
.content {
> h2 {
font-size: 1.5rem;
& code {
font-size: 1.25rem;
}
}
> h3 {
font-size: 1.375rem;
& code {
font-size: 1.125rem;
}
}
> h4 {
font-size: 1.25rem;
& code {
font-size: 1rem;
}
}
> h5 {
font-size: 1.125rem;
}
> h6 {
font-size: 1rem;
}
h2,
h3,
h4,
h5,
h6 {
font-weight: bold;
margin: 1.2rem 0;
[theme="dark"] & {
font-weight: bolder;
}
}
> h2,
> h3,
> h4,
> h5,
> h6 {
> .header-mark::before {
content: "|";
margin-right: 0.3125rem;
color: $single-link-color;
[theme="dark"] & {
color: $single-link-color-dark;
}
}
}
> h2 > .header-mark::before {
content: "#";
}
p {
margin: 0.5rem 0;
}
b,
strong {
font-weight: bold;
[theme="dark"] & {
color: #ddd;
}
}
@include link(false, false);
a {
@include overflow-wrap(break-word);
[theme="dark"] & b,
[theme="dark"] & strong {
color: $single-link-color-dark;
}
}
[theme="dark"] a:hover b,
[theme="dark"] a:hover strong {
color: $single-link-hover-color-dark;
}
ul,
ol {
margin: 0.5rem 0;
padding-left: 2.5rem;
}
ul {
list-style-type: disc;
}
ruby {
background: $code-background-color;
rt {
color: $global-font-secondary-color;
}
[theme="dark"] & {
background: $code-background-color-dark;
rt {
color: $global-font-secondary-color-dark;
}
}
}
.table-wrapper {
overflow-x: auto;
&::-webkit-scrollbar {
background-color: $table-background-color;
[theme="dark"] & {
background-color: $table-background-color-dark;
}
}
> table {
width: 100%;
max-width: 100%;
margin: 0.625rem 0;
border-spacing: 0;
background: $table-background-color;
border-collapse: collapse;
[theme="dark"] & {
background: $table-background-color-dark;
}
thead {
background: $table-thead-color;
[theme="dark"] & {
background-color: $table-thead-color-dark;
}
}
th,
td {
padding: 0.3rem 1rem;
border: 1px solid darken($table-thead-color, 2%);
[theme="dark"] & {
border-color: darken($table-thead-color-dark, 2%);
}
}
}
}
img {
max-width: 100%;
min-height: 1em;
}
figure {
margin: 0.5rem;
text-align: center;
.image-caption:not(:empty) {
min-width: 20%;
max-width: 80%;
display: inline-block;
padding: 0.5rem;
margin: 0 auto;
font-size: 0.875rem;
color: #969696;
}
img {
display: block;
height: auto;
margin: 0 auto;
overflow: hidden;
}
}
.lazyloading {
@include object-fit(none);
}
blockquote {
display: block;
border-left: 0.5rem solid $blockquote-color;
background-color: rgba($blockquote-color, 0.2);
padding: 0.25rem 0.75rem;
margin: 1rem 0;
[theme="dark"] & {
border-left-color: $blockquote-color-dark;
background-color: rgba($blockquote-color-dark, 0.2);
}
}
.footnotes {
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
p {
margin: 0.25rem 0;
}
}
@import "../_partial/_single/code";
@import "../_partial/_single/instagram";
@import "../_partial/_single/admonition";
@import "../_partial/_single/echarts";
@import "../_partial/_single/mapbox";
@import "../_partial/_single/music";
@import "../_partial/_single/bilibili";
hr {
margin: 1rem 0;
position: relative;
border-top: 1px dashed $global-border-color;
border-bottom: none;
[theme="dark"] & {
border-top: 1px dashed $global-border-color-dark;
}
}
kbd {
display: inline-block;
padding: 0.25rem;
background-color: $global-background-color;
border: 1px solid $global-border-color;
border-bottom-color: $global-border-color;
@include border-radius(3px);
@include box-shadow(inset 0 -1px 0 $global-border-color);
font-size: 0.8rem;
font-family: $code-font-family;
color: $code-color;
[theme="dark"] & {
background-color: $global-background-color-dark;
border: 1px solid $global-border-color-dark;
border-bottom-color: $global-border-color-dark;
@include box-shadow(inset 0 -1px 0 $global-border-color-dark);
color: $code-color-dark;
}
}
.typeit {
.code {
padding: 0.375rem;
font-size: 0.875rem;
font-family: $code-font-family;
font-weight: bold;
word-break: break-all;
}
}
.version {
height: 1.25em;
vertical-align: text-bottom;
}
}
@import "../_partial/_single/footer";
@import "../_partial/_single/comment";
}
.lg-toolbar .lg-icon::after {
color: #999;
}

View file

@ -0,0 +1,6 @@
.special {
.single-title,
.single-subtitle {
text-align: right;
}
}

View file

@ -0,0 +1,27 @@
.tag-cloud-tags {
margin: 10px 0;
@include link(true, true);
a {
display: inline-block;
position: relative;
margin: 5px 10px;
@include overflow-wrap(break-word);
@include transition(all ease-out 0.3s);
&:active,
&:focus,
&:hover {
@include transform(scale(1.2));
}
sup {
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
}
}
}

View file

@ -0,0 +1,82 @@
.categories-card {
margin: 0 auto;
margin-top: 3rem;
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
flex-wrap: wrap;
line-height: 1.6rem;
.card-item {
font-size: 0.875rem;
text-align: left;
width: 45%;
display: flex;
align-items: flex-start;
margin-top: 2rem;
min-height: 10rem;
padding: 0 2%;
position: relative;
.card-item-wrapper {
width: 100%;
overflow: hidden;
.card-item-title {
font-size: 1.2rem;
font-weight: bold;
display: inline-block;
margin-top: 1rem;
margin-bottom: 0.75rem;
}
span {
float: right;
padding-right: 1rem;
}
}
}
}
.archive-item {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
margin: 0.25rem 0 0.25rem 1.5rem;
}
.archive-item-link {
min-width: 10%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
&:hover {
color: $global-link-hover-color;
background-color: transparent;
}
[theme="dark"] & {
color: $global-link-color-dark;
&:hover {
color: $global-link-hover-color-dark;
}
}
}
.archive-item-date {
width: 4em;
text-align: right;
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
}
.more-post {
text-align: right;
}

View file

@ -0,0 +1,19 @@
.cc-window.cc-banner {
.cc-btn {
color: $global-font-color;
&:hover,
&:focus {
background-color: #ccc;
}
[theme="dark"] & {
color: $global-font-color;
&:hover,
&:focus {
background-color: #fff;
}
}
}
}

View file

@ -0,0 +1,33 @@
.details {
.details-summary {
&:hover {
cursor: pointer;
}
}
i.details-icon {
color: $global-font-secondary-color;
@include transition(transform 0.2s ease);
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
}
.details-content {
max-height: 0;
overflow-y: hidden;
@include details-transition-open;
}
&.open {
i.details-icon {
@include transform(rotate(90deg));
}
.details-content {
max-height: $MAX_LENGTH;
@include details-transition-close;
}
}
}

View file

@ -0,0 +1,50 @@
#fixed-buttons {
display: none;
}
.fixed-button {
display: none;
z-index: 100;
position: fixed;
right: 1.5rem;
font-size: 1rem;
line-height: 1.3rem;
padding: 0.6rem 0.6rem;
color: $global-font-secondary-color;
background: $header-background-color;
@include border-radius(2rem);
@include transition(color 0.4s ease);
@include blur;
&:hover,
&:active {
color: $global-font-color;
cursor: pointer;
}
&:active,
&:focus,
&:hover {
outline: none;
}
[theme="dark"] & {
color: $global-font-secondary-color-dark;
background: $header-background-color-dark;
&:hover,
&:active {
color: $global-font-color-dark;
}
}
}
#back-to-top {
display: block;
bottom: 1.5rem;
}
#view-comments {
bottom: 4.5rem;
}

View file

@ -0,0 +1,21 @@
footer {
height: 2rem;
width: 100%;
text-align: center;
line-height: 1.25rem;
padding: 1rem 0;
.footer-container {
font-size: 0.875rem;
.footer-line {
width: 100%;
.icp-br {
display: none;
}
}
}
@include blur;
}

View file

@ -0,0 +1,471 @@
header {
width: 100%;
z-index: 150;
background-color: $header-background-color;
@include transition(box-shadow 0.3s ease);
[theme="dark"] & {
background-color: $header-background-color-dark;
}
.logo {
min-height: 1.5em;
height: 1.5em;
vertical-align: text-bottom;
}
.logo,
.header-title-pre {
padding-right: 0.25rem;
}
.header-title-post {
padding-left: 0.25rem;
}
&:hover {
@include box-shadow(0 0 1.5rem 0 rgba(0, 0, 0, 0.1));
}
}
.header-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
width: 100%;
}
.header-title {
font-family: $header-title-font-family;
font-weight: bold;
margin-right: 0.5rem;
min-width: 10%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@include flex(10);
}
.menu .menu-item {
position: relative;
}
.language-select {
position: absolute;
opacity: 0;
left: 0;
top: 0;
width: 100%;
height: 100%;
&:hover {
cursor: pointer;
}
}
.search {
position: relative;
input {
color: transparent;
box-sizing: border-box;
height: 2.5rem;
width: 2.5rem;
@include border-radius(0.5rem);
border: none;
outline: none;
background-color: $header-background-color;
vertical-align: baseline !important;
@include transition(width 0.3s ease);
[theme="dark"] & {
background-color: $header-background-color-dark;
}
}
@include placeholder(transparent);
.search-button {
margin: 0;
position: absolute;
left: auto;
right: 1rem;
}
.search-toggle {
left: 0.5rem;
right: auto;
}
.search-loading {
display: none;
}
.search-clear {
display: none;
}
.open &,
&.mobile {
input {
color: $global-font-color;
background-color: $search-background-color;
padding: 0 2rem 0 2rem;
}
[theme="dark"] & {
input {
color: $global-font-color-dark;
background-color: $search-background-color-dark;
}
@include placeholder($global-font-secondary-color-dark);
}
@include placeholder($global-font-secondary-color);
.search-button {
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
}
.search-clear:hover {
color: #ff6b6b;
}
.search-toggle:hover {
cursor: default;
}
}
}
.theme-switch i {
@include transform(rotate(225deg));
}
#header-desktop {
display: block;
position: fixed;
height: $header-height;
line-height: $header-height;
[header-desktop="normal"] & {
position: static;
}
.header-wrapper {
padding: 0 2rem 0 10vh;
.header-title {
font-size: $header-title-font-size;
}
.menu {
overflow: hidden;
white-space: nowrap;
.menu-inner {
float: right;
}
.menu-item {
margin: 0 0.5rem;
&.delimiter {
border-left: 1.5px solid $global-font-color;
[theme="dark"] & {
border-left-color: $global-border-color-dark;
}
}
&.language {
margin-right: 0;
}
&.search {
margin: 0 -0.5rem 0 0;
}
}
a.active {
font-weight: 900;
color: $header-hover-color;
[theme="dark"] & {
color: $header-hover-color-dark;
}
}
}
}
&.open .header-wrapper .menu .menu-item.search {
margin: 0 0.25rem 0 0.5rem;
input {
width: 24rem;
}
}
}
#header-mobile {
display: none;
position: fixed;
height: $header-height;
line-height: $header-height;
[header-mobile="normal"] & {
position: static;
}
.header-container {
padding: 0;
margin: 0;
.header-wrapper {
padding: 0 1rem;
font-size: 1.125rem;
@include transition(margin-top 0.3s ease);
.header-title {
font-size: $header-title-font-size;
max-width: 80%;
}
.menu-toggle {
line-height: 4rem;
cursor: pointer;
@include transition(width 0.3s ease);
span {
display: block;
background: $global-font-color;
width: 1.5rem;
height: 2px;
@include border-radius(3px);
@include transition(all 0.3s ease-in-out);
[theme="dark"] & {
background: $global-font-color-dark;
}
}
span:nth-child(1) {
margin-bottom: 0.5rem;
}
span:nth-child(3) {
margin-top: 0.5rem;
}
&.active {
span:nth-child(1) {
@include transform(rotate(45deg) translate(0.4rem, 0.5rem));
}
span:nth-child(2) {
opacity: 0;
}
span:nth-child(3) {
@include transform(rotate(-45deg) translate(0.4rem, -0.5rem));
}
}
}
}
.menu {
text-align: center;
background: $header-background-color;
border-top: 2px solid $global-border-color;
display: none;
padding-top: 0.5rem;
@include box-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.1));
.search-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
padding: ($header-height - 2.5rem) / 2 1rem;
line-height: 2.5rem;
}
.search {
flex-grow: 10;
.algolia-autocomplete,
input {
width: 100%;
}
}
.search-button {
top: 0;
}
.search-cancel {
display: none;
margin-left: 0.75rem;
}
.menu-item {
display: block;
line-height: 2.5rem;
}
&.active {
display: block;
}
[theme="dark"] & {
background: $header-background-color-dark;
border-top-color: $global-border-color-dark;
}
}
}
&.open {
.header-wrapper {
margin-top: -$header-height;
}
.menu {
padding-top: 0;
border-top: none;
.menu-item {
display: none;
}
.search-cancel {
display: inline;
}
}
}
}
.search-dropdown {
position: fixed;
z-index: 200;
top: $header-height;
@include box-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.1));
&.desktop {
right: 2rem;
width: 30rem;
}
&.mobile {
right: 0;
width: 100%;
}
.dropdown-menu {
right: 0 !important;
background-color: $global-background-color;
[theme="dark"] & {
background-color: $global-background-color-dark;
}
.suggestions {
overflow-y: auto;
max-height: calc(100vh - #{$header-height});
.suggestion {
padding: 0.75rem 1rem;
.suggestion-title {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 1rem;
font-weight: bold;
max-width: 75%;
}
.suggestion-date {
font-size: 0.875rem;
float: right;
text-align: right;
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
}
.suggestion-context {
line-height: 1.25rem;
@include box(vertical);
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
@include overflow-wrap(break-word);
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
}
em {
font-style: normal;
background-color: $selection-color;
[theme="dark"] & {
background-color: $selection-color-dark;
}
}
&.cursor {
background: darken($code-background-color, 5%);
[theme="dark"] & {
background: lighten($code-background-color-dark, 5%);
}
}
&:hover {
cursor: pointer;
}
}
}
.search-empty {
padding: 1rem;
text-align: center;
.search-query {
font-weight: bold;
[theme="dark"] & {
color: #ddd;
}
}
}
.search-footer {
padding: 0.5rem 1rem;
float: right;
font-size: 0.8rem;
color: $global-font-secondary-color;
[theme="dark"] {
color: $global-font-secondary-color-dark;
}
@include link(false, false);
a {
font-size: 1rem;
}
}
}
}

View file

@ -0,0 +1,17 @@
svg.icon {
display: inline-block;
width: 1.25em;
height: 1em;
text-align: center;
path {
fill: currentColor;
}
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 0.05em 0 0.1em;
vertical-align: -0.1em;
}

View file

@ -0,0 +1,16 @@
#mask {
background-repeat: no-repeat;
background-position: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background-color: rgba(0, 0, 0, 0);
.blur & {
z-index: 100;
background-color: rgba(0, 0, 0, 0.25);
}
}

View file

@ -0,0 +1,90 @@
.pagination {
display: flex;
flex-direction: row;
justify-content: center;
list-style: none;
white-space: nowrap;
width: 100%;
padding: 1rem 0 0;
a {
font-size: 0.8rem;
color: #bfbfbf;
letter-spacing: 0.1rem;
font-weight: 700;
padding: 5px 5px;
text-decoration: none;
@include transition(0.3s);
}
li {
padding-bottom: 3px;
margin: 0 20px;
box-sizing: border-box;
position: relative;
display: inline;
&.disabled {
display: none;
}
&:hover a {
color: $pagination-link-hover-color;
}
[theme="dark"] &:hover a {
color: $pagination-link-hover-color-dark;
}
&:before,
&:after {
position: absolute;
content: "";
width: 0;
height: 3px;
background: $pagination-link-hover-color;
@include transition(0.3s);
bottom: 0px;
}
[theme="dark"] &:before,
[theme="dark"] &:after {
background: $pagination-link-hover-color-dark;
}
&:before .active,
&:after .active {
width: 100%;
}
&:before {
left: 50%;
}
&:after {
right: 50%;
}
&:hover {
&:before,
&:after {
width: 50%;
}
}
&.active {
a {
color: $pagination-link-hover-color;
}
[theme="dark"] & a {
color: $pagination-link-hover-color-dark;
}
&:before,
&:after {
width: 60%;
}
}
}
}

View file

@ -0,0 +1,70 @@
.admonition {
position: relative;
margin: 1rem 0;
padding: 0 0.75rem;
background-color: map-get($admonition-background-color-map, "note");
border-left: 0.25rem solid map-get($admonition-color-map, "note");
overflow: auto;
.admonition-title {
font-weight: bold;
margin: 0 -0.75rem;
padding: 0.25rem 1.8rem;
border-bottom: 1px solid map-get($admonition-background-color-map, "note");
background-color: opacify(
map-get($admonition-background-color-map, "note"),
0.15
);
}
&.open .admonition-title {
background-color: map-get($admonition-background-color-map, "note");
}
.admonition-content {
padding: 0.5rem 0;
}
i.icon {
font-size: 0.85rem;
color: map-get($admonition-color-map, "note");
position: absolute;
top: 0.6rem;
left: 0.4rem;
}
i.details-icon {
position: absolute;
top: 0.6rem;
right: 0.3rem;
}
@each $type, $color in $admonition-color-map {
&.#{$type} {
border-left-color: $color;
i.icon {
color: $color;
}
}
}
@each $type, $color in $admonition-background-color-map {
&.#{$type} {
background-color: $color;
.admonition-title {
border-bottom-color: $color;
background-color: opacify($color, 0.15);
}
&.open .admonition-title {
background-color: $color;
}
}
}
&:last-child {
margin-bottom: 0.75rem;
}
}

View file

@ -0,0 +1,16 @@
.bilibili {
position: relative;
width: 100%;
height: 0;
padding-bottom: 75%;
margin: 3% auto;
text-align: center;
iframe {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
}

View file

@ -0,0 +1,403 @@
code {
display: inline-block;
max-width: 100%;
padding: 0 0.4rem;
@include overflow-wrap(break-word);
@include line-break(anywhere);
font-size: $code-font-size;
font-family: $code-font-family;
color: $code-color;
[theme="dark"] & {
color: $code-color-dark;
}
}
pre {
margin: 0;
padding: 0.25rem 0 0.25rem 0.5rem;
@include tab-size(4);
code {
padding: 0;
}
img {
min-height: 1em;
max-height: 1.2em;
vertical-align: text-bottom;
}
}
code,
pre,
.highlight table,
.highlight tr,
.highlight td {
background: $code-background-color;
[theme="dark"] & {
background: $code-background-color-dark;
}
}
.highlight,
.gist {
font-family: $code-font-family;
font-size: $code-font-size;
.table-wrapper {
> table,
> table thead,
> table tr,
> table td {
margin: 0;
padding: 0;
border: none !important;
white-space: nowrap;
}
}
}
.highlight {
line-height: 1.4em;
margin: 0.5rem 0;
> .chroma {
position: relative;
.code-header {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
width: 100%;
font-family: $global-font-family;
font-weight: bold;
color: $code-info-color;
background: darken($code-background-color, 8%);
[theme="dark"] & {
color: $code-info-color-dark;
background: darken($code-background-color-dark, 6%);
}
&:hover {
cursor: pointer;
}
.code-title {
width: 100%;
padding: 0.4rem;
}
.code-title::after {
padding-left: 0.2rem;
content: "Code";
}
@each $type, $text in $code-type-map {
&.#{$type} .code-title::after {
content: $text;
}
}
}
.lntd:first-child {
min-width: 1.6rem;
text-align: right;
}
.lntd:last-child {
width: 100%;
pre {
@include max-content(min-width);
}
}
.ln {
padding-right: 0.75rem;
}
.hl {
display: block;
background-color: darken($code-background-color, 10%);
[theme="dark"] & {
background-color: darken($code-background-color-dark, 5%);
}
}
.ln,
.lnt {
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
}
.arrow {
padding: 0 0.2rem;
@include transition(transform 0.2s ease);
}
.ellipses {
padding: 0.4rem;
}
.copy {
display: none;
padding: 0.4rem;
&:hover {
cursor: pointer;
color: $global-link-hover-color;
[theme="dark"] & {
color: $global-link-hover-color-dark;
}
}
}
.table-wrapper {
max-height: 0;
overflow-y: hidden;
@include details-transition-open;
}
&.open {
.code-header {
background: darken($code-background-color, 3%);
[theme="dark"] & {
background: darken($code-background-color-dark, 3%);
}
}
.table-wrapper {
max-height: $MAX_LENGTH;
@include details-transition-close;
}
.arrow {
@include transform(rotate(90deg));
}
.ellipses {
display: none;
}
.copy {
display: inline;
}
}
}
/* Comment */
.c,
/* CommentHashbang */ .ch,
/* CommentMultiline */ .cm,
/* CommentSingle */ .c1,
/* CommentSpecial */ .cs,
/* CommentPreproc */ .cp,
/* CommentPreprocFile */ .cpf {
font-style: italic;
}
/* GenericUnderline */
.gl {
text-decoration: underline;
}
@each $class, $color in $code-highlight-color-map {
.#{$class} {
color: $color;
}
}
[theme="dark"] & {
@each $class, $color in $code-highlight-color-map-dark {
.#{$class} {
color: $color;
}
}
}
}
.gist {
.gist-file,
.gist-data,
.gist-meta {
border: none;
}
.gist-meta {
padding: 0.4rem 0.8rem;
background-color: darken($code-background-color, 5%);
@include link(false, false);
[theme="dark"] & {
background-color: darken($code-background-color-dark, 5%);
}
}
[theme="dark"] & {
// imported from https://github.com/lonekorean/gist-syntax-themes/blob/master/stylesheets/one-dark.css
.highlight {
background: #141414;
}
.blob-num,
.blob-code-inner,
.highlight,
.pl-enm,
.pl-ko,
.pl-mo,
.pl-mp1 .pl-sf,
.pl-ms,
.pl-pdc1,
.pl-scp,
.pl-smc,
.pl-som,
.pl-va,
.pl-vpf,
.pl-vpu,
.pl-mdr {
color: #aab1bf;
}
.pl-mb,
.pl-pdb {
font-weight: 700;
}
.pl-c,
.pl-c span,
.pl-pdc {
color: #5b6270;
font-style: italic;
}
.pl-sr .pl-cce {
color: #56b5c2;
font-weight: 400;
}
.pl-ef,
.pl-en,
.pl-enf,
.pl-eoai,
.pl-kos,
.pl-mh .pl-pdh,
.pl-mr {
color: #61afef;
}
.pl-ens,
.pl-vi {
color: #be5046;
}
.pl-enti,
.pl-mai .pl-sf,
.pl-ml,
.pl-sf,
.pl-sr,
.pl-sr .pl-sra,
.pl-src,
.pl-st,
.pl-vo {
color: #56b5c2;
}
.pl-eoi,
.pl-mri,
.pl-pds,
.pl-pse .pl-s1,
.pl-s,
.pl-s1 {
color: #97c279;
}
.pl-k,
.pl-kolp,
.pl-mc,
.pl-pde {
color: #c578dd;
}
.pl-mi,
.pl-pdi {
color: #c578dd;
font-style: italic;
}
.pl-mp,
.pl-stp {
color: #818896;
}
.pl-mdh,
.pl-mdi,
.pl-mdr {
font-weight: 400;
}
.pl-mdht,
.pl-mi1 {
color: #97c279;
background: #020;
}
.pl-md,
.pl-mdhf {
color: #df6b75;
background: #200;
}
.pl-corl {
color: #df6b75;
text-decoration: underline;
}
.pl-ib {
background: #df6b75;
}
.pl-ii {
background: #e0c184;
color: #fff;
}
.pl-iu {
background: #e05151;
}
.pl-ms1 {
color: #aab1bf;
background: #373b41;
}
.pl-c1,
.pl-cn,
.pl-e,
.pl-eoa,
.pl-eoac,
.pl-eoac .pl-pde,
.pl-kou,
.pl-mm,
.pl-mp .pl-s3,
.pl-mq,
.pl-s3,
.pl-sok,
.pl-sv,
.pl-mb {
color: #d19965;
}
.pl-enc,
.pl-entc,
.pl-pse .pl-s2,
.pl-s2,
.pl-sc,
.pl-smp,
.pl-sr .pl-sre,
.pl-stj,
.pl-v,
.pl-pdb {
color: #e4bf7a;
}
.pl-ent,
.pl-entl,
.pl-entm,
.pl-mh,
.pl-pdv,
.pl-smi,
.pl-sol,
.pl-mdh,
.pl-mdi {
color: #df6b75;
}
}
}

View file

@ -0,0 +1,3 @@
#comments {
padding: 8rem 0 2rem;
}

View file

@ -0,0 +1,4 @@
.echarts {
margin: 0.5rem 0;
text-align: center;
}

View file

@ -0,0 +1,98 @@
.post-footer {
margin-top: 3rem;
.post-info {
border-bottom: 1px solid $global-border-color;
padding: 1rem 0 0.3rem;
[theme="dark"] & {
border-bottom: 1px solid $global-border-color-dark;
}
.post-info-line {
display: flex;
justify-content: space-between;
.post-info-mod {
font-size: 0.8em;
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
@include link(false, false);
}
.post-info-license {
font-size: 0.8em;
color: $global-font-secondary-color;
[theme="dark"] & {
color: $global-font-secondary-color-dark;
}
@include link(false, false);
}
.post-info-md {
font-size: 0.8rem;
width: 8rem;
@include link(false, false);
}
.post-info-share {
a * {
vertical-align: text-bottom;
}
}
}
}
.post-info-more {
padding: 0.3rem 0 1rem;
display: flex;
justify-content: space-between;
font-size: 0.9rem;
}
.post-tags {
max-width: 65%;
* {
display: inline;
}
}
.post-nav {
&::before,
&::after {
content: " ";
display: table;
}
& a.prev,
& a.next {
font-size: 1rem;
font-weight: 600;
@include transition(all 0.3s ease-out);
}
& a.prev {
float: left;
}
& a.prev:hover {
@include transform(translateX(-4px));
}
& a.next {
float: right;
}
& a.next:hover {
@include transform(translateX(4px));
}
}
}

View file

@ -0,0 +1,5 @@
iframe.instagram-media {
[theme="dark"] & {
border: none !important;
}
}

View file

@ -0,0 +1,4 @@
.mapbox {
margin: 0.5rem 0;
padding: 0.5rem 0;
}

View file

@ -0,0 +1,3 @@
meting-js {
margin: 0.5rem 0;
}

View file

@ -0,0 +1,157 @@
.toc {
.toc-title {
font-size: $toc-title-font-size;
font-weight: bold;
text-transform: uppercase;
}
.toc-content {
font-size: $toc-content-font-size;
ul {
text-indent: -0.85rem;
padding-left: 0.8rem;
list-style: none;
a:first-child::before {
content: "|";
font-weight: bolder;
margin-right: 0.5rem;
color: $single-link-color;
[theme="dark"] & {
color: $single-link-color-dark;
}
}
ul {
padding-left: 1.5rem;
}
}
}
ruby {
background: $code-background-color;
rt {
color: $global-font-secondary-color;
}
[theme="dark"] & {
background: $code-background-color-dark;
rt {
color: $global-font-secondary-color-dark;
}
}
}
}
#toc-auto {
display: block;
position: absolute;
width: $MAX_LENGTH;
max-width: 0;
padding: 0 0.8rem;
border-left: 4px solid $global-border-color;
@include overflow-wrap(break-word);
box-sizing: border-box;
top: 10rem;
left: 0;
visibility: hidden;
[header-desktop="normal"] & {
top: 5rem;
}
@include blur;
[theme="dark"] & {
border-left-color: $global-border-color-dark;
}
.toc-title {
margin: 0.8rem 0;
}
.toc-content {
&.always-active ul {
display: block;
}
> nav > ul {
margin: 0.625rem 0;
}
ul {
ul {
display: none;
}
.has-active > ul {
display: block;
}
}
a.active {
font-weight: bold;
color: $single-link-color;
[theme="dark"] & {
color: $single-link-color-dark;
}
&::before {
color: $single-link-hover-color;
[theme="dark"] & {
color: $single-link-hover-color-dark;
}
}
}
}
}
#toc-static {
display: none;
margin: 0.8rem 0;
&[kept="true"] {
display: block;
}
.toc-title {
display: flex;
justify-content: space-between;
line-height: 2em;
padding: 0 0.75rem;
background: darken($code-background-color, 6%);
[theme="dark"] & {
background: darken($code-background-color-dark, 6%);
}
}
.toc-content {
background-color: $code-background-color;
> nav > ul {
margin: 0;
padding: 0.4rem 1rem 0.4rem 1.8rem;
}
[theme="dark"] & {
background-color: $code-background-color-dark;
}
}
&.open {
.toc-title {
background: darken($code-background-color, 3%);
[theme="dark"] & {
background: darken($code-background-color-dark, 3%);
}
}
}
}

View file

@ -0,0 +1,369 @@
// ==============================
// Variables
// ==============================
// ========== Global ========== //
// Font and Line Height
$global-font-family: system-ui, -apple-system, BlinkMacSystemFont, PingFang SC,
Microsoft YaHei UI, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans,
Droid Sans, Helvetica Neue, Helvetica, Arial, sans-serif !default;
$global-font-size: 16px;
$global-font-weight: 400;
$global-line-height: 1.5rem;
// Color of the background
$global-background-color: #fff !default;
$global-background-color-dark: #292a2d !default;
// Color of the text
$global-font-color: #161209 !default;
$global-font-color-dark: #a9a9b3 !default;
// Color of the secondary text
$global-font-secondary-color: #a9a9b3 !default;
$global-font-secondary-color-dark: #5d5d5f !default;
// Color of the link
$global-link-color: #161209 !default;
$global-link-color-dark: #a9a9b3 !default;
// Color of the hover link
$global-link-hover-color: #2d96bd !default;
$global-link-hover-color-dark: #fff !default;
// Color of the border
$global-border-color: #f0f0f0 !default;
$global-border-color-dark: #363636 !default;
// ========== Global ========== //
// ========== Scrollbar ========== //
// Color of the scrollbar
$scrollbar-color: #87878d !default;
// Color of the hover scrollbar
$scrollbar-hover-color: #a9a9b3 !default;
// ========== Scrollbar ========== //
// ========== Selection ========== //
// Color of the selected text
$selection-color: rgba(53, 166, 247, 0.25) !default;
$selection-color-dark: rgba(50, 112, 194, 0.4) !default;
// ========== Selection ========== //
// ========== Header ========== //
// Height of the header
$header-height: 3.5rem !default;
// Color of the header background
$header-background-color: #f8f8f8 !default;
$header-background-color-dark: #252627 !default;
// Font style of the header title
$header-title-font-family: $global-font-family !default;
$header-title-font-size: 1.5rem !default;
// Color of the hover header item
$header-hover-color: #161209 !default;
$header-hover-color-dark: #fff !default;
// Color of the search background
$search-background-color: #e9e9e9 !default;
$search-background-color-dark: #363636 !default;
// ========== Header ========== //
// ========== Single Content ========== //
// Font size of the TOC
$toc-title-font-size: 1.2rem !default;
$toc-content-font-size: 1rem !default;
// Color of the single link
$single-link-color: #2d96bd !default;
$single-link-color-dark: #55bde2 !default;
// Color of the hover single link
$single-link-hover-color: #ef3982 !default;
$single-link-hover-color-dark: #bdebfc !default;
// Color of the table background
$table-background-color: #fff !default;
$table-background-color-dark: #272c34 !default;
// Color of the table thead
$table-thead-color: #ededed !default;
$table-thead-color-dark: #20252b !default;
// Color of the blockquote
$blockquote-color: #6bd6fd !default;
$blockquote-color-dark: #59c5ec !default;
// ========== Single Content ========== //
// ========== Pagination ========== //
// Color of the link in pagination
$pagination-link-color: #2d96bd !default;
$pagination-link-color-dark: #a9a9b3 !default;
// Color of the hover link in pagination
$pagination-link-hover-color: #000 !default;
$pagination-link-hover-color-dark: #fff !default;
// ========== Pagination ========== //
// ========== 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;
$code-info-color: #9c9c9c !default;
$code-info-color-dark: #b1b0b0 !default;
// Font size of the code
$code-font-size: 0.875rem !default;
// Font family of the code
$code-font-family: Source Code Pro, Menlo, Consolas, Monaco, monospace,
$global-font-family !default;
// Code type map
$code-type-map: (
// Custom code type
language-bash: "Bash",
language-c: "C",
language-cs: "C#",
language-cpp: "C++",
language-clojure: "Clojure",
language-coffeescript: "CoffeeScript",
language-css: "CSS",
language-dart: "Dart",
language-diff: "Diff",
language-erlang: "Erlang",
language-go: "Go",
language-go-html-template: "Go HTML Template",
language-groovy: "Groovy",
language-haskell: "Haskell",
language-html: "HTML",
language-http: "HTTP",
language-xml: "XML",
language-java: "Java",
language-js: "JavaScript",
language-javascript: "JavaScript",
language-json: "JSON",
language-kotlin: "Kotlin",
language-latex: "LaTeX",
language-less: "Less",
language-lisp: "Lisp",
language-lua: "Lua",
language-makefile: "Makefile",
language-markdown: "Markdown",
language-matlab: "Matlab",
language-objectivec: "Objective-C",
language-php: "PHP",
language-perl: "Perl",
language-python: "Python",
language-r: "R",
language-ruby: "Ruby",
language-rust: "Rust",
language-scala: "Scala",
language-scss: "Scss",
language-shell: "Shell",
language-sql: "SQL",
language-swift: "Swift",
language-tex: "TeX",
language-toml: "TOML",
language-ts: "TypeScript",
language-typescript: "TypeScript",
language-vue: "Vue",
language-yml: "YAML",
language-yaml: "YAML"
) !default;
// Color map of the code highlight
$code-highlight-color-map: (
/* Parentheses */ "p": #a9a9b3,
/* Keyword */ "k": #b501a9,
/* KeywordConstant */ "kc": #b501a9,
/* KeywordDeclaration */ "kd": #b501a9,
/* KeywordNamespace */ "kn": #b501a9,
/* KeywordPseudo */ "kp": #b501a9,
/* KeywordReserved */ "kr": #b501a9,
/* KeywordType */ "kt": #b501a9,
/* Name */ "n": #333333,
/* NameAttribute */ "na": #2b77fa,
/* NameBuiltin */ "nb": #f74840,
/* NameBuiltinPseudo */ "bp": #f74840,
/* NameClass */ "nc": #cb8100,
/* NameConstant */ "no": #2b77fa,
/* NameDecorator */ "nd": #0086c1,
/* NameEntity */ "ni": #2b77fa,
/* NameException */ "ne": #2b77fa,
/* NameFunction */ "nf": #2b77fa,
/* NameFunctionMagic */ "fm": #1ccad6,
/* NameLabel */ "nl": #2b77fa,
/* NameNamespace */ "nn": #2b77fa,
/* NameOther */ "nx": #333333,
/* NameProperty */ "py": #2b77fa,
/* NameTag */ "nt": #2b77fa,
/* NameVariable */ "nv": #2b77fa,
/* NameVariableClass */ "vc": #2b77fa,
/* NameVariableGlobal */ "vg": #2b77fa,
/* NameVariableInstance */ "vi": #2b77fa,
/* NameVariableMagic */ "vm": #2b77fa,
/* Literal */ "l": #2aa198,
/* LiteralDate */ "ld": #2aa198,
/* LiteralString */ "s": #24a443,
/* LiteralStringAffix */ "sa": #24a443,
/* LiteralStringBacktick */ "sb": #24a443,
/* LiteralStringChar */ "sc": #24a443,
/* LiteralStringDelimiter */ "dl": #24a443,
/* LiteralStringDoc */ "sd": #24a443,
/* LiteralStringDouble */ "s2": #24a443,
/* LiteralStringEscape */ "se": #24a443,
/* LiteralStringHeredoc */ "sh": #24a443,
/* LiteralStringInterpol */ "si": #24a443,
/* LiteralStringOther */ "sx": #24a443,
/* LiteralStringRegex */ "sr": #24a443,
/* LiteralStringSingle */ "s1": #24a443,
/* LiteralStringSymbol */ "ss": #24a443,
/* LiteralNumber */ "m": #e2893c,
/* LiteralNumberBin */ "mb": #e2893c,
/* LiteralNumberFloat */ "mf": #e2893c,
/* LiteralNumberHex */ "mh": #e2893c,
/* LiteralNumberInteger */ "mi": #e2893c,
/* LiteralNumberIntegerLong */ "il": #e2893c,
/* LiteralNumberOct */ "mo": #e2893c,
/* Operator */ "o": #f19b04,
/* OperatorWord */ "ow": #b501a9,
/* Comment */ "c": #a0a1a8,
/* CommentHashbang */ "ch": #a0a1a8,
/* CommentMultiline */ "cm": #a0a1a8,
/* CommentSingle */ "c1": #a0a1a8,
/* CommentSpecial */ "cs": #a0a1a8,
/* CommentPreproc */ "cp": #a0a1a8,
/* CommentPreprocFile */ "cpf": #a0a1a8,
/* Generic */ "g": #e72d40,
/* GenericDeleted */ "gd": #e72d40,
/* GenericEmph */ "ge": #e72d40,
/* GenericError */ "gr": #e72d40,
/* GenericHeading */ "gh": #e72d40,
/* GenericInserted */ "gi": #e72d40,
/* GenericOutput */ "go": #e72d40,
/* GenericPrompt */ "gp": #e72d40,
/* GenericStrong */ "gs": #e72d40,
/* GenericSubheading */ "gu": #e72d40,
/* GenericTraceback */ "gt": #e72d40,
/* TextWhitespace */ "w": #bbbbbb
) !default;
$code-highlight-color-map-dark: (
/* Parentheses */ "p": #a9a9b3,
/* Keyword */ "k": #d371e3,
/* KeywordConstant */ "kc": #d371e3,
/* KeywordDeclaration */ "kd": #d371e3,
/* KeywordNamespace */ "kn": #d371e3,
/* KeywordPseudo */ "kp": #d371e3,
/* KeywordReserved */ "kr": #d371e3,
/* KeywordType */ "kt": #d371e3,
/* Name */ "n": #a9b2c0,
/* NameAttribute */ "na": #41b0f5,
/* NameBuiltin */ "nb": #19b9c4,
/* NameBuiltinPseudo */ "bp": #ecbf6f,
/* NameClass */ "nc": #ecbf6f,
/* NameConstant */ "no": #41b0f5,
/* NameDecorator */ "nd": #ecbf6f,
/* NameEntity */ "ni": #41b0f5,
/* NameException */ "ne": #41b0f5,
/* NameFunction */ "nf": #41b0f5,
/* NameFunctionMagic */ "fm": #19b9c4,
/* NameLabel */ "nl": #41b0f5,
/* NameNamespace */ "nn": #41b0f5,
/* NameOther */ "nx": #a9a9b3,
/* NameProperty */ "py": #41b0f5,
/* NameTag */ "nt": #41b0f5,
/* NameVariable */ "nv": #41b0f5,
/* NameVariableClass */ "vc": #41b0f5,
/* NameVariableGlobal */ "vg": #41b0f5,
/* NameVariableInstance */ "vi": #41b0f5,
/* NameVariableMagic */ "vm": #41b0f5,
/* Literal */ "l": #2aa198,
/* LiteralDate */ "ld": #2aa198,
/* LiteralString */ "s": #8cc570,
/* LiteralStringAffix */ "sa": #8cc570,
/* LiteralStringBacktick */ "sb": #8cc570,
/* LiteralStringChar */ "sc": #8cc570,
/* LiteralStringDelimiter */ "dl": #8cc570,
/* LiteralStringDoc */ "sd": #8cc570,
/* LiteralStringDouble */ "s2": #8cc570,
/* LiteralStringEscape */ "se": #8cc570,
/* LiteralStringHeredoc */ "sh": #8cc570,
/* LiteralStringInterpol */ "si": #8cc570,
/* LiteralStringOther */ "sx": #8cc570,
/* LiteralStringRegex */ "sr": #8cc570,
/* LiteralStringSingle */ "s1": #8cc570,
/* LiteralStringSymbol */ "ss": #8cc570,
/* LiteralNumber */ "m": #db985c,
/* LiteralNumberBin */ "mb": #db985c,
/* LiteralNumberFloat */ "mf": #db985c,
/* LiteralNumberHex */ "mh": #db985c,
/* LiteralNumberInteger */ "mi": #db985c,
/* LiteralNumberIntegerLong */ "il": #db985c,
/* LiteralNumberOct */ "mo": #db985c,
/* Operator */ "o": #ecbf6f,
/* OperatorWord */ "ow": #d371e3,
/* Comment */ "c": #7e848f,
/* CommentHashbang */ "ch": #7e848f,
/* CommentMultiline */ "cm": #7e848f,
/* CommentSingle */ "c1": #7e848f,
/* CommentSpecial */ "cs": #7e848f,
/* CommentPreproc */ "cp": #7e848f,
/* CommentPreprocFile */ "cpf": #7e848f,
/* Generic */ "g": #f16372,
/* GenericDeleted */ "gd": #f16372,
/* GenericEmph */ "ge": #f16372,
/* GenericError */ "gr": #f16372,
/* GenericHeading */ "gh": #f16372,
/* GenericInserted */ "gi": #f16372,
/* GenericOutput */ "go": #f16372,
/* GenericPrompt */ "gp": #f16372,
/* GenericStrong */ "gs": #f16372,
/* GenericSubheading */ "gu": #f16372,
/* GenericTraceback */ "gt": #f16372,
/* TextWhitespace */ "w": #bbbbbb
) !default;
// ========== Code ========== //
// ========== Admonition ========== //
// Color map of the admonition
$admonition-color-map: (
"note": #448aff,
"abstract": #00b0ff,
"info": #00b8d4,
"tip": #00bfa5,
"success": #00c853,
"question": #64dd17,
"warning": #ff9100,
"failure": #ff5252,
"danger": #ff1744,
"bug": #f50057,
"example": #651fff,
"quote": #9e9e9e,
) !default;
// Color map of the admonition background
$admonition-background-color-map: (
"note": rgba(68, 138, 255, 0.1),
"abstract": rgba(0, 176, 255, 0.1),
"info": rgba(0, 184, 212, 0.1),
"tip": rgba(0, 191, 165, 0.1),
"success": rgba(0, 200, 83, 0.1),
"question": rgba(100, 221, 23, 0.1),
"warning": rgba(255, 145, 0, 0.1),
"failure": rgba(255, 82, 82, 0.1),
"danger": rgba(255, 23, 68, 0.1),
"bug": rgba(245, 0, 87, 0.1),
"example": rgba(101, 31, 255, 0.1),
"quote": rgba(159, 159, 159, 0.1),
) !default;
// ========== Admonition ========== //
$MAX_LENGTH: 12000px;

View file

@ -0,0 +1,19 @@
@charset "utf-8";
@import "_variables";
@import "_override";
@import "_mixin/index";
@import "_core/base";
@import "_core/layout";
@import "_page/index";
@import "_partial/header";
@import "_partial/footer";
@import "_partial/pagination";
@import "_core/media";
@import "_custom";

View file

@ -0,0 +1,66 @@
prefix:
libFiles: https://cdn.jsdelivr.net/npm/
# simple-icons@2.14.0 https://github.com/simple-icons/simple-icons
simpleIcons: https://cdn.jsdelivr.net/npm/simple-icons@2.14.0/icons/
libFiles:
# normalize.css@8.0.1 https://github.com/necolas/normalize.css
normalizeCSS: normalize.css@8.0.1/normalize.min.css
# fontawesome-free@5.13.0 https://fontawesome.com/
fontawesomeFreeCSS: '@fortawesome/fontawesome-free@5.13.0/css/all.min.css'
# animate.css@3.7.2 https://github.com/daneden/animate.css
animateCSS: animate.css@3.7.2/animate.min.css
# smooth-scroll@16.1.3 https://github.com/cferdinandi/smooth-scroll
smoothScrollJS: smooth-scroll@16.1.3/dist/smooth-scroll.min.js
# autocomplete.js@0.37.1 https://github.com/algolia/autocomplete.js
autocompleteJS: autocomplete.js@0.37.1/dist/autocomplete.min.js
# lunr.js@2.3.8 https://lunrjs.com/
lunrJS: lunr@2.3.8/lunr.min.js
# algoliasearch@4.2.0 https://github.com/algolia/algoliasearch-client-javascript
algoliasearchJS: algoliasearch@4.2.0/dist/algoliasearch-lite.umd.min.js
# lazysizes@5.2.2 https://github.com/aFarkas/lazysizes
lazysizesJS: lazysizes@5.2.2/lazysizes.min.js
# object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
objectFitImagesJS: object-fit-images@3.2.4/dist/ofi.min.js
# twemoji@13.0.0 https://github.com/twitter/twemoji
twemojiJS: twemoji@13.0.0/dist/twemoji.min.js
# lightgallery.js@1.2.0 https://github.com/sachinchoolur/lightgallery.js
# lg-thumbnail.js@1.2.0 https://github.com/sachinchoolur/lg-thumbnail.js
# lg-zoom.js@1.2.0 https://github.com/sachinchoolur/lg-zoom.js
lightgalleryCSS: lightgallery.js@1.2.0/dist/css/lightgallery.min.css
lightgalleryJS: lightgallery.js@1.2.0/dist/js/lightgallery.min.js
lightgalleryThumbnailJS: lg-thumbnail.js@1.2.0/dist/lg-thumbnail.min.js
lightgalleryZoomJS: lg-zoom.js@1.2.0/dist/lg-zoom.min.js
# clipboard.js@2.0.6 https://github.com/zenorocha/clipboard.js
clipboardJS: clipboard@2.0.6/dist/clipboard.min.js
# sharer.js@0.4.0 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js@0.4.0/sharer.min.js
# typeit@7.0.4 https://github.com/alexmacarthur/typeit
typeitJS: typeit@7.0.4/dist/typeit.min.js
# katex@0.11.1 https://katex.org/
katexCSS: katex@0.11.1/dist/katex.min.css
katexJS: katex@0.11.1/dist/katex.min.js
katexAutoRenderJS: katex@0.11.1/dist/contrib/auto-render.min.js
katexCopyTexCSS: katex@0.11.1/dist/contrib/copy-tex.min.css
katexCopyTexJS: katex@0.11.1/dist/contrib/copy-tex.min.js
katexMhchemJS: katex@0.11.1/dist/contrib/mhchem.min.js
# mermaid@8.5.1 https://github.com/knsv/mermaid
mermaidJS: mermaid@8.5.1/dist/mermaid.min.js
# echarts@4.8.0 https://echarts.apache.org/
echartsJS: echarts@4.8.0/dist/echarts.min.js
echartsMacaronsJS: echarts@4.8.0/theme/macarons.min.js
# mapbox-gl@1.10.1 https://docs.mapbox.com/mapbox-gl-js
mapboxGLCSS: mapbox-gl@1.10.1/dist/mapbox-gl.min.css
mapboxGLJS: mapbox-gl@1.10.1/dist/mapbox-gl.min.js
# aplayer@1.10.1 https://github.com/MoePlayer/APlayer
aplayerCSS: aplayer@1.10.1/dist/APlayer.min.css
aplayerJS: aplayer@1.10.1/dist/APlayer.min.js
# meting@2.0.1 https://github.com/metowolf/MetingJS
metingJS: meting@2.0.1/dist/Meting.min.js
# gitalk@1.6.2 https://github.com/gitalk/gitalk
gitalkCSS: gitalk@1.6.2/dist/gitalk.min.css
gitalkJS: gitalk@1.6.2/dist/gitalk.min.js
# valine@1.4.14 https://valine.js.org/
valineJS: valine@1.4.14/dist/Valine.min.js
# cookieconsent@3.1.1 https://github.com/osano/cookieconsent
cookieconsentCSS: cookieconsent@3.1.1/build/cookieconsent.min.css
cookieconsentJS: cookieconsent@3.1.1/build/cookieconsent.min.js

View file

@ -0,0 +1,150 @@
emojiCDN: 'https://cdn.jsdelivr.net/npm/emoji-datasource-apple@5.0.1/img/apple/64/'
emojiMaps:
'100': 1f4af.png
grinning: 1f600.png
smiley: 1f603.png
smile: 1f604.png
grin: 1f601.png
laughing: 1f606.png
sweat_smile: 1f605.png
rolling_on_the_floor_laughing: 1f923.png
joy: 1f602.png
slightly_smiling_face: 1f642.png
upside_down_face: 1f643.png
wink: 1f609.png
blush: 1f60a.png
innocent: 1f607.png
smiling_face_with_3_hearts: 1f970.png
heart_eyes: 1f60d.png
star-struck: 1f929.png
kissing_heart: 1f618.png
kissing: 1f617.png
relaxed: 263a-fe0f.png
kissing_closed_eyes: 1f61a.png
kissing_smiling_eyes: 1f619.png
yum: 1f60b.png
stuck_out_tongue: 1f61b.png
stuck_out_tongue_winking_eye: 1f61c.png
zany_face: 1f92a.png
stuck_out_tongue_closed_eyes: 1f61d.png
money_mouth_face: 1f911.png
hugging_face: 1f917.png
face_with_hand_over_mouth: 1f92d.png
shushing_face: 1f92b.png
thinking_face: 1f914.png
zipper_mouth_face: 1f910.png
face_with_raised_eyebrow: 1f928.png
neutral_face: 1f610.png
expressionless: 1f611.png
no_mouth: 1f636.png
smirk: 1f60f.png
unamused: 1f612.png
face_with_rolling_eyes: 1f644.png
grimacing: 1f62c.png
lying_face: 1f925.png
relieved: 1f60c.png
pensive: 1f614.png
sleepy: 1f62a.png
drooling_face: 1f924.png
sleeping: 1f634.png
mask: 1f637.png
face_with_thermometer: 1f912.png
face_with_head_bandage: 1f915.png
nauseated_face: 1f922.png
face_vomiting: 1f92e.png
sneezing_face: 1f927.png
hot_face: 1f975.png
cold_face: 1f976.png
woozy_face: 1f974.png
dizzy_face: 1f635.png
exploding_head: 1f92f.png
face_with_cowboy_hat: 1f920.png
partying_face: 1f973.png
sunglasses: 1f60e.png
nerd_face: 1f913.png
face_with_monocle: 1f9d0.png
confused: 1f615.png
worried: 1f61f.png
slightly_frowning_face: 1f641.png
white_frowning_face: 2639-fe0f.png
open_mouth: 1f62e.png
hushed: 1f62f.png
astonished: 1f632.png
flushed: 1f633.png
pleading_face: 1f97a.png
frowning: 1f626.png
anguished: 1f627.png
fearful: 1f628.png
cold_sweat: 1f630.png
disappointed_relieved: 1f625.png
cry: 1f622.png
sob: 1f62d.png
scream: 1f631.png
confounded: 1f616.png
persevere: 1f623.png
disappointed: 1f61e.png
sweat: 1f613.png
weary: 1f629.png
tired_face: 1f62b.png
yawning_face: 1f971.png
triumph: 1f624.png
rage: 1f621.png
angry: 1f620.png
face_with_symbols_on_mouth: 1f92c.png
smiling_imp: 1f608.png
imp: 1f47f.png
skull: 1f480.png
skull_and_crossbones: 2620-fe0f.png
hankey: 1f4a9.png
clown_face: 1f921.png
japanese_ogre: 1f479.png
japanese_goblin: 1f47a.png
ghost: 1f47b.png
alien: 1f47d.png
space_invader: 1f47e.png
robot_face: 1f916.png
smiley_cat: 1f63a.png
smile_cat: 1f638.png
joy_cat: 1f639.png
heart_eyes_cat: 1f63b.png
smirk_cat: 1f63c.png
kissing_cat: 1f63d.png
scream_cat: 1f640.png
crying_cat_face: 1f63f.png
pouting_cat: 1f63e.png
see_no_evil: 1f648.png
hear_no_evil: 1f649.png
speak_no_evil: 1f64a.png
kiss: 1f48b.png
love_letter: 1f48c.png
cupid: 1f498.png
gift_heart: 1f49d.png
sparkling_heart: 1f496.png
heartpulse: 1f497.png
heartbeat: 1f493.png
revolving_hearts: 1f49e.png
two_hearts: 1f495.png
heart_decoration: 1f49f.png
heavy_heart_exclamation_mark_ornament: 2763-fe0f.png
broken_heart: 1f494.png
heart: 2764-fe0f.png
orange_heart: 1f9e1.png
yellow_heart: 1f49b.png
green_heart: 1f49a.png
blue_heart: 1f499.png
purple_heart: 1f49c.png
brown_heart: 1f90e.png
black_heart: 1f5a4.png
white_heart: 1f90d.png
anger: 1f4a2.png
boom: 1f4a5.png
dizzy: 1f4ab.png
sweat_drops: 1f4a6.png
dash: 1f4a8.png
hole: 1f573-fe0f.png
bomb: 1f4a3.png
speech_balloon: 1f4ac.png
left_speech_bubble: 1f5e8-fe0f.png
right_anger_bubble: 1f5ef-fe0f.png
thought_balloon: 1f4ad.png
zzz: 1f4a4.png

View file

@ -0,0 +1,150 @@
emojiCDN: 'https://cdn.jsdelivr.net/npm/emoji-datasource-facebook@5.0.1/img/facebook/64/'
emojiMaps:
'100': 1f4af.png
grinning: 1f600.png
smiley: 1f603.png
smile: 1f604.png
grin: 1f601.png
laughing: 1f606.png
sweat_smile: 1f605.png
rolling_on_the_floor_laughing: 1f923.png
joy: 1f602.png
slightly_smiling_face: 1f642.png
upside_down_face: 1f643.png
wink: 1f609.png
blush: 1f60a.png
innocent: 1f607.png
smiling_face_with_3_hearts: 1f970.png
heart_eyes: 1f60d.png
star-struck: 1f929.png
kissing_heart: 1f618.png
kissing: 1f617.png
relaxed: 263a-fe0f.png
kissing_closed_eyes: 1f61a.png
kissing_smiling_eyes: 1f619.png
yum: 1f60b.png
stuck_out_tongue: 1f61b.png
stuck_out_tongue_winking_eye: 1f61c.png
zany_face: 1f92a.png
stuck_out_tongue_closed_eyes: 1f61d.png
money_mouth_face: 1f911.png
hugging_face: 1f917.png
face_with_hand_over_mouth: 1f92d.png
shushing_face: 1f92b.png
thinking_face: 1f914.png
zipper_mouth_face: 1f910.png
face_with_raised_eyebrow: 1f928.png
neutral_face: 1f610.png
expressionless: 1f611.png
no_mouth: 1f636.png
smirk: 1f60f.png
unamused: 1f612.png
face_with_rolling_eyes: 1f644.png
grimacing: 1f62c.png
lying_face: 1f925.png
relieved: 1f60c.png
pensive: 1f614.png
sleepy: 1f62a.png
drooling_face: 1f924.png
sleeping: 1f634.png
mask: 1f637.png
face_with_thermometer: 1f912.png
face_with_head_bandage: 1f915.png
nauseated_face: 1f922.png
face_vomiting: 1f92e.png
sneezing_face: 1f927.png
hot_face: 1f975.png
cold_face: 1f976.png
woozy_face: 1f974.png
dizzy_face: 1f635.png
exploding_head: 1f92f.png
face_with_cowboy_hat: 1f920.png
partying_face: 1f973.png
sunglasses: 1f60e.png
nerd_face: 1f913.png
face_with_monocle: 1f9d0.png
confused: 1f615.png
worried: 1f61f.png
slightly_frowning_face: 1f641.png
white_frowning_face: 2639-fe0f.png
open_mouth: 1f62e.png
hushed: 1f62f.png
astonished: 1f632.png
flushed: 1f633.png
pleading_face: 1f97a.png
frowning: 1f626.png
anguished: 1f627.png
fearful: 1f628.png
cold_sweat: 1f630.png
disappointed_relieved: 1f625.png
cry: 1f622.png
sob: 1f62d.png
scream: 1f631.png
confounded: 1f616.png
persevere: 1f623.png
disappointed: 1f61e.png
sweat: 1f613.png
weary: 1f629.png
tired_face: 1f62b.png
yawning_face: 1f971.png
triumph: 1f624.png
rage: 1f621.png
angry: 1f620.png
face_with_symbols_on_mouth: 1f92c.png
smiling_imp: 1f608.png
imp: 1f47f.png
skull: 1f480.png
skull_and_crossbones: 2620-fe0f.png
hankey: 1f4a9.png
clown_face: 1f921.png
japanese_ogre: 1f479.png
japanese_goblin: 1f47a.png
ghost: 1f47b.png
alien: 1f47d.png
space_invader: 1f47e.png
robot_face: 1f916.png
smiley_cat: 1f63a.png
smile_cat: 1f638.png
joy_cat: 1f639.png
heart_eyes_cat: 1f63b.png
smirk_cat: 1f63c.png
kissing_cat: 1f63d.png
scream_cat: 1f640.png
crying_cat_face: 1f63f.png
pouting_cat: 1f63e.png
see_no_evil: 1f648.png
hear_no_evil: 1f649.png
speak_no_evil: 1f64a.png
kiss: 1f48b.png
love_letter: 1f48c.png
cupid: 1f498.png
gift_heart: 1f49d.png
sparkling_heart: 1f496.png
heartpulse: 1f497.png
heartbeat: 1f493.png
revolving_hearts: 1f49e.png
two_hearts: 1f495.png
heart_decoration: 1f49f.png
heavy_heart_exclamation_mark_ornament: 2763-fe0f.png
broken_heart: 1f494.png
heart: 2764-fe0f.png
orange_heart: 1f9e1.png
yellow_heart: 1f49b.png
green_heart: 1f49a.png
blue_heart: 1f499.png
purple_heart: 1f49c.png
brown_heart: 1f90e.png
black_heart: 1f5a4.png
white_heart: 1f90d.png
anger: 1f4a2.png
boom: 1f4a5.png
dizzy: 1f4ab.png
sweat_drops: 1f4a6.png
dash: 1f4a8.png
hole: 1f573-fe0f.png
bomb: 1f4a3.png
speech_balloon: 1f4ac.png
left_speech_bubble: 1f5e8-fe0f.png
right_anger_bubble: 1f5ef-fe0f.png
thought_balloon: 1f4ad.png
zzz: 1f4a4.png

View file

@ -0,0 +1,150 @@
emojiCDN: 'https://cdn.jsdelivr.net/npm/emoji-datasource-google@5.0.1/img/google/64/'
emojiMaps:
'100': 1f4af.png
grinning: 1f600.png
smiley: 1f603.png
smile: 1f604.png
grin: 1f601.png
laughing: 1f606.png
sweat_smile: 1f605.png
rolling_on_the_floor_laughing: 1f923.png
joy: 1f602.png
slightly_smiling_face: 1f642.png
upside_down_face: 1f643.png
wink: 1f609.png
blush: 1f60a.png
innocent: 1f607.png
smiling_face_with_3_hearts: 1f970.png
heart_eyes: 1f60d.png
star-struck: 1f929.png
kissing_heart: 1f618.png
kissing: 1f617.png
relaxed: 263a-fe0f.png
kissing_closed_eyes: 1f61a.png
kissing_smiling_eyes: 1f619.png
yum: 1f60b.png
stuck_out_tongue: 1f61b.png
stuck_out_tongue_winking_eye: 1f61c.png
zany_face: 1f92a.png
stuck_out_tongue_closed_eyes: 1f61d.png
money_mouth_face: 1f911.png
hugging_face: 1f917.png
face_with_hand_over_mouth: 1f92d.png
shushing_face: 1f92b.png
thinking_face: 1f914.png
zipper_mouth_face: 1f910.png
face_with_raised_eyebrow: 1f928.png
neutral_face: 1f610.png
expressionless: 1f611.png
no_mouth: 1f636.png
smirk: 1f60f.png
unamused: 1f612.png
face_with_rolling_eyes: 1f644.png
grimacing: 1f62c.png
lying_face: 1f925.png
relieved: 1f60c.png
pensive: 1f614.png
sleepy: 1f62a.png
drooling_face: 1f924.png
sleeping: 1f634.png
mask: 1f637.png
face_with_thermometer: 1f912.png
face_with_head_bandage: 1f915.png
nauseated_face: 1f922.png
face_vomiting: 1f92e.png
sneezing_face: 1f927.png
hot_face: 1f975.png
cold_face: 1f976.png
woozy_face: 1f974.png
dizzy_face: 1f635.png
exploding_head: 1f92f.png
face_with_cowboy_hat: 1f920.png
partying_face: 1f973.png
sunglasses: 1f60e.png
nerd_face: 1f913.png
face_with_monocle: 1f9d0.png
confused: 1f615.png
worried: 1f61f.png
slightly_frowning_face: 1f641.png
white_frowning_face: 2639-fe0f.png
open_mouth: 1f62e.png
hushed: 1f62f.png
astonished: 1f632.png
flushed: 1f633.png
pleading_face: 1f97a.png
frowning: 1f626.png
anguished: 1f627.png
fearful: 1f628.png
cold_sweat: 1f630.png
disappointed_relieved: 1f625.png
cry: 1f622.png
sob: 1f62d.png
scream: 1f631.png
confounded: 1f616.png
persevere: 1f623.png
disappointed: 1f61e.png
sweat: 1f613.png
weary: 1f629.png
tired_face: 1f62b.png
yawning_face: 1f971.png
triumph: 1f624.png
rage: 1f621.png
angry: 1f620.png
face_with_symbols_on_mouth: 1f92c.png
smiling_imp: 1f608.png
imp: 1f47f.png
skull: 1f480.png
skull_and_crossbones: 2620-fe0f.png
hankey: 1f4a9.png
clown_face: 1f921.png
japanese_ogre: 1f479.png
japanese_goblin: 1f47a.png
ghost: 1f47b.png
alien: 1f47d.png
space_invader: 1f47e.png
robot_face: 1f916.png
smiley_cat: 1f63a.png
smile_cat: 1f638.png
joy_cat: 1f639.png
heart_eyes_cat: 1f63b.png
smirk_cat: 1f63c.png
kissing_cat: 1f63d.png
scream_cat: 1f640.png
crying_cat_face: 1f63f.png
pouting_cat: 1f63e.png
see_no_evil: 1f648.png
hear_no_evil: 1f649.png
speak_no_evil: 1f64a.png
kiss: 1f48b.png
love_letter: 1f48c.png
cupid: 1f498.png
gift_heart: 1f49d.png
sparkling_heart: 1f496.png
heartpulse: 1f497.png
heartbeat: 1f493.png
revolving_hearts: 1f49e.png
two_hearts: 1f495.png
heart_decoration: 1f49f.png
heavy_heart_exclamation_mark_ornament: 2763-fe0f.png
broken_heart: 1f494.png
heart: 2764-fe0f.png
orange_heart: 1f9e1.png
yellow_heart: 1f49b.png
green_heart: 1f49a.png
blue_heart: 1f499.png
purple_heart: 1f49c.png
brown_heart: 1f90e.png
black_heart: 1f5a4.png
white_heart: 1f90d.png
anger: 1f4a2.png
boom: 1f4a5.png
dizzy: 1f4ab.png
sweat_drops: 1f4a6.png
dash: 1f4a8.png
hole: 1f573-fe0f.png
bomb: 1f4a3.png
speech_balloon: 1f4ac.png
left_speech_bubble: 1f5e8-fe0f.png
right_anger_bubble: 1f5ef-fe0f.png
thought_balloon: 1f4ad.png
zzz: 1f4a4.png

View file

@ -0,0 +1,150 @@
emojiCDN: 'https://cdn.jsdelivr.net/npm/emoji-datasource-twitter@5.0.1/img/twitter/64/'
emojiMaps:
'100': 1f4af.png
grinning: 1f600.png
smiley: 1f603.png
smile: 1f604.png
grin: 1f601.png
laughing: 1f606.png
sweat_smile: 1f605.png
rolling_on_the_floor_laughing: 1f923.png
joy: 1f602.png
slightly_smiling_face: 1f642.png
upside_down_face: 1f643.png
wink: 1f609.png
blush: 1f60a.png
innocent: 1f607.png
smiling_face_with_3_hearts: 1f970.png
heart_eyes: 1f60d.png
star-struck: 1f929.png
kissing_heart: 1f618.png
kissing: 1f617.png
relaxed: 263a-fe0f.png
kissing_closed_eyes: 1f61a.png
kissing_smiling_eyes: 1f619.png
yum: 1f60b.png
stuck_out_tongue: 1f61b.png
stuck_out_tongue_winking_eye: 1f61c.png
zany_face: 1f92a.png
stuck_out_tongue_closed_eyes: 1f61d.png
money_mouth_face: 1f911.png
hugging_face: 1f917.png
face_with_hand_over_mouth: 1f92d.png
shushing_face: 1f92b.png
thinking_face: 1f914.png
zipper_mouth_face: 1f910.png
face_with_raised_eyebrow: 1f928.png
neutral_face: 1f610.png
expressionless: 1f611.png
no_mouth: 1f636.png
smirk: 1f60f.png
unamused: 1f612.png
face_with_rolling_eyes: 1f644.png
grimacing: 1f62c.png
lying_face: 1f925.png
relieved: 1f60c.png
pensive: 1f614.png
sleepy: 1f62a.png
drooling_face: 1f924.png
sleeping: 1f634.png
mask: 1f637.png
face_with_thermometer: 1f912.png
face_with_head_bandage: 1f915.png
nauseated_face: 1f922.png
face_vomiting: 1f92e.png
sneezing_face: 1f927.png
hot_face: 1f975.png
cold_face: 1f976.png
woozy_face: 1f974.png
dizzy_face: 1f635.png
exploding_head: 1f92f.png
face_with_cowboy_hat: 1f920.png
partying_face: 1f973.png
sunglasses: 1f60e.png
nerd_face: 1f913.png
face_with_monocle: 1f9d0.png
confused: 1f615.png
worried: 1f61f.png
slightly_frowning_face: 1f641.png
white_frowning_face: 2639-fe0f.png
open_mouth: 1f62e.png
hushed: 1f62f.png
astonished: 1f632.png
flushed: 1f633.png
pleading_face: 1f97a.png
frowning: 1f626.png
anguished: 1f627.png
fearful: 1f628.png
cold_sweat: 1f630.png
disappointed_relieved: 1f625.png
cry: 1f622.png
sob: 1f62d.png
scream: 1f631.png
confounded: 1f616.png
persevere: 1f623.png
disappointed: 1f61e.png
sweat: 1f613.png
weary: 1f629.png
tired_face: 1f62b.png
yawning_face: 1f971.png
triumph: 1f624.png
rage: 1f621.png
angry: 1f620.png
face_with_symbols_on_mouth: 1f92c.png
smiling_imp: 1f608.png
imp: 1f47f.png
skull: 1f480.png
skull_and_crossbones: 2620-fe0f.png
hankey: 1f4a9.png
clown_face: 1f921.png
japanese_ogre: 1f479.png
japanese_goblin: 1f47a.png
ghost: 1f47b.png
alien: 1f47d.png
space_invader: 1f47e.png
robot_face: 1f916.png
smiley_cat: 1f63a.png
smile_cat: 1f638.png
joy_cat: 1f639.png
heart_eyes_cat: 1f63b.png
smirk_cat: 1f63c.png
kissing_cat: 1f63d.png
scream_cat: 1f640.png
crying_cat_face: 1f63f.png
pouting_cat: 1f63e.png
see_no_evil: 1f648.png
hear_no_evil: 1f649.png
speak_no_evil: 1f64a.png
kiss: 1f48b.png
love_letter: 1f48c.png
cupid: 1f498.png
gift_heart: 1f49d.png
sparkling_heart: 1f496.png
heartpulse: 1f497.png
heartbeat: 1f493.png
revolving_hearts: 1f49e.png
two_hearts: 1f495.png
heart_decoration: 1f49f.png
heavy_heart_exclamation_mark_ornament: 2763-fe0f.png
broken_heart: 1f494.png
heart: 2764-fe0f.png
orange_heart: 1f9e1.png
yellow_heart: 1f49b.png
green_heart: 1f49a.png
blue_heart: 1f499.png
purple_heart: 1f49c.png
brown_heart: 1f90e.png
black_heart: 1f5a4.png
white_heart: 1f90d.png
anger: 1f4a2.png
boom: 1f4a5.png
dizzy: 1f4ab.png
sweat_drops: 1f4a6.png
dash: 1f4a8.png
hole: 1f573-fe0f.png
bomb: 1f4a3.png
speech_balloon: 1f4ac.png
left_speech_bubble: 1f5e8-fe0f.png
right_anger_bubble: 1f5ef-fe0f.png
thought_balloon: 1f4ad.png
zzz: 1f4a4.png

View file

@ -0,0 +1,22 @@
theme:
- html5shiv
- Object.values
- Promise
- fetch
- Element.prototype.after
smooth-scroll:
- Element.prototype.closest
- requestAnimationFrame
- CustomEvent
algoliasearch:
- Promise
- Object.entries
- Object.assign
TypeIt:
- Array.prototype.fill
- Array.prototype.find
- Array.from
- IntersectionObserver
- Math.sign
- Object.assign
- Promise

View file

@ -0,0 +1,511 @@
# 001: Github
github:
Weight: 1
Prefix: https://github.com/
Title: GitHub
Icon:
Class: fab fa-github-alt fa-fw
# 002: LinkedIn
linkedin:
Weight: 2
Prefix: https://linkedin.com/in/
Title: LinkedIn
Icon:
Class: fab fa-linkedin fa-fw
# 003: Twitter
twitter:
Weight: 3
Prefix: https://twitter.com/
Title: Twitter
Icon:
Class: fab fa-twitter fa-fw
# 004: Instagram
instagram:
Weight: 4
Prefix: https://www.instagram.com/
Title: Instagram
Icon:
Class: fab fa-instagram fa-fw
# 005: facebook
facebook:
Weight: 5
Prefix: https://facebook.com/
Title: facebook
Icon:
Class: fab fa-facebook fa-fw
# 006: Telegram
telegram:
Weight: 6
Prefix: https://t.me/
Title: Telegram
Icon:
Class: fab fa-telegram-plane fa-fw
# 007: Medium
medium:
Weight: 7
Prefix: https://medium.com/
Title: Medium
Icon:
Class: fab fa-medium fa-fw
# 008: GitLab
gitlab:
Weight: 8
Prefix: https://gitlab.com/
Title: GitLab
Icon:
Class: fab fa-gitlab fa-fw
# 009: YouTube Legacy
youtubelegacy:
Weight: 9
Prefix: https://www.youtube.com/user/
Title: YouTube
Icon:
Class: fab fa-youtube fa-fw
# 010: YouTube Custom
youtubecustom:
Weight: 10
Prefix: https://www.youtube.com/c/
Title: YouTube
Icon:
Class: fab fa-youtube fa-fw
# 011: YouTube Channel
youtubechannel:
Weight: 11
Prefix: https://www.youtube.com/channel/
Title: YouTube
Icon:
Class: fab fa-youtube fa-fw
# 012: Tumblr
tumblr:
Weight: 12
Template: https://%v.tumblr.com/
Title: Tumblr
Icon:
Class: fab fa-tumblr fa-fw
# 013: Quora
quora:
Weight: 13
Prefix: https://www.quora.com/profile/
Title: Quora
Icon:
Class: fab fa-quora fa-fw
# 014: Keybase
keybase:
Weight: 14
Prefix: https://keybase.io/
Title: Keybase
Icon:
Class: fab fa-keybase fa-fw
# 015: Pinterest
pinterest:
Weight: 15
Prefix: https://www.pinterest.com/
Title: Pinterest
Icon:
Class: fab fa-pinterest fa-fw
# 016: Reddit
reddit:
Weight: 16
Prefix: https://www.reddit.com/user/
Title: Reddit
Icon:
Class: fab fa-reddit fa-fw
# 017: CodePen
codepen:
Weight: 17
Prefix: https://codepen.io/
Title: CodePen
Icon:
Class: fab fa-codepen fa-fw
# 018: freeCodeCamp
freecodecamp:
Weight: 18
Prefix: https://freecodecamp.org/
Title: freeCodeCamp
Icon:
Class: fab fa-free-code-camp fa-fw
# 019: Bitbucket
bitbucket:
Weight: 19
Prefix: https://bitbucket.org/
Title: Bitbucket
Icon:
Class: fab fa-bitbucket fa-fw
# 020: Stack Overflow
stackoverflow:
Weight: 20
Prefix: https://stackoverflow.com/users/
Title: Stack Overflow
Icon:
Class: fab fa-codepen fa-fw
# 021: 微博
weibo:
Weight: 21
Prefix: https://weibo.com/
Title: 微博
Icon:
Class: fab fa-weibo fa-fw
# 022: OK.RU
odnoklassniki:
Weight: 22
Prefix: https://ok.ru/
Title: OK.RU
Icon:
Class: fab fa-odnoklassniki fa-fw
# 023: VK
vk:
Weight: 23
Prefix: https://vk.com/
Title: VK
Icon:
Class: fab fa-vk fa-fw
# 024: Flickr
flickr:
Weight: 24
Prefix: https://www.flickr.com/photos/
Title: Flickr
Icon:
Class: fab fa-flickr fa-fw
# 025: Xing
xing:
Weight: 25
Prefix: https://www.xing.com/profile/
Title: Xing
Icon:
Class: fab fa-xing fa-fw
# 026: Snapchat
snapchat:
Weight: 26
Prefix: https://www.snapchat.com/add/
Title: Snapchat
Icon:
Class: fab fa-snapchat fa-fw
# 027: SoundCloud
soundcloud:
Weight: 27
Prefix: https://soundcloud.com/
Title: SoundCloud
Icon:
Class: fab fa-soundcloud fa-fw
# 028: Spotify
spotify:
Weight: 28
Prefix: https://open.spotify.com/user/
Title: Spotify
Icon:
Class: fab fa-spotify fa-fw
# 029: Bandcamp
bandcamp:
Weight: 29
Template: https://%v.bandcamp.com/
Title: Bandcamp
Icon:
Class: fab fa-bandcamp fa-fw
# 030: PayPal
paypal:
Weight: 30
Prefix: https://paypal.me/
Title: PayPal
Icon:
Class: fab fa-paypal fa-fw
# 031: 500px
fivehundredpx:
Weight: 31
Prefix: https://500px.com/
Title: 500px
Icon:
Class: fab fa-500px fa-fw
# 032: Mix
mix:
Weight: 32
Prefix: https://mix.com/
Title: Mix
Icon:
Class: fab fa-mix fa-fw
# 033: Goodreads
goodreads:
Weight: 33
Prefix: https://www.goodreads.com/user/show/
Title: Goodreads
Icon:
Class: fab fa-goodreads fa-fw
# 034: Last.fm
lastfm:
Weight: 34
Prefix: https://www.last.fm/user/
Title: Last.fm
Icon:
Class: fab fa-lastfm fa-fw
# 035: Foursquare
foursquare:
Weight: 35
Prefix: https://foursquare.com/
Title: Foursquare
Icon:
Class: fab fa-foursquare fa-fw
# 036: Hacker News
hackernews:
Weight: 36
Template: https://news.ycombinator.com/user?id=%v
Title: Hacker News
Icon:
Class: fab fa-hacker-news fa-fw
# 037: Kickstarter
kickstarter:
Weight: 37
Prefix: https://kickstarter.com/profile/
Title: Kickstarter
Icon:
Class: fab fa-kickstarter fa-fw
# 038: Patreon
patreon:
Weight: 38
Prefix: https://patreon.com/
Title: Patreon
Icon:
Class: fab fa-patreon fa-fw
# 039: Steam
steam:
Weight: 39
Prefix: https://steamcommunity.com/id/
Title: Steam
Icon:
Class: fab fa-steam fa-fw
# 040: Twitch
twitch:
Weight: 40
Prefix: https://www.twitch.tv/
Title: Twitch
Icon:
Class: fab fa-twitch fa-fw
# 041: Strava
strava:
Weight: 41
Prefix: https://www.strava.com/athletes/
Title: Strava
Icon:
Class: fab fa-strava fa-fw
# 042: Skype
skype:
Weight: 42
Template: "skype:"
Title: Skype
Icon:
Class: fab fa-skype fa-fw
# 043: WhatsApp
whatsapp:
Weight: 43
Prefix: https://wa.me/
Title: WhatsApp
Icon:
Class: fab fa-whatsapp fa-fw
# 044: 知乎
zhihu:
Weight: 44
Prefix: https://www.zhihu.com/people/
Title: 知乎
Icon:
Simpleicons: zhihu
# 045: 豆瓣
douban:
Weight: 45
Prefix: https://www.douban.com/people/
Title: 豆瓣
Icon:
Simpleicons: douban
# 046: Angellist
angellist:
Weight: 46
Prefix: https://angel.co/
Title: Angellist
Icon:
Class: fab fa-angellist fa-fw
# 047: SlideShare
slideshare:
Weight: 47
Prefix: https://slideshare.com/
Title: SlideShare
Icon:
Class: fab fa-slideshare fa-fw
# 048: JSFiddle
jsfiddle:
Weight: 48
Prefix: https://jsfiddle.com/
Title: JSFiddle
Icon:
Class: fab fa-jsfiddle fa-fw
# 049: DeviantArt
deviantart:
Weight: 49
Template: https://%v.deviantart.com/
Title: DeviantArt
Icon:
Class: fab fa-deviantart fa-fw
# 050: Behance
behance:
Weight: 50
Prefix: https://behance.net/
Title: Behance
Icon:
Class: fab fa-behance fa-fw
# 051: Dribbble
dribbble:
Weight: 51
Prefix: https://dribbble.com/
Title: Dribbble
Icon:
Class: fab fa-dribbble fa-fw
# 052: WordPress
wordpress:
Weight: 52
Template: https://%v.wordpress.com/
Title: WordPress
Icon:
Class: fab fa-wordpress fa-fw
# 053: Vine
vine:
Weight: 53
Prefix: https://vine.co/
Title: Vine
Icon:
Class: fab fa-vine fa-fw
# 054: Google Scholar
googlescholar:
Weight: 54
Template: https://scholar.google.com/citations?%v
Title: Google Scholar
Icon:
Simpleicons: googlescholar
# 055: ResearchGate
researchgate:
Weight: 55
Prefix: https://www.researchgate.net/profile/
Title: ResearchGate
Icon:
Class: fab fa-researchgate fa-fw
# 056: Mastodon
mastodon:
Weight: 56
Prefix: https://mastodon.social/
Title: Mastodon
Icon:
Class: fab fa-mastodon fa-fw
# 057: Thingiverse
thingiverse:
Weight: 57
Prefix: https://www.thingiverse.com/
Title: Thingiverse
Icon:
Src: svg/icons/thingiverse.svg
# 058: Dev.To
devto:
Weight: 58
Prefix: https://dev.to/
Title: Dev.To
Icon:
Class: fab fa-dev fa-fw
# 059: Gitea
gitea:
Weight: 59
Title: Gitea
Icon:
Simpleicons: gitea
# 060: XMPP
xmpp:
Weight: 60
Template: xmpp:%v
Title: XMPP
Icon:
Simpleicons: xmpp
# 061: Matrix
matrix:
Weight: 61
Prefix: https://matrix.to/#/
Title: Matrix
Icon:
Simpleicons: matrix
# 062: bilibili
bilibili:
Weight: 62
Prefix: https://space.bilibili.com/
Title: bilibili
Icon:
Src: svg/icons/bilibili.svg
# 063: Email
email:
Weight: 63
Template: mailto:%v
Title: Email
Icon:
Class: far fa-envelope fa-fw
# 064: RSS
rss:
Weight: 64
Url: /index.xml
Title: RSS
Newtab: true
Icon:
Class: fas fa-rss fa-fw

3
themes/CodeIT/assets/js/theme.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,26 @@
normalize.css@8.0.1 https://github.com/necolas/normalize.css
fontawesome-free@5.13.0 https://fontawesome.com/
simple-icons@2.14.0 https://github.com/simple-icons/simple-icons
animate.css@3.7.2 https://github.com/daneden/animate.css
smooth-scroll@16.1.3 https://github.com/cferdinandi/smooth-scroll
autocomplete.js@0.37.1 https://github.com/algolia/autocomplete.js
lunr.js@2.3.8 https://lunrjs.com/
algoliasearch@4.2.0 https://github.com/algolia/algoliasearch-client-javascript
lazysizes@5.2.2 https://github.com/aFarkas/lazysizes
object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
twemoji@13.0.0 https://github.com/twitter/twemoji
lightgallery.js@1.2.0 https://github.com/sachinchoolur/lightgallery.js
lg-thumbnail.js@1.2.0 https://github.com/sachinchoolur/lg-thumbnail.js
lg-zoom.js@1.2.0 https://github.com/sachinchoolur/lg-zoom.js
clipboard.js@2.0.6 https://github.com/zenorocha/clipboard.js
sharer.js@0.4.0 https://github.com/ellisonleao/sharer.js
typeit@7.0.4 https://github.com/alexmacarthur/typeit
katex@0.11.1 https://katex.org/
mermaid@8.5.1 https://github.com/knsv/mermaid
echarts@4.8.0 https://echarts.apache.org/
mapbox-gl@1.10.1 https://github.com/mapbox/mapbox-gl-js
aplayer@1.10.1 https://github.com/MoePlayer/APlayer
meting@2.0.1 https://github.com/metowolf/MetingJS
gitalk@1.6.2 https://github.com/gitalk/gitalk
valine@1.4.14 https://valine.js.org/
cookieconsent@3.1.1 https://github.com/osano/cookieconsent

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,136 @@
[theme="dark"] .aplayer {
background: #212121;
&.aplayer-withlist {
.aplayer-info {
border-bottom-color: #5c5c5c;
}
}
&.aplayer-fixed {
.aplayer-list {
border-color: #5c5c5c;
}
}
.aplayer-body {
background-color: #212121;
}
.aplayer-info {
border-top-color: #212121;
}
.aplayer-info {
.aplayer-music {
.aplayer-title {
color: #fff;
}
.aplayer-author {
color: #fff;
}
}
.aplayer-controller {
.aplayer-time {
color: #eee;
.aplayer-icon {
path {
fill: #eee;
}
}
}
}
}
.aplayer-list {
background-color: #212121;
&::-webkit-scrollbar-thumb {
background-color: #999;
}
&::-webkit-scrollbar-thumb:hover {
background-color: #bbb;
}
li {
color: #fff;
border-top-color: #666;
&:hover {
background: #4e4e4e;
}
&.aplayer-list-light {
background: #6c6c6c;
}
.aplayer-list-index {
color: #ddd;
}
.aplayer-list-author {
color: #ddd;
}
}
}
.aplayer-lrc {
text-shadow: -1px -1px 0 #666;
&:before {
background: -moz-linear-gradient(
top,
rgba(33, 33, 33, 1) 0%,
rgba(33, 33, 33, 0) 100%
);
background: -webkit-linear-gradient(
top,
rgba(33, 33, 33, 1) 0%,
rgba(33, 33, 33, 0) 100%
);
background: linear-gradient(
to bottom,
rgba(33, 33, 33, 1) 0%,
rgba(33, 33, 33, 0) 100%
);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#212121', endColorstr='#00212121',GradientType=0 );
}
&:after {
background: -moz-linear-gradient(
top,
rgba(33, 33, 33, 0) 0%,
rgba(33, 33, 33, 0.8) 100%
);
background: -webkit-linear-gradient(
top,
rgba(33, 33, 33, 0) 0%,
rgba(33, 33, 33, 0.8) 100%
);
background: linear-gradient(
to bottom,
rgba(33, 33, 33, 0) 0%,
rgba(33, 33, 33, 0.8) 100%
);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00212121', endColorstr='#cc212121',GradientType=0 );
}
p {
color: #fff;
}
}
.aplayer-miniswitcher {
background: #484848;
.aplayer-icon {
path {
fill: #eee;
}
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,6 @@
.cc-window{opacity:1;-webkit-transition:opacity 1s ease;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{-webkit-transition:transform 1s ease;-webkit-transition:-webkit-transform 1s ease;transition:-webkit-transform 1s ease;transition:transform 1s ease;transition:transform 1s ease,-webkit-transform 1s ease}.cc-animate.cc-revoke.cc-top{-webkit-transform:translateY(-2em);transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{-webkit-transform:translateY(2em);transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-top{-webkit-transform:translateY(0);transform:translateY(0)}.cc-animate.cc-revoke.cc-active.cc-bottom{-webkit-transform:translateY(0);transform:translateY(0)}.cc-revoke:hover{-webkit-transform:translateY(0);transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;-webkit-transition:max-height 1s;transition:max-height 1s}
.cc-revoke,.cc-window{position:fixed;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:.5em}.cc-revoke:hover{text-decoration:underline}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em;text-decoration:underline}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}
.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.cc-window.cc-banner{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;max-width:100%;margin-right:1em}.cc-compliance{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-floating .cc-compliance>.cc-btn{-webkit-box-flex:1;-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:.5em}
@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px) and (orientation:portrait),screen and (max-width:736px) and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-floating,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}.cc-window.cc-banner .cc-message{margin-right:0}}
.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-webkit-box-flex:0;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}
.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em;margin-bottom:1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,240 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
(function (root, factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
define(["exports", "echarts"], factory);
} else if (
typeof exports === "object" &&
typeof exports.nodeName !== "string"
) {
// CommonJS
factory(exports, require("echarts"));
} else {
// Browser globals
factory({}, root.echarts);
}
})(this, function (exports, echarts) {
var log = function (msg) {
if (typeof console !== "undefined") {
console && console.error && console.error(msg);
}
};
if (!echarts) {
log("ECharts is not Loaded");
return;
}
var colorPalette = [
"#2ec7c9",
"#b6a2de",
"#5ab1ef",
"#ffb980",
"#d87a80",
"#8d98b3",
"#e5cf0d",
"#97b552",
"#95706d",
"#dc69aa",
"#07a2a4",
"#9a7fd1",
"#588dd5",
"#f5994e",
"#c05050",
"#59678c",
"#c9ab00",
"#7eb00a",
"#6f5553",
"#c14089",
];
var theme = {
color: colorPalette,
title: {
textStyle: {
fontWeight: "normal",
color: "#008acd",
},
},
visualMap: {
itemWidth: 15,
color: ["#5ab1ef", "#e0ffff"],
},
toolbox: {
iconStyle: {
normal: {
borderColor: colorPalette[0],
},
},
},
tooltip: {
backgroundColor: "rgba(50,50,50,0.5)",
axisPointer: {
type: "line",
lineStyle: {
color: "#008acd",
},
crossStyle: {
color: "#008acd",
},
shadowStyle: {
color: "rgba(200,200,200,0.2)",
},
},
},
dataZoom: {
dataBackgroundColor: "#efefff",
fillerColor: "rgba(182,162,222,0.2)",
handleColor: "#008acd",
},
grid: {
borderColor: "#eee",
},
categoryAxis: {
axisLine: {
lineStyle: {
color: "#008acd",
},
},
splitLine: {
lineStyle: {
color: ["#eee"],
},
},
},
valueAxis: {
axisLine: {
lineStyle: {
color: "#008acd",
},
},
splitArea: {
show: true,
areaStyle: {
color: ["rgba(250,250,250,0.1)", "rgba(200,200,200,0.1)"],
},
},
splitLine: {
lineStyle: {
color: ["#eee"],
},
},
},
timeline: {
lineStyle: {
color: "#008acd",
},
controlStyle: {
color: "#008acd",
borderColor: "#008acd",
},
symbol: "emptyCircle",
symbolSize: 3,
},
line: {
smooth: true,
symbol: "emptyCircle",
symbolSize: 3,
},
candlestick: {
itemStyle: {
color: "#d87a80",
color0: "#2ec7c9",
},
lineStyle: {
width: 1,
color: "#d87a80",
color0: "#2ec7c9",
},
areaStyle: {
color: "#2ec7c9",
color0: "#b6a2de",
},
},
scatter: {
symbol: "circle",
symbolSize: 4,
},
map: {
itemStyle: {
color: "#ddd",
},
areaStyle: {
color: "#fe994e",
},
label: {
color: "#d87a80",
},
},
graph: {
itemStyle: {
color: "#d87a80",
},
linkStyle: {
color: "#2ec7c9",
},
},
gauge: {
axisLine: {
lineStyle: {
color: [
[0.2, "#2ec7c9"],
[0.8, "#5ab1ef"],
[1, "#d87a80"],
],
width: 10,
},
},
axisTick: {
splitNumber: 10,
length: 15,
lineStyle: {
color: "auto",
},
},
splitLine: {
length: 22,
lineStyle: {
color: "auto",
},
},
pointer: {
width: 5,
},
},
};
echarts.registerTheme("macarons", theme);
});

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("katex")):"function"==typeof define&&define.amd?define(["katex"],t):"object"==typeof exports?exports.renderMathInElement=t(require("katex")):e.renderMathInElement=t(e.katex)}("undefined"!=typeof self?self:this,function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(t,r){t.exports=e},function(e,t,r){"use strict";r.r(t);var n=r(0),o=r.n(n),a=function(e,t,r){for(var n=r,o=0,a=e.length;n<t.length;){var i=t[n];if(o<=0&&t.slice(n,n+a)===e)return n;"\\"===i?n++:"{"===i?o++:"}"===i&&o--,n++}return-1},i=function(e,t,r,n){for(var o=[],i=0;i<e.length;i++)if("text"===e[i].type){var l=e[i].data,d=!0,s=0,f=void 0;for(-1!==(f=l.indexOf(t))&&(s=f,o.push({type:"text",data:l.slice(0,s)}),d=!1);;){if(d){if(-1===(f=l.indexOf(t,s)))break;o.push({type:"text",data:l.slice(s,f)}),s=f}else{if(-1===(f=a(r,l,s+t.length)))break;o.push({type:"math",data:l.slice(s+t.length,f),rawData:l.slice(s,f+r.length),display:n}),s=f+r.length}d=!d}o.push({type:"text",data:l.slice(s)})}else o.push(e[i]);return o},l=function(e,t){for(var r=function(e,t){for(var r=[{type:"text",data:e}],n=0;n<t.length;n++){var o=t[n];r=i(r,o.left,o.right,o.display||!1)}return r}(e,t.delimiters),n=document.createDocumentFragment(),a=0;a<r.length;a++)if("text"===r[a].type)n.appendChild(document.createTextNode(r[a].data));else{var l=document.createElement("span"),d=r[a].data;t.displayMode=r[a].display;try{t.preProcess&&(d=t.preProcess(d)),o.a.render(d,l,t)}catch(e){if(!(e instanceof o.a.ParseError))throw e;t.errorCallback("KaTeX auto-render: Failed to parse `"+r[a].data+"` with ",e),n.appendChild(document.createTextNode(r[a].rawData));continue}n.appendChild(l)}return n};t.default=function(e,t){if(!e)throw new Error("No element provided to render");var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);r.delimiters=r.delimiters||[{left:"$$",right:"$$",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],r.ignoredTags=r.ignoredTags||["script","noscript","style","textarea","pre","code"],r.ignoredClasses=r.ignoredClasses||[],r.errorCallback=r.errorCallback||console.error,r.macros=r.macros||{},function e(t,r){for(var n=0;n<t.childNodes.length;n++){var o=t.childNodes[n];if(3===o.nodeType){var a=l(o.textContent,r);n+=a.childNodes.length-1,t.replaceChild(a,o)}else 1===o.nodeType&&function(){var t=" "+o.className+" ";-1===r.ignoredTags.indexOf(o.nodeName.toLowerCase())&&r.ignoredClasses.every(function(e){return-1===t.indexOf(" "+e+" ")})&&e(o,r)}()}}(e,r)}}]).default});

View file

@ -0,0 +1 @@
.katex,.katex-display{user-select:all;-moz-user-select:all;-webkit-user-select:all;-ms-user-select:all}

View file

@ -0,0 +1 @@
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(0);var r={inline:["$","$"],display:["$$","$$"]},o=function(e,t){void 0===t&&(t=r);for(var n=e.querySelectorAll(".katex-mathml + .katex-html"),o=0;o<n.length;o++){var l=n[o];l.remove?l.remove(null):l.parentNode.removeChild(l)}for(var i=e.querySelectorAll(".katex-mathml"),a=0;a<i.length;a++){var u=i[a],f=u.querySelector("annotation");f&&(u.replaceWith?u.replaceWith(f):u.parentNode.replaceChild(f,u),f.innerHTML=t.inline[0]+f.innerHTML+t.inline[1])}for(var c=e.querySelectorAll(".katex-display annotation"),d=0;d<c.length;d++){var p=c[d];p.innerHTML=t.display[0]+p.innerHTML.substr(t.inline[0].length,p.innerHTML.length-t.inline[0].length-t.inline[1].length)+t.display[1]}return e};document.addEventListener("copy",function(e){var t=window.getSelection();if(!t.isCollapsed){var n=t.getRangeAt(0).cloneContents();if(n.querySelector(".katex-mathml")){for(var r=[],l=0;l<n.childNodes.length;l++)r.push(n.childNodes[l].outerHTML);e.clipboardData.setData("text/html",r.join("")),e.clipboardData.setData("text/plain",o(n).textContent),e.preventDefault()}}})}]).default});

File diff suppressed because one or more lines are too long

1
themes/CodeIT/assets/lib/katex/katex.min.js vendored Executable file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more