Skip to content

Commit 8845971

Browse files
Improve code CSS style for better readability (#267)
Fix #170.
1 parent 89a5613 commit 8845971

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

app/assets/css/modules/_typography.styl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
h4,
2828
h5,
2929
h6
30-
line-height: 1em
30+
line-height: 1.3em
3131
margin-top: 1em
3232
color: grey-dark
3333
font-weight: bold
@@ -66,7 +66,7 @@
6666
font-weight: 300
6767

6868
p
69-
line-height: 1.3em
69+
line-height: 1.5em
7070
margin: 1em 0
7171

7272
p img
@@ -179,10 +179,9 @@
179179

180180
code
181181
height: 4px
182-
padding: 0
183-
background: #fafafa
182+
padding: .2em .4em
183+
background: #f2f2f2
184184
color: #666
185-
border: 1px solid #ddd
186185
border-radius: 3px
187186
font-family: inconsolata, monospace
188187

0 commit comments

Comments
 (0)