Skip to content

Commit 1055606

Browse files
yyx990803kazupon
authored andcommitted
tweak code highlight styles
1 parent feaafef commit 1055606

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

themes/vue/source/css/_common.styl

+3-5
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,19 @@ a.button
6161
padding 0
6262
background-color $codebg
6363
padding .8em .8em .4em
64-
box-shadow 0 1px 1px rgba(0,0,0,0.125)
6564
line-height 1.1em
65+
border-radius $radius
6666
table, tr, td
6767
width 100%
6868
border-collapse collapse
6969
padding 0
7070
margin 0
71-
pre
72-
padding 1.2em 1.5em
73-
margin 0
7471
.gutter
7572
width 1.5em
7673
.code
7774
pre
78-
padding-left .5em
75+
padding 1.2em 1.4em
76+
margin 0
7977
&.html, &.js, &.bash, &.css
8078
.code:after
8179
position absolute

themes/vue/source/css/_demo.styl

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#demo, .demo
2-
border 1px solid #f0f0f0
3-
box-shadow 0 1px 1px rgba(0,0,0,.1)
2+
border 1px solid #eee
43
border-radius $radius
54
padding 25px 35px
65
margin-bottom 40px

themes/vue/source/css/_settings.styl

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $medium = #34495e
1313
$light = #7f8c8d
1414
$green = #42b983
1515
$border = #dddddd
16-
$codebg = #f9f9f9
16+
$codebg = #f8f8f8
1717
$red = #ff6666
1818

19-
$radius = 0px
19+
$radius = 2px

themes/vue/source/css/page.styl

+2-3
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,10 @@ $header-height = 40px
208208
padding 12px 24px 12px 30px
209209
margin 2em 0
210210
border-left 4px solid $red
211-
background-color #f9f9f9
211+
background-color $codebg
212212
position relative
213-
border-top-left-radius $radius
213+
border-bottom-right-radius $radius
214214
border-top-right-radius $radius
215-
box-shadow 0 1px 1px rgba(0,0,0,0.125)
216215
&:before
217216
position absolute
218217
top 14px

0 commit comments

Comments
 (0)