-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix some CSS warnings and errors from VS Code #93444
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -531,7 +531,7 @@ kbd { | |
background-color: #314559; | ||
border-color: #5c6773; | ||
border-bottom-color: #5c6773; | ||
box-shadow-color: #c6cbd1; | ||
box-shadow: inset 0 -1px 0 #5c6773; | ||
} | ||
|
||
#theme-picker, #settings-menu, #help-button { | ||
|
@@ -630,5 +630,5 @@ input:checked + .slider { | |
background: #616161; | ||
} | ||
.toggle-line:hover .toggle-line-inner { | ||
background: ##898989; | ||
background: #898989; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc @willcrichton – this will change the display of scrape-examples There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah yeah this is fixed in my PR. |
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,9 @@ pre, .rustdoc.source .example-wrap { | |
} | ||
|
||
.rust-logo { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In this case, it's to force other themes to have this rule. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What do you mean by "force"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All the CSS rules in |
||
/* No need for a border in here! */ | ||
/* This rule exists to force other themes to explicitly style the logo. | ||
* Rustdoc has a custom linter for this purpose. | ||
*/ | ||
} | ||
|
||
/* Improve the scrollbar display on webkit-based browsers */ | ||
|
@@ -391,7 +393,7 @@ kbd { | |
background-color: #fafbfc; | ||
border-color: #d1d5da; | ||
border-bottom-color: #c6cbd1; | ||
box-shadow-color: #c6cbd1; | ||
box-shadow: inset 0 -1px 0 #c6cbd1; | ||
} | ||
|
||
#theme-picker, #settings-menu, #help-button { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that I intentionally changed it from
#c6cbd1
to#5c6773
because the old color was the one used in the dark theme and seemed inconsistent with Ayu.