Skip to content

Commit 6db259f

Browse files
committed
首页字体,博文字体高亮色块
1 parent 53b4d28 commit 6db259f

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

blog/静态网站初创笔记.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Hugo官方安装指南在[这里](https://gohugo.io/getting-started/installing/)
191191

192192
hugo version
193193

194-
输入命令后,如果返回了Hugo的版本信息,说明Hugo已正常工作(参见下图)。从图中也可以看出,当我们把 **`bin`**文件夹的路径加入系统的 **`Path变量`**后,即使当前的工作路径是 **`C:\Users\yangl`**,我们同样可以命令系统执行 **`D盘`****`bin`**文件夹内的Hugo程序。
194+
输入命令后,如果返回了Hugo的版本信息,说明Hugo已正常工作(参见下图)。从图中也可以看出,当我们把 **`bin`**文件夹的路径加入系统的 **`Path变量`**后,即使当前的工作路径是 **`C:\Users\yangl`**,我们同样可以命令系统执行 **`D盘`** **`bin`**文件夹内的Hugo程序。
195195

196196
![HugoTest](/img/HugoTest.png)
197197

src/css/custom.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,18 @@
2424
--ifm-button-border-radius:0rem;
2525
--ifm-button-padding-vertical: 0.5rem;
2626
--ifm-color-content:#1a1a1a;
27-
--ifm-global-radius: 0rem;
27+
--ifm-global-radius: 2px;
2828
}
2929

30+
code {
31+
background-color: #ffb81e;
32+
border-radius: 2px;
33+
color: black;
34+
font-family: var(--ifm-font-family-monospace);
35+
font-size: var(--ifm-code-font-size);
36+
margin: 2px;
37+
38+
}
3039
.markdown > h1 {
3140
--ifm-h1-font-size: 2rem;
3241

src/pages/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,22 +158,22 @@ function Home() {
158158
</div>
159159
<div className= 'col'>
160160
<article className={clsx(styles.box)}>
161-
<a className={clsx(styles.imagefeature)} href="https://www.codelab.club/blog/3.4.1-release/" target="_blank">
162-
<img src="/img/封面.png" alt = "CodeLab Adapter 3.4 发布"></img>
161+
<a className={clsx(styles.imagefeature)} href="/blog/2020/08/14/3.5-release/">
162+
<img src="/img/封面.png" alt = "CodeLab Adapter 3.5 发布"></img>
163163
</a>
164164
<h3>
165-
<a href="https://www-old.codelab.club/blog/release-3-5/" target="_blank">CodeLab Adapter 3.5 发布</a>
165+
<a href="/blog/2020/08/14/3.5-release/">CodeLab Adapter 3.5 发布</a>
166166
</h3>
167167
<p>CodeLab Scratch社区的创作平台将作为Scratch入口</p>
168168
</article>
169169
</div>
170170
<div className= 'col'>
171171
<article className={clsx(styles.box)}>
172-
<a className={clsx(styles.imagefeature)} href="https://www.codelab.club/blog/david-p1/" target="_blank">
172+
<a className={clsx(styles.imagefeature)} href="/blog/2020/07/09/CodeLab冒险记(一)">
173173
<img src="/img/寻宝记.png" alt = "CodeLab冒险记"></img>
174174
</a>
175175
<h3>
176-
<a href="https://www.codelab.club/blog/david-p1/" target="_blank">CodeLab 冒险记(一)</a>
176+
<a href="/blog/2020/07/09/CodeLab冒险记(一)">CodeLab 冒险记(一)</a>
177177
</h3>
178178
<p>以实习报告为始,且看何为终</p>
179179
</article>

src/pages/styles.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
}
222222

223223
.subtitle1 {
224-
font-size: 3vw;
224+
font-size: 4vw;
225225
text-align:center;
226226
color:black;
227227
padding-top: 6vh;
@@ -253,7 +253,7 @@
253253
}
254254

255255
.subtitle2 {
256-
font-size: 3vw;
256+
font-size: 4vw;
257257
text-align:center;
258258
color:black;
259259
padding-bottom: 3vh;
@@ -401,7 +401,7 @@
401401
width: 15vw;
402402
max-width: 15vw;
403403
height: 15vw;
404-
border:0.3rem solid #1a1a1a;
404+
border:0.25rem solid #1a1a1a;
405405
border-radius:15vw;
406406
text-align: center;
407407
font-size: 1.5vw;

0 commit comments

Comments
 (0)