diff options
| author | tpowers <tpowers@localhost> | 2010-04-26 20:33:06 -0700 |
|---|---|---|
| committer | tpowers <tpowers@localhost> | 2010-04-26 20:33:06 -0700 |
| commit | a4fee155567555a3e62ba04a50117ae36fabc114 (patch) | |
| tree | 999d5e234ec5dc450809929e023ab7e6a62cd97c /sphinx/themes/default | |
| parent | 482720cf6583c4f28f225a037fec880d6d407aeb (diff) | |
| download | sphinx-git-a4fee155567555a3e62ba04a50117ae36fabc114.tar.gz | |
Added "link outside" and "link inside" classes to reference nodes.
Distinguishes hyperlinks that are outside of current sphinx hierarchy.
Diffstat (limited to 'sphinx/themes/default')
| -rw-r--r-- | sphinx/themes/default/static/default.css_t | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/sphinx/themes/default/static/default.css_t b/sphinx/themes/default/static/default.css_t index 579f57a4c..8c44f1ef2 100644 --- a/sphinx/themes/default/static/default.css_t +++ b/sphinx/themes/default/static/default.css_t @@ -147,7 +147,8 @@ div.sphinxsidebar input { font-size: 1em; } -/* -- body styles ----------------------------------------------------------- */ + +/* -- hyperlink styles ------------------------------------------------------ */ a { color: {{ theme_linkcolor }}; @@ -163,6 +164,48 @@ a:hover { text-decoration: underline; } +div.toctree-wrapper a, +div.toctree-wrapper a:visited, +div#indices-and-tables a, +div#indices-and-tables a:visited, +div.sphinxsidebar a, +div.sphinxsidebar a:visited, +div.related a, +div.related a:visited { + text-decoration: none; +} + +div.toctree-wrapper a:hover, +div#indices-and-tables a:hover, +div.sphinxsidebar a:hover, +div.related a:hover { + text-decoration: underline; + } + +a.link.outside { + text-decoration: none; + border-bottom: 1px dashed {{ theme_linkcolor }}; +} + +a.link.outside:hover { + text-decoration: none; + border-bottom: none; +} + +/* To distinguish between internal & external references uncomment following */ +/* +a.reference, +a.reference em { + font-style: normal; +} + +a.reference.internal em { + font-style: italic; +} +*/ + +/* -- body styles ----------------------------------------------------------- */ + div.body h1, div.body h2, div.body h3, |
