diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-26 12:21:27 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-09-26 12:49:08 -0700 |
| commit | 9ca2ae3fa74c0598d0b0dfe6e84cae7b39913539 (patch) | |
| tree | 83230e96274e857d48fc64917233a79bb01ac616 | |
| parent | 0b97831af756b0b1dd7c75f1f5c35436b2424663 (diff) | |
| download | rust-9ca2ae3fa74c0598d0b0dfe6e84cae7b39913539.tar.gz rust-9ca2ae3fa74c0598d0b0dfe6e84cae7b39913539.zip | |
rustdoc: simplify example-line-numbers CSS selector
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 2 | ||||
| -rw-r--r-- | src/librustdoc/html/static/css/themes/ayu.css | 2 | ||||
| -rw-r--r-- | src/librustdoc/html/static/css/themes/dark.css | 2 | ||||
| -rw-r--r-- | src/librustdoc/html/static/css/themes/light.css | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index b4c7638b798..a8c044ab69b 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -578,7 +578,7 @@ h2.location a { position: relative; } -.example-wrap > pre.example-line-numbers { +pre.example-line-numbers { overflow: initial; border: 1px solid; padding: 13px 8px; diff --git a/src/librustdoc/html/static/css/themes/ayu.css b/src/librustdoc/html/static/css/themes/ayu.css index 34411ace6fd..44238ca573d 100644 --- a/src/librustdoc/html/static/css/themes/ayu.css +++ b/src/librustdoc/html/static/css/themes/ayu.css @@ -190,7 +190,7 @@ pre.rust .attribute { color: #e6e1cf; } -.example-wrap > pre.example-line-numbers { +pre.example-line-numbers { color: #5c67736e; border: none; } diff --git a/src/librustdoc/html/static/css/themes/dark.css b/src/librustdoc/html/static/css/themes/dark.css index 9978f5f9187..858d836c03d 100644 --- a/src/librustdoc/html/static/css/themes/dark.css +++ b/src/librustdoc/html/static/css/themes/dark.css @@ -155,7 +155,7 @@ pre.rust .question-mark { color: #ff9011; } -.example-wrap > pre.example-line-numbers { +pre.example-line-numbers { border-color: #4a4949; } diff --git a/src/librustdoc/html/static/css/themes/light.css b/src/librustdoc/html/static/css/themes/light.css index 377aca7b3a7..6fbea6f6c7a 100644 --- a/src/librustdoc/html/static/css/themes/light.css +++ b/src/librustdoc/html/static/css/themes/light.css @@ -141,7 +141,7 @@ pre.rust .question-mark { color: #ff9011; } -.example-wrap > pre.example-line-numbers { +pre.example-line-numbers { border-color: #c7c7c7; } |
