From 5a801c89d097ee3f6e66fd27e9554233dcb1978d Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 11 Aug 2018 13:34:15 +0200 Subject: [PATCH] Fix styles --- src/librustdoc/html/static/themes/dark.css | 4 ++-- src/librustdoc/html/static/themes/light.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css index faca264ea10..a2cb79582a1 100644 --- a/src/librustdoc/html/static/themes/dark.css +++ b/src/librustdoc/html/static/themes/dark.css @@ -165,8 +165,8 @@ a { color: #ddd; } -.docblock a:not(.srclink):not(.test-arrow), .docblock-short a:not(.srclink):not(.test-arrow), -.stability a { +.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow), .docblock-short +a:not(.srclink):not(.test-arrow), .stability a { color: #D2991D; } diff --git a/src/librustdoc/html/static/themes/light.css b/src/librustdoc/html/static/themes/light.css index 5725a41d939..6a3c1988977 100644 --- a/src/librustdoc/html/static/themes/light.css +++ b/src/librustdoc/html/static/themes/light.css @@ -165,8 +165,8 @@ a { color: #000; } -.docblock a:not(.srclink):not(.test-arrow), .docblock-short a:not(.srclink):not(.test-arrow), -.stability a { +.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow), .docblock-short +a:not(.srclink):not(.test-arrow), .stability a { color: #3873AD; }