diff options
author | Patrick H. Lauke <redux@splintered.co.uk> | 2014-12-14 17:31:02 +0300 |
---|---|---|
committer | Patrick H. Lauke <redux@splintered.co.uk> | 2014-12-15 00:27:58 +0300 |
commit | d5647e1f6277864cb776e4f958a54f6f5c30b6e6 (patch) | |
tree | b7b32e4717c307a756bf762846ea853ab8155535 /docs/assets | |
parent | 8be858aac43524f91e8c4bfceea302ff9a67e45d (diff) |
Make skip link look less "bare bones"
Additional markup for the skip link (to ensure it has the same effective
width as the main content, and to provide an outline around just the
link text) plus some basic styles...make it look a bit more in keeping
with the overall look and feel of the docs.
Diffstat (limited to 'docs/assets')
-rw-r--r-- | docs/assets/css/src/docs.css | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/assets/css/src/docs.css b/docs/assets/css/src/docs.css index 4cc1fa843a..4f63b33cd8 100644 --- a/docs/assets/css/src/docs.css +++ b/docs/assets/css/src/docs.css @@ -90,6 +90,26 @@ body { /* + * Fancy skip link + * + * Make it look a bit less "bare bones" + */ + +#skippy { + display: block; + padding: 1em; + color: #fff; + background-color: #6F5499; + outline: 0; +} + +#skippy .skiplink-text { + padding: 0.5em; + outline: 1px dotted; +} + + +/* * Main navigation * * Turn the `.navbar` at the top of the docs purple. |