partial fix for #64

This commit is contained in:
Dave Snider 2013-12-03 19:47:56 -08:00
parent 04f964b90d
commit 1e2ec72b10
3 changed files with 18 additions and 7 deletions

View File

@ -85,6 +85,12 @@ This example comes from `django-payments module docs`_.
Code test Code test
========= =========
.. parsed-literal::
# parsed-literal test
curl -O http://someurl/release-|version|.tar-gz
.. code-block:: json .. code-block:: json
{ {

View File

@ -36,7 +36,8 @@
margin-left: $base-line-height margin-left: $base-line-height
line-height: $base-line-height line-height: $base-line-height
margin-bottom: $base-line-height margin-bottom: $base-line-height
.literal-block
@extend .codeblock
// These are the various note pullouts that sphinx applies // These are the various note pullouts that sphinx applies
.note, .attention, .caution, .danger, .error, .hint, .important, .tip, .warning, .seealso .note, .attention, .caution, .danger, .error, .hint, .important, .tip, .warning, .seealso
@extend .wy-alert @extend .wy-alert
@ -239,11 +240,6 @@
font-size: 100% !important font-size: 100% !important
&.descname &.descname
font-weight: bold font-weight: bold
.viewcode-link
display: inline-block
color: $green
font-size: 80%
padding-left: $base-line-height
// This is for more advanced parameter control // This is for more advanced parameter control
.optional .optional
display: inline-block display: inline-block
@ -253,6 +249,15 @@
.property .property
display: inline-block display: inline-block
padding-right: 8px padding-right: 8px
// Doc links to sourcecode
.viewcode-link, .viewcode-back
display: inline-block
color: $green
font-size: 80%
padding-left: $base-line-height
.viewcode-back
display: block
float: right
// Mobile specific // Mobile specific
+media($mobile) +media($mobile)

File diff suppressed because one or more lines are too long