diff options
| author | Georg Brandl <georg@python.org> | 2010-01-14 21:35:08 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-01-14 21:35:08 +0100 |
| commit | 2ca01d8ee92ea953aa5a724dbfd903829db82fbd (patch) | |
| tree | 9014a366235b6244ba9291496d992ce1bd24160f /sphinx/themes/scrolls | |
| parent | 125ba24fced644c2d5189f1265a714b22ab1abfa (diff) | |
| download | sphinx-2ca01d8ee92ea953aa5a724dbfd903829db82fbd.tar.gz | |
Adapt viewcode styles to theme.
Diffstat (limited to 'sphinx/themes/scrolls')
| -rw-r--r-- | sphinx/themes/scrolls/static/scrolls.css_t | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sphinx/themes/scrolls/static/scrolls.css_t b/sphinx/themes/scrolls/static/scrolls.css_t index 41a725a6..589f91ab 100644 --- a/sphinx/themes/scrolls/static/scrolls.css_t +++ b/sphinx/themes/scrolls/static/scrolls.css_t @@ -412,3 +412,20 @@ span.highlight { margin-bottom: 0; margin-left: 1.5em; } + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: 'Georgia', serif; +} + +div.viewcode-block:target { + background-color: #f4debf; + border-top: 1px solid #ac9; + border-bottom: 1px solid #ac9; + margin: -1px -5px; + padding: 0 5px; +} |
