From ad60a58043ca37b0037f9aa3226aff8917ce30a6 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Mon, 15 Oct 2018 13:19:41 +0200 Subject: [PATCH] Rename everything to skippy and center skippy (#27420) --- site/_includes/skippy.html | 6 ++---- site/docs/4.1/assets/scss/_skiplink.scss | 14 -------------- site/docs/4.1/assets/scss/_skippy.scss | 17 +++++++++++++++++ site/docs/4.1/assets/scss/docs.scss | 2 +- 4 files changed, 20 insertions(+), 19 deletions(-) delete mode 100644 site/docs/4.1/assets/scss/_skiplink.scss create mode 100644 site/docs/4.1/assets/scss/_skippy.scss diff --git a/site/_includes/skippy.html b/site/_includes/skippy.html index 2c73089bc3..ec7507d532 100644 --- a/site/_includes/skippy.html +++ b/site/_includes/skippy.html @@ -1,5 +1,3 @@ - -
- Skip to main content -
+
+ Skip to main content diff --git a/site/docs/4.1/assets/scss/_skiplink.scss b/site/docs/4.1/assets/scss/_skiplink.scss deleted file mode 100644 index 7ca3074a8c..0000000000 --- a/site/docs/4.1/assets/scss/_skiplink.scss +++ /dev/null @@ -1,14 +0,0 @@ -// stylelint-disable selector-max-id - -#skippy { - display: block; - padding: 1em; - color: #fff; - background-color: $bd-purple; - outline: 0; - - .skiplink-text { - padding: .5em; - outline: 1px dotted; - } -} diff --git a/site/docs/4.1/assets/scss/_skippy.scss b/site/docs/4.1/assets/scss/_skippy.scss new file mode 100644 index 0000000000..db971d114c --- /dev/null +++ b/site/docs/4.1/assets/scss/_skippy.scss @@ -0,0 +1,17 @@ +.skippy { + display: block; + padding: 1em; + color: $white; + text-align: center; + background-color: $bd-purple; + outline: 0; + + @include hover { + color: $white; + } +} + +.skippy-text { + padding: .5em; + outline: 1px dotted; +} diff --git a/site/docs/4.1/assets/scss/docs.scss b/site/docs/4.1/assets/scss/docs.scss index 706bde44e6..0f77971034 100644 --- a/site/docs/4.1/assets/scss/docs.scss +++ b/site/docs/4.1/assets/scss/docs.scss @@ -34,7 +34,7 @@ @import "masthead"; @import "ads"; @import "content"; -@import "skiplink"; +@import "skippy"; @import "sidebar"; @import "footer"; @import "component-examples";