From 2ca01d8ee92ea953aa5a724dbfd903829db82fbd Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 14 Jan 2010 21:35:08 +0100 Subject: Adapt viewcode styles to theme. --- sphinx/themes/basic/static/basic.css | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) (limited to 'sphinx/themes/basic/static/basic.css') diff --git a/sphinx/themes/basic/static/basic.css b/sphinx/themes/basic/static/basic.css index f04023bf..465b526e 100644 --- a/sphinx/themes/basic/static/basic.css +++ b/sphinx/themes/basic/static/basic.css @@ -368,22 +368,6 @@ dl.glossary dt { margin-left: 1.5em; } -.viewcode-link { - float: right; -} - -.viewcode-back { - float: right; - font-family: sans-serif; -} - -div.viewcode-block:target { - background-color: #f4debf; - border: 1px solid #D5BB73; - margin: -1px -10px; - padding: 0 10px; -} - /* -- code displays --------------------------------------------------------- */ pre { @@ -424,6 +408,20 @@ h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { background-color: transparent; } +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + /* -- math display ---------------------------------------------------------- */ img.math { -- cgit v1.2.1