Skip to content

Commit 25323b7

Browse files
committed
changes from implementation review
1 parent 45f7794 commit 25323b7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/pydata_sphinx_theme/assets/styles/abstracts/_links.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ corresponds to the section in the docs that the user is currently reading.
197197
> .dropdown-toggle {
198198
border-radius: 2px;
199199
color: var(--pst-color-text-muted);
200+
font-weight: 700;
200201

201202
&:hover {
202203
background-color: var(--pst-color-header-link-hover-bg);
@@ -207,7 +208,7 @@ corresponds to the section in the docs that the user is currently reading.
207208
&:focus {
208209
box-shadow: none; // override Bootstrap
209210
outline: 3px solid var(--pst-color-accent);
210-
outline-offset: 2px;
211+
outline-offset: 3px;
211212

212213
&:not(:hover) {
213214
background-color: var(--pst-color-accent-bg);
@@ -235,6 +236,9 @@ corresponds to the section in the docs that the user is currently reading.
235236
left: 0;
236237
border-bottom: 3px solid var(--pst-color-primary);
237238
}
239+
&:hover::after {
240+
display: none;
241+
}
238242
}
239243
}
240244
}

src/pydata_sphinx_theme/assets/styles/sections/_header.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
}
8585

8686
li.pst-header-nav-item {
87-
margin-inline: 4px; // breathing room so hover, focus styles do not overlap
87+
margin-inline: 5px; // breathing room so hover, focus styles do not overlap
8888
&:first-child {
8989
margin-inline-start: 0;
9090
}

0 commit comments

Comments
 (0)