Skip to content

Commit

Permalink
Rollup merge of #74504 - lzutao:ayu-border-selected-fn, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
Add right border bar to Dark and Light theme

Demo:
Light theme: #74504 (comment)
Dark theme: #74504 (comment)
Ayu theme: #74504 (comment)
  • Loading branch information
JohnTitor authored Jul 24, 2020
2 parents 38b2956 + 7005ddb commit 52476f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/themes/ayu.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ a.test-arrow:hover {

:target > code, :target > .in-band {
background: rgba(255, 236, 164, 0.06);
border-right: 3px solid #ffb44c;
border-right: 3px solid rgba(255, 180, 76, 0.85);
}

pre.compile_fail {
Expand Down
1 change: 1 addition & 0 deletions src/librustdoc/html/static/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ a.test-arrow:hover{

:target > code, :target > .in-band {
background-color: #494a3d;
border-right: 3px solid #bb7410;
}

pre.compile_fail {
Expand Down
1 change: 1 addition & 0 deletions src/librustdoc/html/static/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ a.test-arrow:hover{

:target > code, :target > .in-band {
background: #FDFFD3;
border-right: 3px solid #ffb44c;
}

pre.compile_fail {
Expand Down

0 comments on commit 52476f5

Please sign in to comment.