fixes #48, change note coloring to be pastels to avoid nesting problems

so I can have a life and not worry about people who use these things
weirdly
This commit is contained in:
Dave Snider 2013-11-12 11:01:29 -08:00
parent 3dbcb5f23f
commit 94421218f8
5 changed files with 12 additions and 13 deletions

View File

@ -138,10 +138,18 @@ Code with Sidebar
Boxes
=====
.. tip::
Equations within a note
:math:`G_{\mu\nu} = 8 \pi G (T_{\mu\nu} + \rho_\Lambda g_{\mu\nu})`.
.. note::
Equations within a note
:math:`G_{\mu\nu} = 8 \pi G (T_{\mu\nu} + \rho_\Lambda g_{\mu\nu})`.
.. danger::
Equations within a note
:math:`G_{\mu\nu} = 8 \pi G (T_{\mu\nu} + \rho_\Lambda g_{\mu\nu})`.
.. warning::
Equations within a note
:math:`G_{\mu\nu} = 8 \pi G (T_{\mu\nu} + \rho_\Lambda g_{\mu\nu})`.

View File

@ -1,10 +1,3 @@
span[id*='MathJax-Span']
color: $mathjax-color
.admonition.note
span[id*='MathJax-Span']
color: $mathjax-note-color
.admonition.warning
span[id*='MathJax-Span']
color: $mathjax-warning-color

View File

@ -38,10 +38,10 @@
// These are the various note pullouts that sphinx applies
.note, .attention, .caution, .danger, .error, .hint, .important, .tip, .warning
@extend .wy-alert
.last, p.first
.last
margin-bottom: 0
.admonition-title
font-weight: bold
@extend .wy-alert-title
@extend .icon
@extend .icon-exclamation-sign
&:before
@ -49,7 +49,7 @@
.note
@extend .wy-alert.wy-alert-info
.hint, .tip, .important
@extend .wy-alert.wy-alert-info
@extend .wy-alert.wy-alert-success
.error, .danger
@extend .wy-alert.wy-alert-danger
.warning, .caution, .attention

View File

@ -5,5 +5,3 @@
$font-awesome-dir: "../font/"
$static-img: "../img/"
$mathjax-color: $text-color
$mathjax-note-color: $white
$mathjax-warning-color: $white

File diff suppressed because one or more lines are too long