GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Make copy button appear when hovered (#243) · yeager/python-docs-theme@42ade08

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • python_docs_theme/static
    • pydoctheme.css
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎python_docs_theme/static/pydoctheme.css‎

Copy file name to clipboardExpand all lines: python_docs_theme/static/pydoctheme.css
+9Lines 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 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.