summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-17 16:05:01 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-19 00:35:24 +0100
commita2c2775df2c2a02c3f8bf184207ae37758cf5af5 (patch)
treeba06b10b6b76ba29f9c28d57f62fb60f222fe529 /core/css
parent7b2ae4676243085cd1dc6847191b1718aa914292 (diff)
downloadnextcloud-server-a2c2775df2c2a02c3f8bf184207ae37758cf5af5.tar.gz
nextcloud-server-a2c2775df2c2a02c3f8bf184207ae37758cf5af5.zip
introduce first 'Skip to content' button
Diffstat (limited to 'core/css')
-rw-r--r--core/css/header.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/css/header.css b/core/css/header.css
index 005390d2cd0..2a2622a9d0d 100644
--- a/core/css/header.css
+++ b/core/css/header.css
@@ -7,6 +7,22 @@
-ms-user-select: none;
}
+#skip-to-content a {
+ position: absolute;
+ left: -10000px;
+ top: auto;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+}
+#skip-to-content a:focus {
+ left: 76px;
+ top: -9px;
+ color: #fff;
+ width: auto;
+ height: auto;
+}
+
/* HEADERS ------------------------------------------------------------------ */