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

@ -5,7 +5,7 @@ baseURL = "https://cullmann.io/"
title = "Ignorance is bliss..." title = "Ignorance is bliss..."
# theme hugo-coder # theme hugo-coder
theme = "LoveIt" theme = "CodeIT"
# content == english, Impressum is german # content == english, Impressum is german
languagecode = "en" languagecode = "en"

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
}

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

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))

View file

@ -2,6 +2,7 @@ The MIT License (MIT)
Copyright (c) 2018 LIUZHICHAO.COM Copyright (c) 2018 LIUZHICHAO.COM
Copyright (c) 2019 DILLONZQ.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 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 this software and associated documentation files (the "Software"), to deal in

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

@ -4,13 +4,13 @@ html {
font-display: swap; font-display: swap;
font-size: $global-font-size; font-size: $global-font-size;
line-height: $global-line-height; line-height: $global-line-height;
width:100%; width: 100%;
} }
/* scrollbar, only support webkit */ /* scrollbar, only support webkit */
::-webkit-scrollbar { ::-webkit-scrollbar {
width: .5rem; width: 0.5rem;
height: .5rem; height: 0.5rem;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
@ -24,7 +24,7 @@ html {
::selection { ::selection {
background-color: $selection-color; background-color: $selection-color;
[theme=dark] & { [theme="dark"] & {
background-color: $selection-color-dark; background-color: $selection-color-dark;
} }
} }
@ -35,7 +35,7 @@ body {
@include overflow-wrap(break-word); @include overflow-wrap(break-word);
scrollbar-color: auto; scrollbar-color: auto;
&[theme=dark] { &[theme="dark"] {
color: $global-font-color-dark; color: $global-font-color-dark;
background-color: $global-background-color-dark; background-color: $global-background-color-dark;
} }

View file

@ -56,7 +56,7 @@
padding-top: $header-height; padding-top: $header-height;
} }
[header-mobile=normal] & { [header-mobile="normal"] & {
padding-top: 0; padding-top: 0;
} }

View file

@ -47,19 +47,19 @@
} }
@mixin placeholder($color) { @mixin placeholder($color) {
input::-webkit-input-placeholder{ input::-webkit-input-placeholder {
color: $color; color: $color;
} }
input:-moz-placeholder{ input:-moz-placeholder {
color: $color; color: $color;
} }
input::-moz-placeholder{ input::-moz-placeholder {
color: $color; color: $color;
} }
input:-ms-input-placeholder{ input:-ms-input-placeholder {
color: $color; color: $color;
} }
@ -106,5 +106,5 @@
@mixin object-fit($value) { @mixin object-fit($value) {
-o-object-fit: $value; -o-object-fit: $value;
object-fit: $value; object-fit: $value;
font-family: 'object-fit: #{$value};'; font-family: "object-fit: #{$value};";
} }

View file

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

View file

@ -1,11 +1,11 @@
.home { .home {
.home-profile { .home-profile {
@include transform(translateY( 16vh)); @include transform(translateY(16vh));
padding: 0 0 .5rem; padding: 0 0 0.5rem;
text-align: center; text-align: center;
.home-avatar { .home-avatar {
padding: .5rem; padding: 0.5rem;
img { img {
display: inline-block; display: inline-block;
@ -13,12 +13,12 @@
height: auto; height: auto;
margin: 0 auto; margin: 0 auto;
@include border-radius(100%); @include border-radius(100%);
@include box-shadow(0 0 0 .3618em rgba(0, 0, 0, .05)); @include box-shadow(0 0 0 0.3618em rgba(0, 0, 0, 0.05));
@include transition(all 0.4s ease); @include transition(all 0.4s ease);
&:hover { &:hover {
position: relative; position: relative;
@include transform(translateY(-.75rem)); @include transform(translateY(-0.75rem));
} }
} }
} }
@ -27,18 +27,18 @@
font-size: 1.25rem; font-size: 1.25rem;
font-weight: bold; font-weight: bold;
margin: 0; margin: 0;
padding: .5rem; padding: 0.5rem;
} }
.home-subtitle { .home-subtitle {
font-size: 1rem; font-size: 1rem;
font-weight: normal; font-weight: normal;
margin: 0; margin: 0;
padding: .5rem; padding: 0.5rem;
} }
.links { .links {
padding: .5rem; padding: 0.5rem;
font-size: 1.5rem; font-size: 1.5rem;
a * { a * {
@ -47,7 +47,7 @@
img { img {
height: 1.5rem; height: 1.5rem;
padding: 0 .25rem; padding: 0 0.25rem;
} }
} }
@ -56,10 +56,10 @@
line-height: 1.5rem; line-height: 1.5rem;
font-weight: normal; font-weight: normal;
margin: 0; margin: 0;
padding: .5rem; padding: 0.5rem;
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
} }
@ -78,11 +78,11 @@
.summary { .summary {
padding-top: 1rem; padding-top: 1rem;
padding-bottom: .8rem; padding-bottom: 0.8rem;
color: $global-font-color; color: $global-font-color;
border-bottom: 1px dashed $global-border-color; border-bottom: 1px dashed $global-border-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-color-dark; color: $global-font-color-dark;
border-bottom: 1px dashed $global-border-color-dark; border-bottom: 1px dashed $global-border-color-dark;
} }
@ -121,14 +121,14 @@
.content { .content {
@include box(vertical); @include box(vertical);
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
margin-top: .3rem; margin-top: 0.3rem;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@include overflow-wrap(break-word); @include overflow-wrap(break-word);
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
@ -154,21 +154,22 @@
@include link(false, true); @include link(false, true);
b, strong { b,
strong {
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
} }
} }
.post-footer { .post-footer {
margin-top: .4rem; margin-top: 0.4rem;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
font-size: .875rem; font-size: 0.875rem;
@include link(false, false); @include link(false, false);

View file

@ -8,7 +8,7 @@
padding-top: $header-height; padding-top: $header-height;
} }
[header-desktop=normal] & { [header-desktop="normal"] & {
padding-top: 0; padding-top: 0;
} }

View file

@ -2,14 +2,14 @@
.single { .single {
.single-title { .single-title {
margin: 1rem 0 .5rem; margin: 1rem 0 0.5rem;
font-size: 1.6rem; font-size: 1.6rem;
font-weight: bold; font-weight: bold;
line-height: 140%; line-height: 140%;
} }
.single-subtitle { .single-subtitle {
margin: .4rem 0; margin: 0.4rem 0;
font-size: 1.2rem; font-size: 1.2rem;
font-weight: normal; font-weight: normal;
font-style: italic; font-style: italic;
@ -17,14 +17,14 @@
} }
.post-meta { .post-meta {
font-size: .875rem; font-size: 0.875rem;
color: $global-font-secondary-color; color: $global-font-secondary-color;
span { span {
display: inline-block; display: inline-block;
} }
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
@ -36,7 +36,7 @@
} }
.featured-image { .featured-image {
margin: .5rem 0 1rem 0; margin: 0.5rem 0 1rem 0;
img { img {
display: block; display: block;
@ -92,7 +92,7 @@
font-weight: bold; font-weight: bold;
margin: 1.2rem 0; margin: 1.2rem 0;
[theme=dark] & { [theme="dark"] & {
font-weight: bolder; font-weight: bolder;
} }
} }
@ -104,10 +104,10 @@
> h6 { > h6 {
> .header-mark::before { > .header-mark::before {
content: "|"; content: "|";
margin-right: .3125rem; margin-right: 0.3125rem;
color: $single-link-color; color: $single-link-color;
[theme=dark] & { [theme="dark"] & {
color: $single-link-color-dark; color: $single-link-color-dark;
} }
} }
@ -118,13 +118,14 @@
} }
p { p {
margin: .5rem 0; margin: 0.5rem 0;
} }
b, strong { b,
strong {
font-weight: bold; font-weight: bold;
[theme=dark] & { [theme="dark"] & {
color: #ddd; color: #ddd;
} }
} }
@ -134,17 +135,20 @@
a { a {
@include overflow-wrap(break-word); @include overflow-wrap(break-word);
[theme=dark] & b, [theme=dark] & strong { [theme="dark"] & b,
[theme="dark"] & strong {
color: $single-link-color-dark; color: $single-link-color-dark;
} }
} }
[theme=dark] a:hover b, [theme=dark] a:hover strong { [theme="dark"] a:hover b,
[theme="dark"] a:hover strong {
color: $single-link-hover-color-dark; color: $single-link-hover-color-dark;
} }
ul, ol { ul,
margin: .5rem 0; ol {
margin: 0.5rem 0;
padding-left: 2.5rem; padding-left: 2.5rem;
} }
@ -159,7 +163,7 @@
color: $global-font-secondary-color; color: $global-font-secondary-color;
} }
[theme=dark] & { [theme="dark"] & {
background: $code-background-color-dark; background: $code-background-color-dark;
rt { rt {
@ -174,7 +178,7 @@
&::-webkit-scrollbar { &::-webkit-scrollbar {
background-color: $table-background-color; background-color: $table-background-color;
[theme=dark] & { [theme="dark"] & {
background-color: $table-background-color-dark; background-color: $table-background-color-dark;
} }
} }
@ -182,28 +186,29 @@
> table { > table {
width: 100%; width: 100%;
max-width: 100%; max-width: 100%;
margin: .625rem 0; margin: 0.625rem 0;
border-spacing: 0; border-spacing: 0;
background: $table-background-color; background: $table-background-color;
border-collapse: collapse; border-collapse: collapse;
[theme=dark] & { [theme="dark"] & {
background: $table-background-color-dark; background: $table-background-color-dark;
} }
thead { thead {
background: $table-thead-color; background: $table-thead-color;
[theme=dark] & { [theme="dark"] & {
background-color: $table-thead-color-dark; background-color: $table-thead-color-dark;
} }
} }
th, td { th,
padding: .3rem 1rem; td {
padding: 0.3rem 1rem;
border: 1px solid darken($table-thead-color, 2%); border: 1px solid darken($table-thead-color, 2%);
[theme=dark] & { [theme="dark"] & {
border-color: darken($table-thead-color-dark, 2%); border-color: darken($table-thead-color-dark, 2%);
} }
} }
@ -216,16 +221,16 @@
} }
figure { figure {
margin: .5rem; margin: 0.5rem;
text-align: center; text-align: center;
.image-caption:not(:empty) { .image-caption:not(:empty) {
min-width: 20%; min-width: 20%;
max-width: 80%; max-width: 80%;
display: inline-block; display: inline-block;
padding: .5rem; padding: 0.5rem;
margin: 0 auto; margin: 0 auto;
font-size: .875rem; font-size: 0.875rem;
color: #969696; color: #969696;
} }
@ -243,26 +248,26 @@
blockquote { blockquote {
display: block; display: block;
border-left: .5rem solid $blockquote-color; border-left: 0.5rem solid $blockquote-color;
background-color: rgba($blockquote-color, .2); background-color: rgba($blockquote-color, 0.2);
padding: .25rem .75rem; padding: 0.25rem 0.75rem;
margin: 1rem 0; margin: 1rem 0;
[theme=dark] & { [theme="dark"] & {
border-left-color: $blockquote-color-dark; border-left-color: $blockquote-color-dark;
background-color: rgba($blockquote-color-dark, .2); background-color: rgba($blockquote-color-dark, 0.2);
} }
} }
.footnotes { .footnotes {
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
p { p {
margin: .25rem 0; margin: 0.25rem 0;
} }
} }
@ -280,24 +285,24 @@
border-top: 1px dashed $global-border-color; border-top: 1px dashed $global-border-color;
border-bottom: none; border-bottom: none;
[theme=dark] & { [theme="dark"] & {
border-top: 1px dashed $global-border-color-dark; border-top: 1px dashed $global-border-color-dark;
} }
} }
kbd { kbd {
display: inline-block; display: inline-block;
padding: .25rem; padding: 0.25rem;
background-color: $global-background-color; background-color: $global-background-color;
border: 1px solid $global-border-color; border: 1px solid $global-border-color;
border-bottom-color: $global-border-color; border-bottom-color: $global-border-color;
@include border-radius(3px); @include border-radius(3px);
@include box-shadow(inset 0 -1px 0 $global-border-color); @include box-shadow(inset 0 -1px 0 $global-border-color);
font-size: .8rem; font-size: 0.8rem;
font-family: $code-font-family; font-family: $code-font-family;
color: $code-color; color: $code-color;
[theme=dark] & { [theme="dark"] & {
background-color: $global-background-color-dark; background-color: $global-background-color-dark;
border: 1px solid $global-border-color-dark; border: 1px solid $global-border-color-dark;
border-bottom-color: $global-border-color-dark; border-bottom-color: $global-border-color-dark;
@ -308,8 +313,8 @@
.typeit { .typeit {
.code { .code {
padding: .375rem; padding: 0.375rem;
font-size: .875rem; font-size: 0.875rem;
font-family: $code-font-family; font-family: $code-font-family;
font-weight: bold; font-weight: bold;
word-break: break-all; word-break: break-all;

View file

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

View file

@ -19,7 +19,7 @@
sup { sup {
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
} }

View file

@ -9,7 +9,7 @@
line-height: 1.6rem; line-height: 1.6rem;
.card-item { .card-item {
font-size: .875rem; font-size: 0.875rem;
text-align: left; text-align: left;
width: 45%; width: 45%;
display: flex; display: flex;
@ -28,7 +28,7 @@
font-weight: bold; font-weight: bold;
display: inline-block; display: inline-block;
margin-top: 1rem; margin-top: 1rem;
margin-bottom: .75rem; margin-bottom: 0.75rem;
} }
span { span {
@ -44,7 +44,7 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
margin: .25rem 0 .25rem 1.5rem; margin: 0.25rem 0 0.25rem 1.5rem;
} }
.archive-item-link { .archive-item-link {
@ -58,7 +58,7 @@
background-color: transparent; background-color: transparent;
} }
[theme=dark] & { [theme="dark"] & {
color: $global-link-color-dark; color: $global-link-color-dark;
&:hover { &:hover {
@ -72,7 +72,7 @@
text-align: right; text-align: right;
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
} }

View file

@ -2,14 +2,16 @@
.cc-btn { .cc-btn {
color: $global-font-color; color: $global-font-color;
&:hover, &:focus { &:hover,
&:focus {
background-color: #ccc; background-color: #ccc;
} }
[theme=dark] & { [theme="dark"] & {
color: $global-font-color; color: $global-font-color;
&:hover, &:focus { &:hover,
&:focus {
background-color: #fff; background-color: #fff;
} }
} }

View file

@ -9,7 +9,7 @@
color: $global-font-secondary-color; color: $global-font-secondary-color;
@include transition(transform 0.2s ease); @include transition(transform 0.2s ease);
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
} }

View file

@ -9,7 +9,7 @@
right: 1.5rem; right: 1.5rem;
font-size: 1rem; font-size: 1rem;
line-height: 1.3rem; line-height: 1.3rem;
padding: .6rem .6rem; padding: 0.6rem 0.6rem;
color: $global-font-secondary-color; color: $global-font-secondary-color;
background: $header-background-color; background: $header-background-color;
@include border-radius(2rem); @include border-radius(2rem);
@ -17,20 +17,24 @@
@include blur; @include blur;
&:hover, &:active { &:hover,
&:active {
color: $global-font-color; color: $global-font-color;
cursor: pointer; cursor: pointer;
} }
&:active, &:focus, &:hover { &:active,
&:focus,
&:hover {
outline: none; outline: none;
} }
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
background: $header-background-color-dark; background: $header-background-color-dark;
&:hover, &:active { &:hover,
&:active {
color: $global-font-color-dark; color: $global-font-color-dark;
} }
} }

View file

@ -6,7 +6,7 @@ footer {
padding: 1rem 0; padding: 1rem 0;
.footer-container { .footer-container {
font-size: .875rem; font-size: 0.875rem;
.footer-line { .footer-line {
width: 100%; width: 100%;

View file

@ -4,7 +4,7 @@ header {
background-color: $header-background-color; background-color: $header-background-color;
@include transition(box-shadow 0.3s ease); @include transition(box-shadow 0.3s ease);
[theme=dark] & { [theme="dark"] & {
background-color: $header-background-color-dark; background-color: $header-background-color-dark;
} }
@ -14,16 +14,17 @@ header {
vertical-align: text-bottom; vertical-align: text-bottom;
} }
.logo, .header-title-pre { .logo,
padding-right: .25rem; .header-title-pre {
padding-right: 0.25rem;
} }
.header-title-post { .header-title-post {
padding-left: .25rem; padding-left: 0.25rem;
} }
&:hover { &:hover {
@include box-shadow(0 0 1.5rem 0 rgba(0, 0, 0, .1)); @include box-shadow(0 0 1.5rem 0 rgba(0, 0, 0, 0.1));
} }
} }
@ -38,7 +39,7 @@ header {
.header-title { .header-title {
font-family: $header-title-font-family; font-family: $header-title-font-family;
font-weight: bold; font-weight: bold;
margin-right: .5rem; margin-right: 0.5rem;
min-width: 10%; min-width: 10%;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
@ -71,14 +72,14 @@ header {
box-sizing: border-box; box-sizing: border-box;
height: 2.5rem; height: 2.5rem;
width: 2.5rem; width: 2.5rem;
@include border-radius(.5rem); @include border-radius(0.5rem);
border: none; border: none;
outline: none; outline: none;
background-color: $header-background-color; background-color: $header-background-color;
vertical-align: baseline !important; vertical-align: baseline !important;
@include transition(width 0.3s ease); @include transition(width 0.3s ease);
[theme=dark] & { [theme="dark"] & {
background-color: $header-background-color-dark; background-color: $header-background-color-dark;
} }
} }
@ -93,7 +94,7 @@ header {
} }
.search-toggle { .search-toggle {
left: .5rem; left: 0.5rem;
right: auto; right: auto;
} }
@ -105,14 +106,15 @@ header {
display: none; display: none;
} }
.open &, &.mobile { .open &,
&.mobile {
input { input {
color: $global-font-color; color: $global-font-color;
background-color: $search-background-color; background-color: $search-background-color;
padding: 0 2rem 0 2rem; padding: 0 2rem 0 2rem;
} }
[theme=dark] & { [theme="dark"] & {
input { input {
color: $global-font-color-dark; color: $global-font-color-dark;
background-color: $search-background-color-dark; background-color: $search-background-color-dark;
@ -126,7 +128,7 @@ header {
.search-button { .search-button {
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
} }
@ -151,7 +153,7 @@ header {
height: $header-height; height: $header-height;
line-height: $header-height; line-height: $header-height;
[header-desktop=normal] & { [header-desktop="normal"] & {
position: static; position: static;
} }
@ -171,12 +173,12 @@ header {
} }
.menu-item { .menu-item {
margin: 0 .5rem; margin: 0 0.5rem;
&.delimiter { &.delimiter {
border-left: 1.5px solid $global-font-color; border-left: 1.5px solid $global-font-color;
[theme=dark] & { [theme="dark"] & {
border-left-color: $global-border-color-dark; border-left-color: $global-border-color-dark;
} }
} }
@ -186,7 +188,7 @@ header {
} }
&.search { &.search {
margin: 0 -.5rem 0 0; margin: 0 -0.5rem 0 0;
} }
} }
@ -194,7 +196,7 @@ header {
font-weight: 900; font-weight: 900;
color: $header-hover-color; color: $header-hover-color;
[theme=dark] & { [theme="dark"] & {
color: $header-hover-color-dark; color: $header-hover-color-dark;
} }
} }
@ -202,7 +204,7 @@ header {
} }
&.open .header-wrapper .menu .menu-item.search { &.open .header-wrapper .menu .menu-item.search {
margin: 0 .25rem 0 .5rem; margin: 0 0.25rem 0 0.5rem;
input { input {
width: 24rem; width: 24rem;
@ -216,7 +218,7 @@ header {
height: $header-height; height: $header-height;
line-height: $header-height; line-height: $header-height;
[header-mobile=normal] & { [header-mobile="normal"] & {
position: static; position: static;
} }
@ -247,30 +249,30 @@ header {
@include border-radius(3px); @include border-radius(3px);
@include transition(all 0.3s ease-in-out); @include transition(all 0.3s ease-in-out);
[theme=dark] & { [theme="dark"] & {
background: $global-font-color-dark; background: $global-font-color-dark;
} }
} }
span:nth-child(1) { span:nth-child(1) {
margin-bottom: .5rem; margin-bottom: 0.5rem;
} }
span:nth-child(3) { span:nth-child(3) {
margin-top: .5rem; margin-top: 0.5rem;
} }
&.active { &.active {
span:nth-child(1) { span:nth-child(1) {
@include transform(rotate(45deg) translate(.4rem, .5rem)); @include transform(rotate(45deg) translate(0.4rem, 0.5rem));
} }
span:nth-child(2) { span:nth-child(2) {
opacity: 0 opacity: 0;
} }
span:nth-child(3) { span:nth-child(3) {
@include transform(rotate(-45deg) translate(.4rem, -.5rem)); @include transform(rotate(-45deg) translate(0.4rem, -0.5rem));
} }
} }
} }
@ -281,8 +283,8 @@ header {
background: $header-background-color; background: $header-background-color;
border-top: 2px solid $global-border-color; border-top: 2px solid $global-border-color;
display: none; display: none;
padding-top: .5rem; padding-top: 0.5rem;
@include box-shadow(0 .125rem .25rem rgba(0, 0, 0, .1)); @include box-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.1));
.search-wrapper { .search-wrapper {
display: flex; display: flex;
@ -296,7 +298,8 @@ header {
.search { .search {
flex-grow: 10; flex-grow: 10;
.algolia-autocomplete, input { .algolia-autocomplete,
input {
width: 100%; width: 100%;
} }
} }
@ -307,7 +310,7 @@ header {
.search-cancel { .search-cancel {
display: none; display: none;
margin-left: .75rem; margin-left: 0.75rem;
} }
.menu-item { .menu-item {
@ -319,7 +322,7 @@ header {
display: block; display: block;
} }
[theme=dark] & { [theme="dark"] & {
background: $header-background-color-dark; background: $header-background-color-dark;
border-top-color: $global-border-color-dark; border-top-color: $global-border-color-dark;
} }
@ -350,7 +353,7 @@ header {
position: fixed; position: fixed;
z-index: 200; z-index: 200;
top: $header-height; top: $header-height;
@include box-shadow(0 .125rem .25rem rgba(0, 0, 0, .1)); @include box-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.1));
&.desktop { &.desktop {
right: 2rem; right: 2rem;
@ -366,7 +369,7 @@ header {
right: 0 !important; right: 0 !important;
background-color: $global-background-color; background-color: $global-background-color;
[theme=dark] & { [theme="dark"] & {
background-color: $global-background-color-dark; background-color: $global-background-color-dark;
} }
@ -375,7 +378,7 @@ header {
max-height: calc(100vh - #{$header-height}); max-height: calc(100vh - #{$header-height});
.suggestion { .suggestion {
padding: .75rem 1rem; padding: 0.75rem 1rem;
.suggestion-title { .suggestion-title {
display: inline-block; display: inline-block;
@ -388,12 +391,12 @@ header {
} }
.suggestion-date { .suggestion-date {
font-size: .875rem; font-size: 0.875rem;
float: right; float: right;
text-align: right; text-align: right;
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
} }
@ -407,7 +410,7 @@ header {
@include overflow-wrap(break-word); @include overflow-wrap(break-word);
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
} }
@ -416,7 +419,7 @@ header {
font-style: normal; font-style: normal;
background-color: $selection-color; background-color: $selection-color;
[theme=dark] & { [theme="dark"] & {
background-color: $selection-color-dark; background-color: $selection-color-dark;
} }
} }
@ -424,7 +427,7 @@ header {
&.cursor { &.cursor {
background: darken($code-background-color, 5%); background: darken($code-background-color, 5%);
[theme=dark] & { [theme="dark"] & {
background: lighten($code-background-color-dark, 5%); background: lighten($code-background-color-dark, 5%);
} }
} }
@ -442,19 +445,19 @@ header {
.search-query { .search-query {
font-weight: bold; font-weight: bold;
[theme=dark] & { [theme="dark"] & {
color: #ddd; color: #ddd;
} }
} }
} }
.search-footer { .search-footer {
padding: .5rem 1rem; padding: 0.5rem 1rem;
float: right; float: right;
font-size: .8rem; font-size: 0.8rem;
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] { [theme="dark"] {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }

View file

@ -12,6 +12,6 @@ svg.icon {
img.emoji { img.emoji {
height: 1em; height: 1em;
width: 1em; width: 1em;
margin: 0 .05em 0 .1em; margin: 0 0.05em 0 0.1em;
vertical-align: -.1em; vertical-align: -0.1em;
} }

View file

@ -11,6 +11,6 @@
.blur & { .blur & {
z-index: 100; z-index: 100;
background-color: rgba(0, 0, 0, .25); background-color: rgba(0, 0, 0, 0.25);
} }
} }

View file

@ -8,9 +8,9 @@
padding: 1rem 0 0; padding: 1rem 0 0;
a { a {
font-size: .8rem; font-size: 0.8rem;
color: #bfbfbf; color: #bfbfbf;
letter-spacing: .1rem; letter-spacing: 0.1rem;
font-weight: 700; font-weight: 700;
padding: 5px 5px; padding: 5px 5px;
text-decoration: none; text-decoration: none;
@ -32,7 +32,7 @@
color: $pagination-link-hover-color; color: $pagination-link-hover-color;
} }
[theme=dark] &:hover a { [theme="dark"] &:hover a {
color: $pagination-link-hover-color-dark; color: $pagination-link-hover-color-dark;
} }
@ -47,8 +47,8 @@
bottom: 0px; bottom: 0px;
} }
[theme=dark] &:before, [theme="dark"] &:before,
[theme=dark] &:after { [theme="dark"] &:after {
background: $pagination-link-hover-color-dark; background: $pagination-link-hover-color-dark;
} }
@ -66,7 +66,6 @@
} }
&:hover { &:hover {
&:before, &:before,
&:after { &:after {
width: 50%; width: 50%;
@ -78,7 +77,7 @@
color: $pagination-link-hover-color; color: $pagination-link-hover-color;
} }
[theme=dark] & a { [theme="dark"] & a {
color: $pagination-link-hover-color-dark; color: $pagination-link-hover-color-dark;
} }

View file

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

View file

@ -1,21 +1,21 @@
code { code {
display:inline-block; display: inline-block;
max-width: 100%; max-width: 100%;
padding: 0 .4rem; padding: 0 0.4rem;
@include overflow-wrap(break-word); @include overflow-wrap(break-word);
@include line-break(anywhere); @include line-break(anywhere);
font-size: $code-font-size; font-size: $code-font-size;
font-family: $code-font-family; font-family: $code-font-family;
color: $code-color; color: $code-color;
[theme=dark] & { [theme="dark"] & {
color: $code-color-dark; color: $code-color-dark;
} }
} }
pre { pre {
margin: 0; margin: 0;
padding: .25rem 0 .25rem .5rem; padding: 0.25rem 0 0.25rem 0.5rem;
@include tab-size(4); @include tab-size(4);
code { code {
@ -29,15 +29,20 @@ pre {
} }
} }
code, pre, .highlight table, .highlight tr, .highlight td { code,
pre,
.highlight table,
.highlight tr,
.highlight td {
background: $code-background-color; background: $code-background-color;
[theme=dark] & { [theme="dark"] & {
background: $code-background-color-dark; background: $code-background-color-dark;
} }
} }
.highlight, .gist { .highlight,
.gist {
font-family: $code-font-family; font-family: $code-font-family;
font-size: $code-font-size; font-size: $code-font-size;
@ -56,7 +61,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.highlight { .highlight {
line-height: 1.4em; line-height: 1.4em;
margin: .5rem 0; margin: 0.5rem 0;
> .chroma { > .chroma {
position: relative; position: relative;
@ -72,7 +77,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
color: $code-info-color; color: $code-info-color;
background: darken($code-background-color, 8%); background: darken($code-background-color, 8%);
[theme=dark] & { [theme="dark"] & {
color: $code-info-color-dark; color: $code-info-color-dark;
background: darken($code-background-color-dark, 6%); background: darken($code-background-color-dark, 6%);
} }
@ -83,12 +88,12 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.code-title { .code-title {
width: 100%; width: 100%;
padding: .4rem; padding: 0.4rem;
} }
.code-title::after { .code-title::after {
padding-left: .2rem; padding-left: 0.2rem;
content: 'Code'; content: "Code";
} }
@each $type, $text in $code-type-map { @each $type, $text in $code-type-map {
@ -112,44 +117,45 @@ code, pre, .highlight table, .highlight tr, .highlight td {
} }
.ln { .ln {
padding-right: .75rem; padding-right: 0.75rem;
} }
.hl { .hl {
display: block; display: block;
background-color: darken($code-background-color, 10%); background-color: darken($code-background-color, 10%);
[theme=dark] & { [theme="dark"] & {
background-color: darken($code-background-color-dark, 5%); background-color: darken($code-background-color-dark, 5%);
} }
} }
.ln, .lnt { .ln,
.lnt {
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
} }
.arrow { .arrow {
padding: 0 .2rem; padding: 0 0.2rem;
@include transition(transform 0.2s ease); @include transition(transform 0.2s ease);
} }
.ellipses { .ellipses {
padding: .4rem; padding: 0.4rem;
} }
.copy { .copy {
display: none; display: none;
padding: .4rem; padding: 0.4rem;
&:hover { &:hover {
cursor: pointer; cursor: pointer;
color: $global-link-hover-color; color: $global-link-hover-color;
[theme=dark] & { [theme="dark"] & {
color: $global-link-hover-color-dark; color: $global-link-hover-color-dark;
} }
} }
@ -165,7 +171,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.code-header { .code-header {
background: darken($code-background-color, 3%); background: darken($code-background-color, 3%);
[theme=dark] & { [theme="dark"] & {
background: darken($code-background-color-dark, 3%); background: darken($code-background-color-dark, 3%);
} }
} }
@ -189,43 +195,55 @@ code, pre, .highlight table, .highlight tr, .highlight td {
} }
} }
/* Comment */ .c, /* Comment */
.c,
/* CommentHashbang */ .ch, /* CommentHashbang */ .ch,
/* CommentMultiline */ .cm, /* CommentMultiline */ .cm,
/* CommentSingle */ .c1, /* CommentSingle */ .c1,
/* CommentSpecial */ .cs, /* CommentSpecial */ .cs,
/* CommentPreproc */ .cp, /* CommentPreproc */ .cp,
/* CommentPreprocFile */ .cpf { font-style: italic } /* CommentPreprocFile */ .cpf {
/* GenericUnderline */ .gl { text-decoration: underline } font-style: italic;
}
@each $class, $color in $code-highlight-color-map { /* GenericUnderline */
.#{$class} { color: $color; } .gl {
text-decoration: underline;
} }
[theme=dark] & { @each $class, $color in $code-highlight-color-map {
.#{$class} {
color: $color;
}
}
[theme="dark"] & {
@each $class, $color in $code-highlight-color-map-dark { @each $class, $color in $code-highlight-color-map-dark {
.#{$class} { color: $color; } .#{$class} {
color: $color;
}
} }
} }
} }
.gist { .gist {
.gist-file, .gist-data, .gist-meta { .gist-file,
.gist-data,
.gist-meta {
border: none; border: none;
} }
.gist-meta { .gist-meta {
padding: .4rem .8rem; padding: 0.4rem 0.8rem;
background-color: darken($code-background-color, 5%); background-color: darken($code-background-color, 5%);
@include link(false, false); @include link(false, false);
[theme=dark] & { [theme="dark"] & {
background-color: darken($code-background-color-dark, 5%); background-color: darken($code-background-color-dark, 5%);
} }
} }
[theme=dark] & { [theme="dark"] & {
// imported from https://github.com/lonekorean/gist-syntax-themes/blob/master/stylesheets/one-dark.css // imported from https://github.com/lonekorean/gist-syntax-themes/blob/master/stylesheets/one-dark.css
.highlight { .highlight {
background: #141414; background: #141414;
@ -246,21 +264,21 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.pl-vpf, .pl-vpf,
.pl-vpu, .pl-vpu,
.pl-mdr { .pl-mdr {
color: #aab1bf; color: #aab1bf;
} }
.pl-mb, .pl-mb,
.pl-pdb { .pl-pdb {
font-weight: 700; font-weight: 700;
} }
.pl-c, .pl-c,
.pl-c span, .pl-c span,
.pl-pdc { .pl-pdc {
color: #5b6270; color: #5b6270;
font-style: italic; font-style: italic;
} }
.pl-sr .pl-cce { .pl-sr .pl-cce {
color: #56b5c2; color: #56b5c2;
font-weight: 400; font-weight: 400;
} }
.pl-ef, .pl-ef,
.pl-en, .pl-en,
@ -269,11 +287,11 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.pl-kos, .pl-kos,
.pl-mh .pl-pdh, .pl-mh .pl-pdh,
.pl-mr { .pl-mr {
color: #61afef; color: #61afef;
} }
.pl-ens, .pl-ens,
.pl-vi { .pl-vi {
color: #be5046; color: #be5046;
} }
.pl-enti, .pl-enti,
.pl-mai .pl-sf, .pl-mai .pl-sf,
@ -284,7 +302,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.pl-src, .pl-src,
.pl-st, .pl-st,
.pl-vo { .pl-vo {
color: #56b5c2; color: #56b5c2;
} }
.pl-eoi, .pl-eoi,
.pl-mri, .pl-mri,
@ -292,55 +310,55 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.pl-pse .pl-s1, .pl-pse .pl-s1,
.pl-s, .pl-s,
.pl-s1 { .pl-s1 {
color: #97c279; color: #97c279;
} }
.pl-k, .pl-k,
.pl-kolp, .pl-kolp,
.pl-mc, .pl-mc,
.pl-pde { .pl-pde {
color: #c578dd; color: #c578dd;
} }
.pl-mi, .pl-mi,
.pl-pdi { .pl-pdi {
color: #c578dd; color: #c578dd;
font-style: italic; font-style: italic;
} }
.pl-mp, .pl-mp,
.pl-stp { .pl-stp {
color: #818896; color: #818896;
} }
.pl-mdh, .pl-mdh,
.pl-mdi, .pl-mdi,
.pl-mdr { .pl-mdr {
font-weight: 400; font-weight: 400;
} }
.pl-mdht, .pl-mdht,
.pl-mi1 { .pl-mi1 {
color: #97c279; color: #97c279;
background: #020; background: #020;
} }
.pl-md, .pl-md,
.pl-mdhf { .pl-mdhf {
color: #df6b75; color: #df6b75;
background: #200; background: #200;
} }
.pl-corl { .pl-corl {
color: #df6b75; color: #df6b75;
text-decoration: underline; text-decoration: underline;
} }
.pl-ib { .pl-ib {
background: #df6b75; background: #df6b75;
} }
.pl-ii { .pl-ii {
background: #e0c184; background: #e0c184;
color: #fff; color: #fff;
} }
.pl-iu { .pl-iu {
background: #e05151; background: #e05151;
} }
.pl-ms1 { .pl-ms1 {
color: #aab1bf; color: #aab1bf;
background: #373b41; background: #373b41;
} }
.pl-c1, .pl-c1,
.pl-cn, .pl-cn,
@ -356,7 +374,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.pl-sok, .pl-sok,
.pl-sv, .pl-sv,
.pl-mb { .pl-mb {
color: #d19965; color: #d19965;
} }
.pl-enc, .pl-enc,
.pl-entc, .pl-entc,
@ -368,7 +386,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.pl-stj, .pl-stj,
.pl-v, .pl-v,
.pl-pdb { .pl-pdb {
color: #e4bf7a; color: #e4bf7a;
} }
.pl-ent, .pl-ent,
.pl-entl, .pl-entl,
@ -379,7 +397,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.pl-sol, .pl-sol,
.pl-mdh, .pl-mdh,
.pl-mdi { .pl-mdi {
color: #df6b75; color: #df6b75;
} }
} }
} }

View file

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

View file

@ -5,7 +5,7 @@
border-bottom: 1px solid $global-border-color; border-bottom: 1px solid $global-border-color;
padding: 1rem 0 0.3rem; padding: 1rem 0 0.3rem;
[theme=dark] & { [theme="dark"] & {
border-bottom: 1px solid $global-border-color-dark; border-bottom: 1px solid $global-border-color-dark;
} }
@ -17,7 +17,7 @@
font-size: 0.8em; font-size: 0.8em;
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
@ -28,7 +28,7 @@
font-size: 0.8em; font-size: 0.8em;
color: $global-font-secondary-color; color: $global-font-secondary-color;
[theme=dark] & { [theme="dark"] & {
color: $global-font-secondary-color-dark; color: $global-font-secondary-color-dark;
} }
@ -68,7 +68,7 @@
.post-nav { .post-nav {
&::before, &::before,
&::after { &::after {
content: ' '; content: " ";
display: table; display: table;
} }

View file

@ -1,5 +1,5 @@
iframe.instagram-media { iframe.instagram-media {
[theme=dark] & { [theme="dark"] & {
border: none !important; 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

@ -10,16 +10,16 @@
ul { ul {
text-indent: -0.85rem; text-indent: -0.85rem;
padding-left: .8rem; padding-left: 0.8rem;
list-style: none; list-style: none;
a:first-child::before { a:first-child::before {
content: "|"; content: "|";
font-weight: bolder; font-weight: bolder;
margin-right: .5rem; margin-right: 0.5rem;
color: $single-link-color; color: $single-link-color;
[theme=dark] & { [theme="dark"] & {
color: $single-link-color-dark; color: $single-link-color-dark;
} }
} }
@ -37,7 +37,7 @@
color: $global-font-secondary-color; color: $global-font-secondary-color;
} }
[theme=dark] & { [theme="dark"] & {
background: $code-background-color-dark; background: $code-background-color-dark;
rt { rt {
@ -52,7 +52,7 @@
position: absolute; position: absolute;
width: $MAX_LENGTH; width: $MAX_LENGTH;
max-width: 0; max-width: 0;
padding: 0 .8rem; padding: 0 0.8rem;
border-left: 4px solid $global-border-color; border-left: 4px solid $global-border-color;
@include overflow-wrap(break-word); @include overflow-wrap(break-word);
box-sizing: border-box; box-sizing: border-box;
@ -60,18 +60,18 @@
left: 0; left: 0;
visibility: hidden; visibility: hidden;
[header-desktop=normal] & { [header-desktop="normal"] & {
top: 5rem; top: 5rem;
} }
@include blur; @include blur;
[theme=dark] & { [theme="dark"] & {
border-left-color: $global-border-color-dark; border-left-color: $global-border-color-dark;
} }
.toc-title { .toc-title {
margin: .8rem 0; margin: 0.8rem 0;
} }
.toc-content { .toc-content {
@ -80,7 +80,7 @@
} }
> nav > ul { > nav > ul {
margin: .625rem 0; margin: 0.625rem 0;
} }
ul { ul {
@ -97,14 +97,14 @@
font-weight: bold; font-weight: bold;
color: $single-link-color; color: $single-link-color;
[theme=dark] & { [theme="dark"] & {
color: $single-link-color-dark; color: $single-link-color-dark;
} }
&::before { &::before {
color: $single-link-hover-color; color: $single-link-hover-color;
[theme=dark] & { [theme="dark"] & {
color: $single-link-hover-color-dark; color: $single-link-hover-color-dark;
} }
} }
@ -114,9 +114,9 @@
#toc-static { #toc-static {
display: none; display: none;
margin: .8rem 0; margin: 0.8rem 0;
&[kept=true] { &[kept="true"] {
display: block; display: block;
} }
@ -124,10 +124,10 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
line-height: 2em; line-height: 2em;
padding: 0 .75rem; padding: 0 0.75rem;
background: darken($code-background-color, 6%); background: darken($code-background-color, 6%);
[theme=dark] & { [theme="dark"] & {
background: darken($code-background-color-dark, 6%); background: darken($code-background-color-dark, 6%);
} }
} }
@ -137,10 +137,10 @@
> nav > ul { > nav > ul {
margin: 0; margin: 0;
padding: .4rem 1rem .4rem 1.8rem; padding: 0.4rem 1rem 0.4rem 1.8rem;
} }
[theme=dark] & { [theme="dark"] & {
background-color: $code-background-color-dark; background-color: $code-background-color-dark;
} }
} }
@ -149,7 +149,7 @@
.toc-title { .toc-title {
background: darken($code-background-color, 3%); background: darken($code-background-color, 3%);
[theme=dark] & { [theme="dark"] & {
background: darken($code-background-color-dark, 3%); 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;

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

@ -1,4 +1,4 @@
[theme=dark] .aplayer { [theme="dark"] .aplayer {
background: #212121; background: #212121;
&.aplayer-withlist { &.aplayer-withlist {
@ -82,16 +82,40 @@
text-shadow: -1px -1px 0 #666; text-shadow: -1px -1px 0 #666;
&:before { &:before {
background: -moz-linear-gradient(top, rgba(33,33,33,1) 0%, rgba(33,33,33,0) 100%); background: -moz-linear-gradient(
background: -webkit-linear-gradient(top, rgba(33,33,33,1) 0%,rgba(33,33,33,0) 100%); top,
background: linear-gradient(to bottom, rgba(33,33,33,1) 0%,rgba(33,33,33,0) 100%); 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 ); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#212121', endColorstr='#00212121',GradientType=0 );
} }
&:after { &:after {
background: -moz-linear-gradient(top, rgba(33,33,33,0) 0%, rgba(33,33,33,0.8) 100%); background: -moz-linear-gradient(
background: -webkit-linear-gradient(top, rgba(33,33,33,0) 0%,rgba(33,33,33,0.8) 100%); top,
background: linear-gradient(to bottom, rgba(33,33,33,0) 0%,rgba(33,33,33,0.8) 100%); 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 ); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00212121', endColorstr='#cc212121',GradientType=0 );
} }

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);
});

View file

@ -1,6 +1,7 @@
@font-face { @font-face {
font-family: octicons-link; font-family: octicons-link;
src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff'); src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==)
format("woff");
} }
.markdown-body { .markdown-body {
@ -8,7 +9,8 @@
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
line-height: 1.5; line-height: 1.5;
color: #24292e; color: #24292e;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 16px; font-size: 16px;
line-height: 1.5; line-height: 1.5;
word-wrap: break-word; word-wrap: break-word;
@ -184,7 +186,7 @@
.markdown-body hr { .markdown-body hr {
-webkit-box-sizing: content-box; -webkit-box-sizing: content-box;
box-sizing: content-box; box-sizing: content-box;
height: 0; height: 0;
overflow: visible; overflow: visible;
} }
@ -200,13 +202,13 @@
.markdown-body [type="checkbox"] { .markdown-body [type="checkbox"] {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
padding: 0; padding: 0;
} }
.markdown-body * { .markdown-body * {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
.markdown-body input { .markdown-body input {
@ -331,14 +333,16 @@
} }
.markdown-body code { .markdown-body code {
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier,
monospace;
font-size: 12px; font-size: 12px;
} }
.markdown-body pre { .markdown-body pre {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
font: 12px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font: 12px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier,
monospace;
} }
.markdown-body .octicon { .markdown-body .octicon {
@ -384,11 +388,11 @@
content: ""; content: "";
} }
.markdown-body>*:first-child { .markdown-body > *:first-child {
margin-top: 0 !important; margin-top: 0 !important;
} }
.markdown-body>*:last-child { .markdown-body > *:last-child {
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
@ -433,11 +437,11 @@
border-left: 0.25em solid #dfe2e5; border-left: 0.25em solid #dfe2e5;
} }
.markdown-body blockquote>:first-child { .markdown-body blockquote > :first-child {
margin-top: 0; margin-top: 0;
} }
.markdown-body blockquote>:last-child { .markdown-body blockquote > :last-child {
margin-bottom: 0; margin-bottom: 0;
} }
@ -453,7 +457,7 @@
border-bottom-color: #959da5; border-bottom-color: #959da5;
border-radius: 3px; border-radius: 3px;
-webkit-box-shadow: inset 0 -1px 0 #959da5; -webkit-box-shadow: inset 0 -1px 0 #959da5;
box-shadow: inset 0 -1px 0 #959da5; box-shadow: inset 0 -1px 0 #959da5;
} }
.markdown-body h1, .markdown-body h1,
@ -539,11 +543,11 @@
margin-bottom: 0; margin-bottom: 0;
} }
.markdown-body li>p { .markdown-body li > p {
margin-top: 16px; margin-top: 16px;
} }
.markdown-body li+li { .markdown-body li + li {
margin-top: 0.25em; margin-top: 0.25em;
} }
@ -592,7 +596,7 @@
.markdown-body img { .markdown-body img {
max-width: 100%; max-width: 100%;
-webkit-box-sizing: content-box; -webkit-box-sizing: content-box;
box-sizing: content-box; box-sizing: content-box;
background-color: #fff; background-color: #fff;
} }
@ -602,7 +606,7 @@
padding-bottom: 0.2em; padding-bottom: 0.2em;
margin: 0; margin: 0;
font-size: 85%; font-size: 85%;
background-color: rgba(27,31,35,0.05); background-color: rgba(27, 31, 35, 0.05);
border-radius: 3px; border-radius: 3px;
} }
@ -616,7 +620,7 @@
word-wrap: normal; word-wrap: normal;
} }
.markdown-body pre>code { .markdown-body pre > code {
padding: 0; padding: 0;
margin: 0; margin: 0;
font-size: 100%; font-size: 100%;
@ -670,7 +674,8 @@
.markdown-body kbd { .markdown-body kbd {
display: inline-block; display: inline-block;
padding: 3px 5px; padding: 3px 5px;
font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier,
monospace;
line-height: 10px; line-height: 10px;
color: #444d56; color: #444d56;
vertical-align: middle; vertical-align: middle;
@ -679,10 +684,10 @@
border-bottom-color: #c6cbd1; border-bottom-color: #c6cbd1;
border-radius: 3px; border-radius: 3px;
-webkit-box-shadow: inset 0 -1px 0 #c6cbd1; -webkit-box-shadow: inset 0 -1px 0 #c6cbd1;
box-shadow: inset 0 -1px 0 #c6cbd1; box-shadow: inset 0 -1px 0 #c6cbd1;
} }
.markdown-body :checked+.radio-label { .markdown-body :checked + .radio-label {
position: relative; position: relative;
z-index: 1; z-index: 1;
border-color: #0366d6; border-color: #0366d6;
@ -692,7 +697,7 @@
list-style-type: none; list-style-type: none;
} }
.markdown-body .task-list-item+.task-list-item { .markdown-body .task-list-item + .task-list-item {
margin-top: 3px; margin-top: 3px;
} }
@ -710,22 +715,22 @@
/* styles */ /* styles */
.gt-container { .gt-container {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
font-size: 16px; font-size: 16px;
/* loader */ /* loader */
/* error */ /* error */
/* initing */ /* initing */
/* no int */ /* no int */
/* link */ /* link */
/* meta */ /* meta */
/* popup */ /* popup */
/* header */ /* header */
/* comments */ /* comments */
/* comment */ /* comment */
} }
.gt-container * { .gt-container * {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
.gt-container a { .gt-container a {
color: #6190e8; color: #6190e8;
@ -776,9 +781,9 @@
position: relative; position: relative;
} }
.gt-container .gt-spinner::before { .gt-container .gt-spinner::before {
content: ''; content: "";
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
position: absolute; position: absolute;
top: 3px; top: 3px;
width: 0.75em; width: 0.75em;
@ -789,13 +794,13 @@
border: 1px solid #fff; border: 1px solid #fff;
border-top-color: #6190e8; border-top-color: #6190e8;
-webkit-animation: gt-kf-rotate 0.6s linear infinite; -webkit-animation: gt-kf-rotate 0.6s linear infinite;
animation: gt-kf-rotate 0.6s linear infinite; animation: gt-kf-rotate 0.6s linear infinite;
} }
.gt-container .gt-loader { .gt-container .gt-loader {
position: relative; position: relative;
border: 1px solid #999; border: 1px solid #999;
-webkit-animation: ease gt-kf-rotate 1.5s infinite; -webkit-animation: ease gt-kf-rotate 1.5s infinite;
animation: ease gt-kf-rotate 1.5s infinite; animation: ease gt-kf-rotate 1.5s infinite;
display: inline-block; display: inline-block;
font-style: normal; font-style: normal;
width: 1.75em; width: 1.75em;
@ -804,7 +809,7 @@
border-radius: 50%; border-radius: 50%;
} }
.gt-container .gt-loader:before { .gt-container .gt-loader:before {
content: ''; content: "";
position: absolute; position: absolute;
display: block; display: block;
top: 0; top: 0;
@ -983,7 +988,7 @@
text-decoration: none; text-decoration: none;
} }
.gt-container .gt-popup .gt-action.is--active:before { .gt-container .gt-popup .gt-action.is--active:before {
content: ''; content: "";
width: 0.25em; width: 0.25em;
height: 0.25em; height: 0.25em;
background: #6190e8; background: #6190e8;
@ -999,8 +1004,8 @@
} }
.gt-container .gt-header-comment { .gt-container .gt-header-comment {
-webkit-box-flex: 1; -webkit-box-flex: 1;
-ms-flex: 1; -ms-flex: 1;
flex: 1; flex: 1;
margin-left: 1.25em; margin-left: 1.25em;
} }
@media (max-width: 479px) { @media (max-width: 479px) {
@ -1012,12 +1017,12 @@
padding: 0.75em; padding: 0.75em;
display: block; display: block;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
min-height: 5.125em; min-height: 5.125em;
max-height: 15em; max-height: 15em;
border-radius: 5px; border-radius: 5px;
border: 1px solid rgba(0,0,0,0.1); border: 1px solid rgba(0, 0, 0, 0.1);
font-size: 0.875em; font-size: 0.875em;
word-wrap: break-word; word-wrap: break-word;
resize: vertical; resize: vertical;
@ -1032,7 +1037,7 @@
.gt-container .gt-header-preview { .gt-container .gt-header-preview {
padding: 0.75em; padding: 0.75em;
border-radius: 5px; border-radius: 5px;
border: 1px solid rgba(0,0,0,0.1); border: 1px solid rgba(0, 0, 0, 0.1);
background-color: #f6f6f6; background-color: #f6f6f6;
} }
.gt-container .gt-header-controls { .gt-container .gt-header-controls {
@ -1075,7 +1080,7 @@
} }
} }
.gt-container:after { .gt-container:after {
content: ''; content: "";
position: fixed; position: fixed;
bottom: 100%; bottom: 100%;
left: 0; left: 0;
@ -1087,7 +1092,7 @@
position: relative; position: relative;
} }
.gt-container.gt-input-focused:after { .gt-container.gt-input-focused:after {
content: ''; content: "";
position: fixed; position: fixed;
bottom: 0%; bottom: 0%;
left: 0; left: 0;
@ -1121,8 +1126,8 @@
} }
.gt-container .gt-comment-content { .gt-container .gt-comment-content {
-webkit-box-flex: 1; -webkit-box-flex: 1;
-ms-flex: 1; -ms-flex: 1;
flex: 1; flex: 1;
margin-left: 1.25em; margin-left: 1.25em;
padding: 0.75em 1em; padding: 0.75em 1em;
background-color: #f9f9f9; background-color: #f9f9f9;
@ -1132,7 +1137,7 @@
} }
.gt-container .gt-comment-content:hover { .gt-container .gt-comment-content:hover {
-webkit-box-shadow: 0 0.625em 3.75em 0 #f4f4f4; -webkit-box-shadow: 0 0.625em 3.75em 0 #f4f4f4;
box-shadow: 0 0.625em 3.75em 0 #f4f4f4; box-shadow: 0 0.625em 3.75em 0 #f4f4f4;
} }
@media (max-width: 479px) { @media (max-width: 479px) {
.gt-container .gt-comment-content { .gt-container .gt-comment-content {
@ -1229,21 +1234,21 @@
@-webkit-keyframes gt-kf-rotate { @-webkit-keyframes gt-kf-rotate {
0% { 0% {
-webkit-transform: rotate(0); -webkit-transform: rotate(0);
transform: rotate(0); transform: rotate(0);
} }
100% { 100% {
-webkit-transform: rotate(360deg); -webkit-transform: rotate(360deg);
transform: rotate(360deg); transform: rotate(360deg);
} }
} }
@keyframes gt-kf-rotate { @keyframes gt-kf-rotate {
0% { 0% {
-webkit-transform: rotate(0); -webkit-transform: rotate(0);
transform: rotate(0); transform: rotate(0);
} }
100% { 100% {
-webkit-transform: rotate(360deg); -webkit-transform: rotate(360deg);
transform: rotate(360deg); transform: rotate(360deg);
} }
} }

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