improvement: tags 設定彩色顯示後,字型大小將根據tag的文章數量而變化 close #365

improvement: 調整tags頁和categories頁在寬度小於768時的字體大小
This commit is contained in:
Jerry committed 2020-09-16 00:12:47 +08:00
1 parent 97bb8313d0
commit 938e7a04c7
6 files changed
+31 -9

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ block content
| - | -
span.tag-cloud__amount= site.tags.length span.tag-cloud__amount= site.tags.length
.tag-cloud-tags .tag-cloud-tags
!=cloudTags({source: site.tags, minfontsize: 1, maxfontsize: 2.1, limit: 0, unit: 'em'}) !=cloudTags({source: site.tags, minfontsize: 1.2, maxfontsize: 2.1, limit: 0, unit: 'em'})
if page.comments !== false && theme.comments && theme.comments.use if page.comments !== false && theme.comments && theme.comments.use
- var commentsJsLoad = true - var commentsJsLoad = true
!=partial('includes/third-party/comments/index', {}, {cache:theme.fragment_cache}) !=partial('includes/third-party/comments/index', {}, {cache:theme.fragment_cache})
+1 -1
View File
@@ -3,7 +3,7 @@ extends includes/layout.pug
block content block content
if theme.tag_ui == 'index' if theme.tag_ui == 'index'
include ./includes/mixins/post-ui.pug include ./includes/mixins/post-ui.pug
#recent-posts.recent-posts #recent-posts.recent-posts
+postUI +postUI
include includes/pagination.pug include includes/pagination.pug
else else
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "hexo-theme-butterfly", "name": "hexo-theme-butterfly",
"version": "3.2.0-b3", "version": "3.2.0-b4",
"description": "A Simple and Card UI Design theme for Hexo", "description": "A Simple and Card UI Design theme for Hexo",
"main": "package.json", "main": "package.json",
"scripts": { "scripts": {
Loaded 3 of 6 files, more files were not shown because too many files have changed in this diff. Show more