Skip to content

Commit 2a34b9f

Browse files
committed
🌈style(视频标签): 优化字体大小字体边框
1 parent 0b6f3c6 commit 2a34b9f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/pages/projects/styles.module.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,18 +147,19 @@
147147
display: flex;
148148
justify-content: center;
149149
flex-wrap: wrap;
150-
margin-bottom: 2rem;
150+
margin: 0 2rem 2rem 2rem;
151+
151152

152153
}
153154

154155
.tag {
155156
color: white;
156157
padding: 0.2rem 0.5rem;
157-
border: solid white 1.5px;
158+
border: solid white 0.1vw;
158159
border-radius: 2.5rem;
159160
margin:0.5rem 1rem;
160161
background-color:black;
161-
font-size:1rem;
162+
font-size:1vw;
162163
outline: none;
163164
cursor: pointer;
164165
display: inline-block;
@@ -169,11 +170,11 @@
169170
outline: none;
170171
color: white;
171172
padding: 0.2rem 0.5rem;
172-
border: solid white 1.5px;
173+
border: solid white 0.1vw;
173174
border-radius: 2.5rem;
174175
margin:0.5rem 1rem;
175176
background-color: #ffb81e;
176-
font-size: 1rem;
177+
font-size: 1vw;
177178
display: inline-block;
178179
vertical-align: middle;
179180
}

0 commit comments

Comments
 (0)