Skip to content

Commit

Permalink
Fixes for code highlighting - resolves victoriadrake#4
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicky committed May 6, 2018
1 parent c0374a9 commit 7edbabb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions sass/_elements.sass
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
& pre
line-height: 2rem
border-radius: 2px
background-color: lighten($dark-grey, 10%)
padding: 1rem
max-width: 100%
overflow-x: scroll
Expand All @@ -44,9 +43,9 @@
& code
font-size: 0.9rem
font-family: 'Source Code Pro', monospace
background-color: lighten($dark-grey, 10%)
padding: 0.2rem
border-radius: 2px
padding: 0.1rem
border-radius: 3px
border: 1px solid $links
& img
width: 100%
max-width: 100%
Expand Down Expand Up @@ -80,6 +79,9 @@
line-height: 2
&:last-child
margin-bottom: 1rem
& .highlight
max-width: 100%
color: $dark-grey

#tag
padding: 0.25em 0em
Expand Down
2 changes: 1 addition & 1 deletion static/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7edbabb

Please sign in to comment.