mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
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:
parent
6277c21110
commit
591c2283a8
|
@ -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
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue
Block a user