about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-11-22 23:30:29 +0100
committerGitHub <noreply@github.com>2021-11-22 23:30:29 +0100
commitcb7776758c4ce20e7b20526cc753cf33a9ba6bdf (patch)
tree1edf962825a808486de00ef5a609a726d609ec56 /compiler/rustc_codegen_llvm/src
parent936f2600b6c903b04387f74ed5cbce88bb06d243 (diff)
parenta56559df1346c44aa058f3a82785f20230a0468f (diff)
downloadrust-cb7776758c4ce20e7b20526cc753cf33a9ba6bdf.tar.gz
rust-cb7776758c4ce20e7b20526cc753cf33a9ba6bdf.zip
Rollup merge of #91102 - jsha:theme-anchor, r=GuillaumeGomez
Set color for <a> in a more straightforward way.

Previously, we set the default color for <a> tags to black, and then had an override with a bunch of not() clauses to set anchors in
docblocks to blue.

Instead, we should set the default color for <a> to blue (or equivalent in other themes), and override it for places like the sidebar or search results, where we don't want them to be styled as links.

Demo at https://rustdoc.crud.net/jsha/theme-anchor/std/string/struct.String.html. This should result in no visible changes.

r? `@GuillaumeGomez`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions