diff options
Diffstat (limited to 'docs/assets/less/skip-link.less')
-rw-r--r-- | docs/assets/less/skip-link.less | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/assets/less/skip-link.less b/docs/assets/less/skip-link.less new file mode 100644 index 0000000000..7085e3f5c6 --- /dev/null +++ b/docs/assets/less/skip-link.less @@ -0,0 +1,23 @@ +/* + * Fancy skip link + * + * Make it look a bit less "bare bones" + * Also includes focus suppression for the Chrome tabindex="-1" workaround + */ + +#skippy { + display: block; + padding: 1em; + color: #fff; + background-color: #6f5499; + outline: 0; +} + +#skippy .skiplink-text { + padding: .5em; + outline: 1px dotted; +} + +#content:focus { + outline: none; +} |