diff options
author | Pauli Virtanen <pav@iki.fi> | 2017-04-30 18:32:06 +0200 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2017-04-30 18:32:06 +0200 |
commit | 31c86007636790c1b8a6edd29e02d9f0beab250d (patch) | |
tree | b845c4f0f0bf205b7a643a060666d618b7e6f46d | |
parent | 0eaef7ac75f6181c5b8d6f6608a46688fcf202ed (diff) | |
download | scipy-sphinx-theme-31c86007636790c1b8a6edd29e02d9f0beab250d.tar.gz |
Fix <code> appearance on newer Sphinx versions
-rw-r--r-- | _theme/scipy/static/scipy.css_t | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/_theme/scipy/static/scipy.css_t b/_theme/scipy/static/scipy.css_t index 3909af9..675cefe 100644 --- a/_theme/scipy/static/scipy.css_t +++ b/_theme/scipy/static/scipy.css_t @@ -44,13 +44,13 @@ tt.literal { } a tt.literal { - border-bottom: none; + border: none; background-color: inherit; } tt.xref { font-family: inherit; - border-bottom: none; + border: none; background-color: inherit; font-weight: normal; padding-left: 0px; @@ -60,6 +60,35 @@ tt.descname { font-size: 16px; } +code { + color: inherit; + font: inherit; + padding: inherit; + border: inherit; +} + +code.literal { + font-family: monospace; + padding-left: 2px; + background-color: rgb(242, 242, 242); +} + +a code.literal { + border: none; + background-color: inherit; +} + +code.xref { + font-family: inherit; + border-bottom: none; + background-color: inherit; + padding-left: 0px; +} + +code.descname { + font-size: 16px; +} + dl.class > dt > em { font-weight: normal; } @@ -175,6 +204,13 @@ h4 tt { font: inherit; border-bottom: none; } h5 tt { font: inherit; border-bottom: none; } h6 tt { font: inherit; border-bottom: none; } +h1 code { font: inherit; border: none; background-color: inherit; padding: inherit; } +h2 code { font: inherit; border: none; background-color: inherit; padding: inherit; } +h3 code { font: inherit; border: none; background-color: inherit; padding: inherit; } +h4 code { font: inherit; border: none; background-color: inherit; padding: inherit; } +h5 code { font: inherit; border: none; background-color: inherit; padding: inherit; } +h6 code { font: inherit; border: none; background-color: inherit; padding: inherit; } + div#spc-section-body h1 { color: rgb(85, 85, 85); } div#spc-section-body h2 { color: rgb(85, 85, 85); } div#spc-section-body h3 { color: rgb(85, 85, 85); } |