2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03: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
+2 -4
View File
@@ -1,5 +1,3 @@
<a id="skippy" class="sr-only sr-only-focusable" href="#content"> <a class="skippy sr-only sr-only-focusable" href="#content">
<div class="container"> <span class="skippy-text">Skip to main content</span>
<span class="skiplink-text">Skip to main content</span>
</div>
</a> </a>
-14
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;
}
}
+17
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;
}
+1 -1
View File
@@ -34,7 +34,7 @@
@import "masthead"; @import "masthead";
@import "ads"; @import "ads";
@import "content"; @import "content";
@import "skiplink"; @import "skippy";
@import "sidebar"; @import "sidebar";
@import "footer"; @import "footer";
@import "component-examples"; @import "component-examples";