Skip to content

Commit 9620fad

Browse files
committed
Optimize blockquote style
1 parent 1c6e084 commit 9620fad

12 files changed

+29
-29
lines changed

Gemfile.lock

+7-6
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,20 @@ GEM
4545
http_parser.rb (0.8.0)
4646
i18n (1.14.7)
4747
concurrent-ruby (~> 1.0)
48-
jekyll (4.3.4)
48+
jekyll (4.4.1)
4949
addressable (~> 2.4)
50+
base64 (~> 0.2)
5051
colorator (~> 1.0)
52+
csv (~> 3.0)
5153
em-websocket (~> 0.5)
5254
i18n (~> 1.0)
5355
jekyll-sass-converter (>= 2.0, < 4.0)
5456
jekyll-watch (~> 2.0)
57+
json (~> 2.6)
5558
kramdown (~> 2.3, >= 2.3.1)
5659
kramdown-parser-gfm (~> 1.0)
5760
liquid (~> 4.0)
58-
mercenary (>= 0.3.6, < 0.5)
61+
mercenary (~> 0.3, >= 0.3.6)
5962
pathutil (~> 0.9)
6063
rouge (>= 3.0, < 5.0)
6164
safe_yaml (~> 1.0)
@@ -71,6 +74,7 @@ GEM
7174
jekyll (>= 3.7, < 5.0)
7275
jekyll-watch (2.2.1)
7376
listen (~> 3.0)
77+
json (2.9.1)
7478
kramdown (2.5.1)
7579
rexml (>= 3.3.9)
7680
kramdown-parser-gfm (1.1.0)
@@ -148,12 +152,9 @@ PLATFORMS
148152
riscv64-linux-gnu
149153
riscv64-linux-musl
150154
ruby
151-
x86-cygwin
152155
x86-linux
153-
x86-linux-android
154156
x86-linux-gnu
155157
x86-linux-musl
156-
x86-mingw-ucrt
157158
x86_64-cygwin
158159
x86_64-darwin
159160
x86_64-linux
@@ -173,4 +174,4 @@ DEPENDENCIES
173174
ostruct
174175

175176
BUNDLED WITH
176-
2.5.23
177+
2.6.2

_posts/original/2023-01-12-2023年,我换了新域名「牡丹」.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pin: true
1717

1818
## 域名
1919

20-
对非开发者,需要补充一些关于域名(Domain)是什么的简单解释。服务器是现代互联网的基础设施,网站搭建在服务器上,在网络世界里只能通过`IP`地址去定位到一台特定服务器。使用`HTTP`协议可以在浏览器中输入一串`http://185.199.109.153:80`字符来访问搭建在`IP`地址为`185.199.109.153`的服务器上监听`80`端口的网站,全是数字很难记对吧,所以才有域名的概念。
20+
对非开发者,需要补充一些关于域名是什么的简单解释。服务器是现代互联网的基础设施,网站搭建在服务器上,在网络世界里只能通过`IP`地址去定位到一台特定服务器。使用`HTTP`协议可以在浏览器中输入一串`http://185.199.109.153:80`字符来访问搭建在`IP`地址为`185.199.109.153`的服务器上监听`80`端口的网站,全是数字很难记对吧,所以才有域名的概念。
2121

2222
域名可以由字符、数字甚至汉字组成,有意义的词自然比无规则数字清晰简洁,比如都熟悉的百度,它的域名是`baidu.com`,在浏览器中输入就能跳转到百度网站。这个过程中浏览器其实做了2件事,先去`DNS`域名服务器查询域名对应的`IP`地址,再去访问`IP`对应的服务器,当然中间有很多复杂细节需要更多协议处理,但总之,域名起到的就是这个作用。
2323

_posts/repost/2020-10-29-写一篇公众号文字发不出来,是什么感受.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ title: "写一篇公众号文字发不出来,是什么感受"
55
author: 赵瑜
66
mention: 审查 404
77
date: 2020-10-29 +0800
8-
description: 我倾向不谈论政治,自知尚未形成能自洽的判断体系。有时候翻看新闻留言,每当有人提起“言论自由”都会引发争论,这个问题我不觉得有什么可争论的,答案显而易见,但是这样的答案却不可以被发表出来,所以答案本来就是显而易见的。
8+
description: 我倾向不谈论政治,自知尚未摆脱偏见形成能自洽的理论体系。有时候翻看社媒,每当有人提起“言论自由”都会引发争论,这个问题我不觉得有什么可争论的,答案显而易见,但是这样的答案却不可以被发表出来,所以答案本来就是显而易见的。
99
cover: https://apqx.oss-cn-hangzhou.aliyuncs.com/blog/repost/20201029/1984_thumb.jpg
1010
tags: 转载 赵瑜 微信公众号 思维 审查
1111
sitemap: false
1212
blockFromSearchEngine: true
1313
---
1414

15-
> 我倾向不谈论政治,自知尚未形成能自洽的判断体系。有时候翻看新闻留言,每当有人提起“言论自由”都会引发争论,这个问题我不觉得有什么可争论的,答案显而易见,但是这样的答案却不可以被发表出来,所以答案本来就是显而易见的。
15+
> 我倾向不谈论政治,自知尚未摆脱偏见形成能自洽的理论体系。有时候翻看社媒,每当有人提起“言论自由”都会引发争论,这个问题我不觉得有什么可争论的,答案显而易见,但是这样的答案却不可以被发表出来,所以答案本来就是显而易见的。
1616
17-
> 这篇文章是在一个[微信公众号](https://mp.weixin.qq.com/s/Sxly2BR9KI6mUNGE5nYTyA){: target="_blank" }里看到的,我也遇到过这样的事,写的已经足够委婉。
17+
> 这篇文章是在一个[微信公众号](https://mp.weixin.qq.com/s/Sxly2BR9KI6mUNGE5nYTyA){: target="_blank" }里看到的,我也遇到过这类事情,写的已经足够委婉。
1818
1919
每一次公众号文章中的举例,涉及到现实的新闻的时候,我都会反复地选择字词,尽量地使用平常的,温和的不带任何情绪色彩的文字。然而大多数时候,这些小心翼翼,毫无用处,因为,大多数时候,我们的猜测是无效的。
2020

npm/dist/blog-404-v2.0.0.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/dist/blog-index-v2.0.0.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/dist/blog-post-v2.0.0.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/dist/blog-scaffold-v2.0.0.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/dist/blog-scaffold-v2.0.0.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/src/component/dialog/TagDialog.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ class ResultWrapper extends BasePostPaginateShow<ResultWrapperProps> {
116116
render(): React.ReactNode {
117117
let count: JSX.Element
118118
if (this.state.posts.length == 0) {
119-
count = <><span>0</span></>
119+
count = <>0</>
120120
} else {
121-
count = <><span>{this.state.totalPostsSize}</span></>
121+
count = <>{this.state.totalPostsSize}</>
122122
}
123123
return (
124124
<>
125-
<p>标记 {this.props.tag}{count}篇博文</p>
125+
<p>标记 {this.props.tag} {count} 篇博文</p>
126126
{this.state.posts != null && this.state.posts.length != 0 &&
127127
<PostResult list={this.state.posts} />
128128
}

npm/src/component/react/post/PostPaginateShowPresenter.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ export class PostPaginateShowPresenter implements IPostPaginateShowPresenter {
1414
firstLoadingDelay: boolean = false
1515
abortController: AbortController | null = null
1616

17-
minimalLoadTime = 300
18-
1917
constructor(component: BasePostPaginateShow<any>, firstLoadingDelay: boolean = false) {
2018
this.component = component
2119
this.firstLoadingDelay = firstLoadingDelay
@@ -70,7 +68,7 @@ export class PostPaginateShowPresenter implements IPostPaginateShowPresenter {
7068
loading: false,
7169
loadHint: ERROR_HINT
7270
})
73-
}, this.minimalLoadTime)
71+
})
7472
}
7573
)
7674
}
@@ -97,7 +95,7 @@ export class PostPaginateShowPresenter implements IPostPaginateShowPresenter {
9795
if ((!add && this.firstLoadingDelay) || (add && clickLoad)) {
9896
runAfterMinimalTime(startTime, () => {
9997
update()
100-
}, this.minimalLoadTime)
98+
})
10199
} else {
102100
update()
103101
}
@@ -181,7 +179,7 @@ export class PostPaginateShowPresenter implements IPostPaginateShowPresenter {
181179
loading: false,
182180
loadHint: ERROR_HINT
183181
})
184-
}, this.minimalLoadTime)
182+
})
185183
}
186184
)
187185
}

npm/src/component/text.scss

+1
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ blockquote {
203203
margin: 0.65rem 0;
204204
padding: 0 0 0 1rem;
205205
border-left: 0.3rem solid var(--blockquote-border);
206+
border-radius: 0.2rem;
206207
}
207208

208209
// 引用段落中的<p>

npm/src/component/theme.scss

+6-6
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ $text-content-secondary: (
7474
);
7575

7676
$blockquote-border: (
77-
light: #eca4a4,
78-
dark: #ae5c5c,
79-
// light: color.adjust(map.get($surface, "light"), $lightness: -15%),
80-
// dark: color.adjust(map.get($surface, "dark"), $lightness: +15%),
77+
light: #f6c9c9,
78+
dark: #824d4d,
79+
// light: color.adjust(map.get($surface, "light"), $lightness: -10%),
80+
// dark: color.adjust(map.get($surface, "dark"), $lightness: +10%),
8181
);
8282

8383
$drawer-nav-ripple: (
@@ -86,8 +86,8 @@ $drawer-nav-ripple: (
8686
);
8787

8888
$fab-bg: (
89-
light: rgba(color.adjust(map.get($background, "light"), $lightness: -5%), 0.5),
90-
dark: rgba(color.adjust(map.get($background, "dark"), $lightness: -5%), 0.5),
89+
light: rgba(color.adjust(map.get($background, "light"), $lightness: -6%), 0.5),
90+
dark: rgba(color.adjust(map.get($background, "dark"), $lightness: -6%), 0.5),
9191
);
9292

9393
$fab-ink: (

0 commit comments

Comments
 (0)