diff --git a/sphinx_rtd_theme/static/theme.css b/sphinx_rtd_theme/static/theme.css index 7c358708..129894b5 100644 --- a/sphinx_rtd_theme/static/theme.css +++ b/sphinx_rtd_theme/static/theme.css @@ -80,7 +80,7 @@ mark { font-weight: bold; } -pre, code, .rst-content tt.literal, kbd, samp { +pre, code, .rst-content dl dt, .rst-content tt.literal, kbd, samp { font-family: monospace, serif; _font-family: "courier new", monospace; font-size: 1em; @@ -3289,7 +3289,7 @@ small { font-size: 80%; } -code, .rst-content tt.literal { +code, .rst-content dl dt, .rst-content tt.literal { white-space: nowrap; background: white; border: solid 1px #e1e4e5; @@ -3298,7 +3298,7 @@ code, .rst-content tt.literal { font-family: "Incosolata", "Consolata", "Monaco", monospace; color: #e74c3c; } -code.code-large, .rst-content tt.code-large.literal { +code.code-large, .rst-content dl dt.code-large, .rst-content tt.code-large.literal { font-size: 90%; } @@ -3576,16 +3576,19 @@ a.wy-text-neutral:hover { text-align: left; padding-left: 0; } -.rst-content dl dt .descname, .rst-content dl dt .descclassname, .rst-content dl dt big, .rst-content dl dt em { +.rst-content dl dt { display: inline-block; - font-size: 100%; - font-weight: bold; - font-family: "Incosolata", "Consolata", "Monaco", monospace; margin-bottom: 6px; - color: gray; + font-size: 80%; + line-height: normal; } -.rst-content dl dt .descname .headerlink, .rst-content dl dt .descclassname .headerlink, .rst-content dl dt big .headerlink, .rst-content dl dt em .headerlink { +.rst-content dl dt .descname, .rst-content dl dt .descclassname, .rst-content dl dt big, .rst-content dl dt em { + font-size: 100% !important; + line-height: normal; +} +.rst-content dl dt .headerlink { color: #404040; + font-size: 100% !important; } .rst-content dl dd { margin-left: 24px;