-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 支持添加自定义 SEO meta 与 link * chore: 添加 release 脚本与 CHANGELOG * pref: 扩大标题点击区域 * chore: 挂载 disqus_config 到 window 对象上 * fix: 修复主题副标题错误取值的问题 * fix: 防止 Safari 中 main 元素自动获得焦点 * chore: 更新 Dependabot 配置,将更新频率从每周改为每月,并添加了依赖标签 * feat: 添加 Google Analytics * pref: 移除默认 ga id * chore: 重命名文件夹 * chore: 增加 release 脚本 * feat: 支持自定义 footer * fix: 一些样式问题 * pref: 设置文章分页为首页,并增加分页配置 * feat: 实现自定义主题模块 * fix: 优化社交媒体图标
- Loading branch information
Showing
14 changed files
with
79 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
:root { | ||
--uno-colors-foreground: theme('colors.foreground'); | ||
--uno-colors-primary: theme('colors.primary'); | ||
--uno-colors-background: theme('colors.background'); | ||
--uno-fonts-ui: theme('fontFamily.ui'); | ||
--uno-colors-shadow: theme('colors.shadow'); | ||
} | ||
html { | ||
--at-apply: antialiased; | ||
--at-apply: 'bg-background c-foreground font-ui'; | ||
--at-apply: 'bg-background c-primary font-ui text-shadow-color-shadow'; | ||
|
||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.04); | ||
text-shadow: 1px 1px 1px var(--uno-colors-shadow); | ||
background-size: 7px 7px; | ||
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px), | ||
linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px); | ||
background-image: linear-gradient(to right, var(--uno-colors-shadow) 1px, transparent 1px), | ||
linear-gradient(to bottom, var(--uno-colors-shadow) 1px, transparent 1px); | ||
} | ||
|
||
:where(a):not(.not-underline-hover) { | ||
padding: 1.5px; | ||
--at-apply: 'p-1.5px'; | ||
--at-apply: 'decoration-underline decoration-0.1em decoration-offset-2px'; | ||
--at-apply: 'ease-in-out duration-300ms'; | ||
--at-apply: 'hover:(c-background bg-foreground decoration-foreground)'; | ||
--at-apply: 'hover:(c-background bg-primary decoration-primary)'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters