summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap/less/scaffolding.less
diff options
context:
space:
mode:
Diffstat (limited to 'bower_components/bootstrap/less/scaffolding.less')
-rw-r--r--bower_components/bootstrap/less/scaffolding.less18
1 files changed, 17 insertions, 1 deletions
diff --git a/bower_components/bootstrap/less/scaffolding.less b/bower_components/bootstrap/less/scaffolding.less
index fe29f2d6..c1e270fb 100644
--- a/bower_components/bootstrap/less/scaffolding.less
+++ b/bower_components/bootstrap/less/scaffolding.less
@@ -20,7 +20,7 @@
// Body reset
html {
- font-size: 62.5%;
+ font-size: 10px;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
@@ -132,3 +132,19 @@ hr {
clip: rect(0,0,0,0);
border: 0;
}
+
+// Use in conjunction with .sr-only to only display content when it's focused.
+// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
+// Credit: HTML5 Boilerplate
+
+.sr-only-focusable {
+ &:active,
+ &:focus {
+ position: static;
+ width: auto;
+ height: auto;
+ margin: 0;
+ overflow: visible;
+ clip: auto;
+ }
+}