Reduce visual weight of attributes.
This commit is contained in:
parent
392ba2ba1a
commit
e23b035bbe
5 changed files with 10 additions and 4 deletions
|
@ -989,7 +989,6 @@ fn render_assoc_item(
|
|||
|
||||
const ALLOWED_ATTRIBUTES: &[Symbol] = &[
|
||||
sym::export_name,
|
||||
sym::lang,
|
||||
sym::link_section,
|
||||
sym::must_use,
|
||||
sym::no_mangle,
|
||||
|
|
|
@ -967,6 +967,10 @@ a.test-arrow:hover{
|
|||
color: inherit;
|
||||
}
|
||||
|
||||
.code-attribute {
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.collapse-toggle {
|
||||
font-weight: 300;
|
||||
position: absolute;
|
||||
|
|
|
@ -329,7 +329,8 @@ a.test-arrow:hover {
|
|||
color: #c5c5c5;
|
||||
}
|
||||
|
||||
.toggle-label {
|
||||
.toggle-label,
|
||||
.code-attribute {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
|
|
|
@ -274,7 +274,8 @@ a.test-arrow:hover{
|
|||
background-color: #4e8bca;
|
||||
}
|
||||
|
||||
.toggle-label {
|
||||
.toggle-label,
|
||||
.code-attribute {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
|
|
|
@ -267,7 +267,8 @@ a.test-arrow:hover{
|
|||
background-color: #4e8bca;
|
||||
}
|
||||
|
||||
.toggle-label {
|
||||
.toggle-label,
|
||||
.code-attribute {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue