Skip to content

Commit a821d8d

Browse files
committed
2 parents 1b17717 + 0b6f3c6 commit a821d8d

File tree

4 files changed

+38
-6
lines changed

4 files changed

+38
-6
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
date: 2020-04-01
3+
title: "欢迎扫码关注CodeLab微信公众号"
4+
Slug: codelab-wechat-subscribe
5+
tags: ["CodeLab相关"]
6+
author: CodeLab
7+
---
8+
9+
![公众号二维码](/img/公众号二维码.jpg)

docusaurus.config.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ module.exports = {
8080
},
8181
]
8282
},
83+
/*
8384
{
8485
title: null,
8586
items:[
@@ -89,6 +90,7 @@ module.exports = {
8990
},
9091
]
9192
},
93+
*/
9294
{
9395
title: null,
9496
items:[
@@ -98,6 +100,7 @@ module.exports = {
98100
},
99101
]
100102
},
103+
/*
101104
{
102105
title: null,
103106
items:[
@@ -107,6 +110,16 @@ module.exports = {
107110
},
108111
]
109112
},
113+
*/
114+
{
115+
title: null,
116+
items:[
117+
{
118+
label:'微信公众号',
119+
to: 'blog/2020/04/01/欢迎关注CodeLab微信公众号'
120+
},
121+
]
122+
},
110123
{
111124
title: null,
112125
items:[

src/pages/projects/styles.module.css

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,38 +132,48 @@
132132
padding-right: 3.75rem;
133133
}
134134

135+
/*
135136
.navContainer {
136137
padding-right: 4rem;
137138
padding-left: 4rem;
138139
margin-right: auto;
139140
margin-left: auto;
140141
margin-bottom: 3rem;
141142
}
143+
*/
144+
142145

143146
.filter {
144147
display: flex;
145148
justify-content: center;
149+
flex-wrap: wrap;
150+
margin-bottom: 2rem;
151+
146152
}
147153

148154
.tag {
149155
color: white;
150-
padding: 0.5rem 1rem;
156+
padding: 0.2rem 0.5rem;
151157
border: solid white 1.5px;
152158
border-radius: 2.5rem;
153-
margin:0 1rem;
159+
margin:0.5rem 1rem;
154160
background-color:black;
155-
font-size:1.2rem;
161+
font-size:1rem;
156162
outline: none;
157163
cursor: pointer;
164+
display: inline-block;
165+
vertical-align: middle;
158166
}
159167

160168
.tagActive {
161169
outline: none;
162170
color: white;
163-
padding: 0.5rem 1rem;
171+
padding: 0.2rem 0.5rem;
164172
border: solid white 1.5px;
165173
border-radius: 2.5rem;
166-
margin:0 1rem;
174+
margin:0.5rem 1rem;
167175
background-color: #ffb81e;
168-
font-size: 1.5rem;
176+
font-size: 1rem;
177+
display: inline-block;
178+
vertical-align: middle;
169179
}

static/img/公众号二维码.jpg

145 KB
Loading

0 commit comments

Comments
 (0)