mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
source links, demo docs
This commit is contained in:
parent
d782d51d49
commit
caba30b87f
@ -28,6 +28,22 @@ Here is another:
|
|||||||
\left( \sin \theta \, \frac{\partial f}{\partial \theta} \right) +
|
\left( \sin \theta \, \frac{\partial f}{\partial \theta} \right) +
|
||||||
\frac{1}{r^2 \sin^2\theta} \frac{\partial^2 f}{\partial \phi^2}
|
\frac{1}{r^2 \sin^2\theta} \frac{\partial^2 f}{\partial \phi^2}
|
||||||
|
|
||||||
|
|
||||||
|
Giant tables
|
||||||
|
============
|
||||||
|
|
||||||
|
+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+
|
||||||
|
| Header 1 | Header 2 | Header 3 | Header 1 | Header 2 | Header 3 | Header 1 | Header 2 | Header 3 | Header 1 | Header 2 | Header 3 |
|
||||||
|
+============+============+===========+============+============+===========+============+============+===========+============+============+===========+
|
||||||
|
| body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 |
|
||||||
|
+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+
|
||||||
|
| body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 |
|
||||||
|
+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+
|
||||||
|
| body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 |
|
||||||
|
+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+
|
||||||
|
| body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 | body row 1 | column 2 | column 3 |
|
||||||
|
+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+------------+------------+-----------+
|
||||||
|
|
||||||
API Test
|
API Test
|
||||||
========
|
========
|
||||||
|
|
||||||
@ -146,6 +162,19 @@ documentation for it.
|
|||||||
.. _Docutils: http://docutils.sourceforge.net/
|
.. _Docutils: http://docutils.sourceforge.net/
|
||||||
.. _Inline Markup: http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup
|
.. _Inline Markup: http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup
|
||||||
|
|
||||||
|
.. note:: Every other line in this table will have white text on a white background.
|
||||||
|
This is bad.
|
||||||
|
|
||||||
|
+---------+
|
||||||
|
| Example |
|
||||||
|
+=========+
|
||||||
|
| Thing1 |
|
||||||
|
+---------+
|
||||||
|
| Thing2 |
|
||||||
|
+---------+
|
||||||
|
| Thing3 |
|
||||||
|
+---------+
|
||||||
|
|
||||||
Citation
|
Citation
|
||||||
========
|
========
|
||||||
|
|
||||||
|
@ -51,10 +51,7 @@
|
|||||||
padding: $gutter / 4 $gutter * 1.5
|
padding: $gutter / 4 $gutter * 1.5
|
||||||
&:hover
|
&:hover
|
||||||
background: darken($section-background-color, 15%)
|
background: darken($section-background-color, 15%)
|
||||||
.current
|
// On state for the first level
|
||||||
background: darken($section-background-color, 20%)
|
|
||||||
li.tocktree-l2.current > a
|
|
||||||
background: darken($section-background-color, 20%)
|
|
||||||
li.on a, li.current > a
|
li.on a, li.current > a
|
||||||
color: $text-color
|
color: $text-color
|
||||||
padding: $gutter / 4 $gutter
|
padding: $gutter / 4 $gutter
|
||||||
@ -68,6 +65,9 @@
|
|||||||
+font-smooth
|
+font-smooth
|
||||||
&:hover
|
&:hover
|
||||||
background: $section-background-color
|
background: $section-background-color
|
||||||
|
// This is the on state for pages beyond second level
|
||||||
|
li.tocktree-l2.current > a
|
||||||
|
background: darken($section-background-color, 20%)
|
||||||
li.current ul
|
li.current ul
|
||||||
display: block
|
display: block
|
||||||
li ul
|
li ul
|
||||||
|
@ -181,6 +181,7 @@
|
|||||||
color: $blue
|
color: $blue
|
||||||
border-top: solid 3px lighten($blue, 20%)
|
border-top: solid 3px lighten($blue, 20%)
|
||||||
padding: $base-line-height / 4
|
padding: $base-line-height / 4
|
||||||
|
position: relative
|
||||||
&:before
|
&:before
|
||||||
color: lighten($blue, 20%)
|
color: lighten($blue, 20%)
|
||||||
.headerlink
|
.headerlink
|
||||||
@ -214,6 +215,11 @@
|
|||||||
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
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user