1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed #32860 -- Made docs permalinks focusable to improve accessibility.

This commit is contained in:
Timothy McCurrach 2021-06-17 22:52:16 +01:00 committed by Mariusz Felisiak
parent 5a468b4c08
commit 4659a790cf

View File

@ -125,8 +125,9 @@ div.versionadded span.title, div.versionchanged span.title, span.versionmodified
div.versionadded, div.versionchanged, div.deprecated { color:#555; } div.versionadded, div.versionchanged, div.deprecated { color:#555; }
/*** p-links ***/ /*** p-links ***/
a.headerlink { color: #c60f0f; font-size: 0.8em; padding: 0 4px 0 4px; text-decoration: none; visibility: hidden; } 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 { visibility: visible; } 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 ***/ /*** index ***/
table.indextable td { text-align: left; vertical-align: top;} table.indextable td { text-align: left; vertical-align: top;}