]> git.lizzy.rs Git - rust.git/commitdiff
Use correct CSS pseudo-element selector
authorGuillaume Gomez <guillaume.gomez@huawei.com>
Fri, 23 Dec 2022 18:30:44 +0000 (19:30 +0100)
committerGuillaume Gomez <guillaume.gomez@huawei.com>
Fri, 23 Dec 2022 18:30:44 +0000 (19:30 +0100)
src/librustdoc/html/static/css/themes/ayu.css
src/librustdoc/html/static/css/themes/dark.css
src/librustdoc/html/static/css/themes/light.css

index 1355ae9c2bacd0bf63a32fef684ef34595c15fc1..ce416f77afe903388096c01011716dc71d822829 100644 (file)
@@ -215,10 +215,10 @@ pre.rust .kw-2, pre.rust .prelude-ty {}
 .scraped-example .example-wrap .rust span.highlight.focus {
        background: rgb(124, 75, 15);
 }
-.scraped-example:not(.expanded) .code-wrapper:before {
+.scraped-example:not(.expanded) .code-wrapper::before {
        background: linear-gradient(to bottom, rgba(15, 20, 25, 1), rgba(15, 20, 25, 0));
 }
-.scraped-example:not(.expanded) .code-wrapper:after {
+.scraped-example:not(.expanded) .code-wrapper::after {
        background: linear-gradient(to top, rgba(15, 20, 25, 1), rgba(15, 20, 25, 0));
 }
 .toggle-line-inner {
index 84449542f22bf960d3d9d293e06beb1f4764cda6..33d934ff3c31224f9261eb60659640bac0f8a2a2 100644 (file)
 .scraped-example .example-wrap .rust span.highlight.focus {
        background: rgb(124, 75, 15);
 }
-.scraped-example:not(.expanded) .code-wrapper:before {
+.scraped-example:not(.expanded) .code-wrapper::before {
        background: linear-gradient(to bottom, rgba(53, 53, 53, 1), rgba(53, 53, 53, 0));
 }
-.scraped-example:not(.expanded) .code-wrapper:after {
+.scraped-example:not(.expanded) .code-wrapper::after {
        background: linear-gradient(to top, rgba(53, 53, 53, 1), rgba(53, 53, 53, 0));
 }
 .toggle-line-inner {
index 68dc0ce539b053c522d08496da285db81c8e8b23..30e91077d33ffce60c5432266f1e7c7a27ec0b4f 100644 (file)
 .scraped-example .example-wrap .rust span.highlight.focus {
        background: #f6fdb0;
 }
-.scraped-example:not(.expanded) .code-wrapper:before {
+.scraped-example:not(.expanded) .code-wrapper::before {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
 }
-.scraped-example:not(.expanded) .code-wrapper:after {
+.scraped-example:not(.expanded) .code-wrapper::after {
        background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
 }
 .toggle-line-inner {