Skip to content

Commit

Permalink
[3.2.x] Fixed #32860 -- Made docs permalinks focusable to improve acc…
Browse files Browse the repository at this point in the history
…essibility.

Backport of 4659a79 from main
  • Loading branch information
tim-mccurrach authored and felixxm committed Jun 21, 2021
1 parent 826a165 commit 3d51e16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/_theme/djangodocs/static/djangodocs.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ div.versionadded span.title, div.versionchanged span.title, span.versionmodified
div.versionadded, div.versionchanged, div.deprecated { color:#555; }

/*** p-links ***/
a.headerlink { color: #c60f0f; font-size: 0.8em; padding: 0 4px 0 4px; text-decoration: none; visibility: hidden; }
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, h4:hover > a.headerlink, h5:hover > a.headerlink, h6:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; }
a.headerlink { color: #c60f0f; font-size: 0.8em; margin-left: 4px; opacity: 0; text-decoration: none; }
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, h4:hover > a.headerlink, h5:hover > a.headerlink, h6:hover > a.headerlink, dt:hover > a.headerlink { opacity: 1; }
a.headerlink:focus { opacity: 1; }

/*** index ***/
table.indextable td { text-align: left; vertical-align: top;}
Expand Down

0 comments on commit 3d51e16

Please sign in to comment.