summaryrefslogtreecommitdiff
path: root/themes/garland
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-10-30 03:52:14 +0000
committerDries Buytaert <dries@buytaert.net>2010-10-30 03:52:14 +0000
commit90b8e8aa095d9a07b8b487bfb6ba59369953c8fd (patch)
tree89e342a2d71c7a4bdd32270a56ea3280f5dd2485 /themes/garland
parent6009496d8e0a56b738200a6c17d3a4fd5bfe41a5 (diff)
downloadbrdo-90b8e8aa095d9a07b8b487bfb6ba59369953c8fd.tar.gz
brdo-90b8e8aa095d9a07b8b487bfb6ba59369953c8fd.tar.bz2
- Patch #639460 by Jeff Burnz, effulgentsia, Jacine, mgifford, james.elliott: evaluate CSS of #skip-link, .element-focusable, and upcoming 'disable overlay' links for their impact on contrib/custom themes.
Diffstat (limited to 'themes/garland')
-rw-r--r--themes/garland/style.css45
1 files changed, 27 insertions, 18 deletions
diff --git a/themes/garland/style.css b/themes/garland/style.css
index 4434a2d2b..82de2381e 100644
--- a/themes/garland/style.css
+++ b/themes/garland/style.css
@@ -312,29 +312,38 @@ span.form-required {
/**
* Skip link
*/
+#skip-link {
+ left: 50%;
+ margin-left: -5.25em;
+ margin-top: 0;
+ position: absolute;
+ width: auto;
+ z-index: 1000;
+}
+#skip-link a,
#skip-link a:link,
#skip-link a:visited {
- font-weight: bold;
- background: #fff;
- padding: 0px 5px;
+ background: #444;
+ background: rgba(0, 0, 0, 0.6);
+ color: #fff;
+ display: block;
+ font-size: 0.94em;
+ line-height: 1.7;
+ margin-top: 1px;
+ padding: 2px 10px;
text-decoration: none;
- font-size: 80%;
- text-align: right;
- top: -99em;
- left: auto;
- position: absolute;
+ -khtml-border-radius: 0 0 2px 2px;
+ -moz-border-radius: 0 0 2px 2px;
+ -webkit-border-top-left-radius: 0;
+ -webkit-border-top-right-radius: 0;
+ -webkit-border-bottom-left-radius: 2px;
+ -webkit-border-bottom-right-radius: 2px;
+ border-radius: 0 0 2px 2px;
}
-
#skip-link a:hover,
-#skip-link a:focus,
-#skip-link a:active {
- height: auto;
- width: auto;
- overflow: visible;
- top:0;
- left:0;
- position: fixed;
- z-index: 1000;
+#skip-link a:active,
+#skip-link a:focus {
+ outline: 0;
}
/**