diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-01-15 23:21:10 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-01-15 23:21:36 +0100 |
| commit | feda6040faa854f6bbe6ab9c7f11b59ec21ec1d1 (patch) | |
| tree | d2543a5e80874f7f56570490dd4484cac80a4585 | |
| parent | aea9f0aa976db2f5de28be3b6b287c6889cd926b (diff) | |
| download | rust-feda6040faa854f6bbe6ab9c7f11b59ec21ec1d1.tar.gz rust-feda6040faa854f6bbe6ab9c7f11b59ec21ec1d1.zip | |
Fixes text becoming invisible when element targetted
| -rw-r--r-- | src/librustdoc/html/static/themes/dark.css | 8 | ||||
| -rw-r--r-- | src/librustdoc/html/static/themes/light.css | 8 |
2 files changed, 2 insertions, 14 deletions
diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css index 1390be70063..52a30967a23 100644 --- a/src/librustdoc/html/static/themes/dark.css +++ b/src/librustdoc/html/static/themes/dark.css @@ -82,12 +82,6 @@ pre { border-bottom-color: #ddd; } -:target { background: #494a3d; } - -:target > .in-band { - background: #494a3d; -} - .content .method .where, .content .fn .where, .content .where.fmt-newline { @@ -252,7 +246,7 @@ a.test-arrow:hover{ color: #999; } -:target > code { +:target > code, :target > .in-band { background-color: #494a3d; } diff --git a/src/librustdoc/html/static/themes/light.css b/src/librustdoc/html/static/themes/light.css index 2b04dd2388d..d20fea666e6 100644 --- a/src/librustdoc/html/static/themes/light.css +++ b/src/librustdoc/html/static/themes/light.css @@ -84,12 +84,6 @@ pre { border-bottom-color: #ddd; } -:target { background: #FDFFD3; } - -:target > .in-band { - background: #FDFFD3; -} - .content .method .where, .content .fn .where, .content .where.fmt-newline { @@ -247,7 +241,7 @@ a.test-arrow:hover{ color: #999; } -:target > code { +:target > code, :target > .in-band { background: #FDFFD3; } |
