diff options
| author | bryan-oginga <ogingabrian2017@gmail.com> | 2026-04-02 18:52:55 +0300 |
|---|---|---|
| committer | Saptak Sengupta <saptak013@gmail.com> | 2026-04-13 15:30:43 +0530 |
| commit | 8d532552b2081ba9cbee0f48ae786e826e094697 (patch) | |
| tree | 2e959325653fd8f6d7decf82054728639df5aac0 | |
| parent | df4d7545a1bbbf62e2854b93d79822929116a2e7 (diff) | |
Improve dark mode logo focus indicator accessibility
| -rw-r--r-- | djangoproject/scss/_dark-mode.scss | 1 | ||||
| -rw-r--r-- | djangoproject/scss/_style.scss | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/djangoproject/scss/_dark-mode.scss b/djangoproject/scss/_dark-mode.scss index 1382a1f1..fe8d03ba 100644 --- a/djangoproject/scss/_dark-mode.scss +++ b/djangoproject/scss/_dark-mode.scss @@ -358,3 +358,4 @@ html[data-theme="light"] .admonition { opacity: 0.5; } } + diff --git a/djangoproject/scss/_style.scss b/djangoproject/scss/_style.scss index 581af11c..331cbe4a 100644 --- a/djangoproject/scss/_style.scss +++ b/djangoproject/scss/_style.scss @@ -505,6 +505,11 @@ header { @include respond-min(1080px) { margin-left: 10px; } + + &:focus { + outline: 2px solid var(--menu); + } + } .header-tools { @@ -1013,7 +1018,7 @@ footer { &:focus { outline: 2px solid var(--menu); - } + } } } |
