From 7692708e259907dc83c20f84696832013e679976 Mon Sep 17 00:00:00 2001 From: iandstewart Date: Thu, 26 May 2011 18:41:35 +0000 Subject: [PATCH] Twenty Eleven: focus styles for all links; Fixes #17410 git-svn-id: http://svn.automattic.com/wordpress/trunk@18057 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyeleven/colors/dark.css | 17 +++++++++++--- .../themes/twentyeleven/inc/theme-options.php | 5 ++++ wp-content/themes/twentyeleven/style.css | 23 +++++++++++++++---- 3 files changed, 37 insertions(+), 8 deletions(-) diff --git a/wp-content/themes/twentyeleven/colors/dark.css b/wp-content/themes/twentyeleven/colors/dark.css index 5ebdb256d..5020f5760 100644 --- a/wp-content/themes/twentyeleven/colors/dark.css +++ b/wp-content/themes/twentyeleven/colors/dark.css @@ -57,6 +57,11 @@ a { #site-title a { color: #eee; } +#site-title a:hover, +#site-title a:focus, +#site-title a:active { + color: #e4741f; +} #site-description { color: #858585; } @@ -92,7 +97,9 @@ a { .entry-title a { color: #ddd; } -.entry-title a:hover { +.entry-title a:hover, +.entry-title a:focus, +.entry-title a:active { color: #e4741f; } .entry-meta { @@ -133,7 +140,9 @@ a { background: #555; color: #000; } -.entry-meta .edit-link a:hover { +.entry-meta .edit-link a:hover, +.entry-meta .edit-link a:focus, +.entry-meta .edit-link a:active { background: #888; } @@ -161,7 +170,9 @@ a { border-color: #222; color: #888; } -.entry-header .comments-link a:hover { +.entry-header .comments-link a:hover, +.entry-header .comments-link a:focus, +.entry-header .comments-link a:active { background: #888; border-color: #aaa; color: #000; diff --git a/wp-content/themes/twentyeleven/inc/theme-options.php b/wp-content/themes/twentyeleven/inc/theme-options.php index 6da9ac6be..213048d14 100644 --- a/wp-content/themes/twentyeleven/inc/theme-options.php +++ b/wp-content/themes/twentyeleven/inc/theme-options.php @@ -311,7 +311,12 @@ function twentyeleven_print_link_color_style() {