Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit42ade08

Browse files
authored
Make copy button appear when hovered (#243)
1 parent5d07825 commit42ade08

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎python_docs_theme/static/pydoctheme.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ div.genindex-jumpbox a {
451451
color:#000;
452452
background-color:#fff;
453453
border:1px solid#ac9;/* follows div.body pre */
454+
display: none;
454455
}
455456

456457
.copybutton:hover {
@@ -461,6 +462,14 @@ div.genindex-jumpbox a {
461462
background-color:#ddd;
462463
}
463464

465+
.highlight:active .copybutton {
466+
display: block;
467+
}
468+
469+
.highlight:hover .copybutton {
470+
display: block;
471+
}
472+
464473
@media (max-width:1023px) {
465474
/* Body layout */
466475
div.body {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp