-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
171 lines (126 loc) · 5.56 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>感冒 | 凹鱼的博客</title>
<link rel="shortcut icon" href="https://scm.pgx.me/favicon.ico?v=1639990749287">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet">
<link rel="stylesheet" href="https://scm.pgx.me/styles/main.css">
<link rel="alternate" type="application/atom+xml" title="感冒 | 凹鱼的博客 - Atom Feed" href="https://scm.pgx.me/atom.xml">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Droid+Serif:400,700">
<meta name="description" content="30号28度,31号18度,1号8度……就在这样连降20度的情况下,我仍然非常坚挺,恰恰从8度回升到23度的时候,我倒下了,真所谓大风大浪都过来了,却倒在了小阴沟里。
生活真像宋祖德的嘴,你永远不肯定下一个倒霉的不会是自己。
今天坚持了一天..." />
<meta name="keywords" content="" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.css">
<script src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
</head>
<body>
<div class="main">
<div class="main-content">
<div class="site-header">
<a href="https://scm.pgx.me">
<img class="avatar" src="https://scm.pgx.me/images/avatar.png?v=1639990749287" alt="">
</a>
<h1 class="site-title">
凹鱼的博客
</h1>
<p class="site-description">
null
</p>
<div class="menu-container">
<a href="/" class="menu">
首页
</a>
<a href="/archives" class="menu">
归档
</a>
<a href="/tags" class="menu">
标签
</a>
<a href="/post/about" class="menu">
关于
</a>
</div>
<div class="social-container">
</div>
</div>
<div class="post-detail">
<article class="post">
<h2 class="post-title">
感冒
</h2>
<div class="post-info">
<span>
2009-11-05
</span>
<span>
1 min read
</span>
</div>
<div class="post-content-wrapper">
<div class="post-content">
<p>30号28度,31号18度,1号8度……就在这样连降20度的情况下,我仍然非常坚挺,恰恰从8度回升到23度的时候,我倒下了,真所谓大风大浪都过来了,却倒在了小阴沟里。</p>
<p>生活真像宋祖德的嘴,你永远不肯定下一个倒霉的不会是自己。</p>
<p>今天坚持了一天,所谓带病上班啊,于是在表扬和自我表扬下坚决不吃药,最后终于受不了,拖着跟别人似的身子去药店,脑袋倒是自己的,但我太想把它拿下来提在手上了,我问服务员要感冒药,服务员随手给了我一板,我一看这名字,“卜康”,像是脚气软膏的名字,拜托,能不能给我一个我认识的感冒药啊,服务员说,买认识的感冒药需要身份证。顿时,我愣了,我甚至感到感冒稍微好些了。</p>
<p>服务员接着说,那些感冒药有麻黄碱,可以制冰毒。</p>
<p>于是我说:那给我来一箱。呵呵,开玩笑。原来如此,但你刚给我</p>
</div>
<div class="toc-container">
</div>
</div>
</article>
</div>
<div class="next-post">
<div class="next">下一篇</div>
<a href="https://scm.pgx.me/post/qu-liao-yi-tang-da-cheng-shi/">
<h3 class="post-title">
去了一趟大城市
</h3>
</a>
</div>
<div class="site-footer">
Powered by <a href="https://github.com/getgridea/gridea" target="_blank">Gridea</a>
<a class="rss" href="https://scm.pgx.me/atom.xml" target="_blank">
<i class="ri-rss-line"></i> RSS
</a>
</div>
</div>
</div>
<script>
hljs.initHighlightingOnLoad()
let mainNavLinks = document.querySelectorAll(".markdownIt-TOC a");
// This should probably be throttled.
// Especially because it triggers during smooth scrolling.
// https://lodash.com/docs/4.17.10#throttle
// You could do like...
// window.addEventListener("scroll", () => {
// _.throttle(doThatStuff, 100);
// });
// Only not doing it here to keep this Pen dependency-free.
window.addEventListener("scroll", event => {
let fromTop = window.scrollY;
mainNavLinks.forEach((link, index) => {
let section = document.getElementById(decodeURI(link.hash).substring(1));
let nextSection = null
if (mainNavLinks[index + 1]) {
nextSection = document.getElementById(decodeURI(mainNavLinks[index + 1].hash).substring(1));
}
if (section.offsetTop <= fromTop) {
if (nextSection) {
if (nextSection.offsetTop > fromTop) {
link.classList.add("current");
} else {
link.classList.remove("current");
}
} else {
link.classList.add("current");
}
} else {
link.classList.remove("current");
}
});
});
</script>
</body>
</html>