0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Rename everything to skippy and center skippy (#27420)

This commit is contained in:
Martijn Cuppens 2018-10-15 13:19:41 +02:00 committed by XhmikosR
parent 43c20b912e
commit ad60a58043
4 changed files with 20 additions and 19 deletions

View File

@ -1,5 +1,3 @@
<a id="skippy" class="sr-only sr-only-focusable" href="#content">
<div class="container">
<span class="skiplink-text">Skip to main content</span>
</div>
<a class="skippy sr-only sr-only-focusable" href="#content">
<span class="skippy-text">Skip to main content</span>
</a>

View File

@ -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;
}
}

View File

@ -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;
}

View File

@ -34,7 +34,7 @@
@import "masthead";
@import "ads";
@import "content";
@import "skiplink";
@import "skippy";
@import "sidebar";
@import "footer";
@import "component-examples";