Skip to content

Commit ae3bfb8

Browse files
committed
style: enhance the style of vue container
1 parent dd8ab89 commit ae3bfb8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/@vuepress/theme-default/styles/custom-blocks.styl

+8-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,14 @@ pre.vue-container
3333
border-left-width: .5rem;
3434
border-left-style: solid;
3535
border-color: #42b983;
36-
code
36+
& > code
3737
color: #2c3e50 !important;
3838
font-size: 14px !important;
3939
& > p
40-
margin: -20px 0;
40+
margin: -5px 0 -20px 0;
41+
code
42+
background-color: darken(#f3f5f7, 10%) !important;
43+
padding: 3px 5px;
44+
border-radius: 10px;
45+
color: lighten(#2c3e50, 10%) !important;
46+

0 commit comments

Comments
 (0)