diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-26 15:40:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-26 15:40:55 -0700 |
| commit | 76b21341a8b7c839bcf7d922837ee5ca512cac6a (patch) | |
| tree | 8e218a6f51456dacb4b397dbb9358c61383b0c83 /src/librustdoc/html/static/css/themes/light.css | |
| parent | 66bab6b7817223ee20b9a610838bf4ce1281ac5c (diff) | |
| parent | 9ca2ae3fa74c0598d0b0dfe6e84cae7b39913539 (diff) | |
Rollup merge of #102325 - notriddle:notriddle/line-number, r=GuillaumeGomez
rustdoc: give `.line-number` / `.line-numbers` meaningful names
Diffstat (limited to 'src/librustdoc/html/static/css/themes/light.css')
| -rw-r--r-- | src/librustdoc/html/static/css/themes/light.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/themes/light.css b/src/librustdoc/html/static/css/themes/light.css index 64335f62928..6fbea6f6c7a 100644 --- a/src/librustdoc/html/static/css/themes/light.css +++ b/src/librustdoc/html/static/css/themes/light.css @@ -53,8 +53,8 @@ input:focus + .slider { background-color: #fff; } -.line-numbers span { color: #c67e2d; } -.line-numbers .line-highlighted { +.src-line-numbers span { color: #c67e2d; } +.src-line-numbers .line-highlighted { background-color: #FDFFD3 !important; } @@ -125,7 +125,7 @@ body.source .example-wrap pre.rust a { .stab { background: #FFF5D6; border-color: #FFC600; } .stab.portability > code { background: none; } -.line-numbers :target { background-color: transparent; } +.src-line-numbers :target { background-color: transparent; } /* Code highlighting */ pre.rust .kw { color: #8959A8; } @@ -141,7 +141,7 @@ pre.rust .question-mark { color: #ff9011; } -.example-wrap > pre.line-number { +pre.example-line-numbers { border-color: #c7c7c7; } |
