mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
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:
parent
3dbcb5f23f
commit
94421218f8
@ -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})`.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user