Skip to content

Commit

Permalink
add hint for search shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaangupta committed Dec 18, 2024
1 parent e87d843 commit b299afd
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,18 @@ p {

.md-tabs {
background: none;
}
}

[data-md-toggle="search"]:not(:checked) ~ .md-header .md-search__form::after {
position: absolute;
top: .3rem;
right: .3rem;
display: block;
padding: .1rem .4rem;
color: var(--md-default-bg-color);
font-weight: bold;
font-size: .8rem;
border: .05rem solid var(--md-default-bg-color--lighter);
border-radius: .1rem;
content: "/";
}

0 comments on commit b299afd

Please sign in to comment.