Skip to content

Commit 66779ff

Browse files
committed
Add border bottom for source sidebar title area
1 parent c3e29ea commit 66779ff

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/librustdoc/html/static/css/rustdoc.css

+3-8
Original file line numberDiff line numberDiff line change
@@ -1519,12 +1519,6 @@ a.tooltip:hover::after {
15191519
width: 100%;
15201520
overflow: auto;
15211521
}
1522-
#src-sidebar > .title {
1523-
font-size: 1.5rem;
1524-
text-align: center;
1525-
border-bottom: 1px solid var(--border-color);
1526-
margin-bottom: 6px;
1527-
}
15281522
#src-sidebar div.files > a:hover, details.dir-entry summary:hover,
15291523
#src-sidebar div.files > a:focus, details.dir-entry summary:focus {
15301524
background-color: var(--src-sidebar-background-hover);
@@ -1539,7 +1533,9 @@ a.tooltip:hover::after {
15391533
display: flex;
15401534
padding: 8px;
15411535
padding-left: 48px;
1536+
padding-bottom: 7px;
15421537
background: var(--sidebar-background-color);
1538+
border-bottom: 1px solid var(--border-color);
15431539
}
15441540

15451541
#settings-menu, #help-button {
@@ -2622,8 +2618,7 @@ Original by Dempfi (https://github.com/dempfi/ayu)
26222618
:root[data-theme="ayu"] h4,
26232619
:where(:root[data-theme="ayu"]) h1 a,
26242620
:root[data-theme="ayu"] .sidebar h2 a,
2625-
:root[data-theme="ayu"] .sidebar h3 a,
2626-
:root[data-theme="ayu"] #source-sidebar > .title {
2621+
:root[data-theme="ayu"] .sidebar h3 a {
26272622
color: #fff;
26282623
}
26292624

0 commit comments

Comments
 (0)