Make code block color match Wyrm code block color

This fixes #203. As of Sphinx 1.3, there are some code blocks that shouldn't
have this styling: namely breadcrumb code blocks and xref code blocks. This adds
additional rules for those as well.
This commit is contained in:
Anthony Johnson 2015-07-17 14:16:57 -07:00
parent 6277c21110
commit 591c2283a8
4 changed files with 12 additions and 3 deletions

View File

@ -7,6 +7,12 @@
padding: 5px
&:first-child
padding-left: 0
code
padding: 5px
border: none
background: none
&.literal
color: $text-color
.wy-breadcrumbs-extra
margin-bottom: 0
color: $text-light

View File

@ -195,8 +195,11 @@
font-size: 100% !important
line-height: normal
.xref, a &
&.literal
color: $text-code-color
&.xref, a &
font-weight: bold
color: $text-color
// If the literal is inside an a tag, let's color it like a link
a tt, a code
color: $link-color

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long