attempt to make footer more accessible
This commit is contained in:
@ -685,6 +685,11 @@ iframe.iphone {
|
||||
min-height: 650px;
|
||||
}
|
||||
|
||||
// This is used to give icons text for screen readers to read out, without needing the text to actually appear.
|
||||
.icon-lock{
|
||||
font-size: 0px;
|
||||
}
|
||||
|
||||
|
||||
//uncomment this to see the dimensions of all elements outlined in red
|
||||
//* {
|
||||
|
@ -530,6 +530,33 @@
|
||||
],
|
||||
"challengeType": 0
|
||||
},
|
||||
{
|
||||
"_id" : "bad87fee1348bd8acde08812",
|
||||
"name": "Center Text with Bootstrap",
|
||||
"difficulty" : "0.133",
|
||||
"description": [
|
||||
"Add Bootstrap's <code>text-center</code> class to your h1 and h2 elements.",
|
||||
"Now that we're using Bootstrap, we can center our heading elements (h1 and h2) to make them look better. All we need to do is add the class <code>text-center</code> to the h1 and h2 elements.",
|
||||
"Note that you can add several classes to the same element by seperating each of them with a space, like this: <code><h2 class=\"text-red text-center\">your text</h2></code>."
|
||||
],
|
||||
"tests": [
|
||||
"expect($('h1')).to.have.class('text-center');",
|
||||
"expect($('h2')).to.have.class('text-center');"
|
||||
],
|
||||
"challengeSeed": [
|
||||
"<style>",
|
||||
" .red-text {",
|
||||
" color: #ff0000;",
|
||||
" }",
|
||||
"",
|
||||
"</style>",
|
||||
"<h1>hello world</h1>",
|
||||
"<h2 class=\"red-text\">cat photo app</h2>",
|
||||
"<p>lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>",
|
||||
"<img class=\"img-responsive\" src=\"http://bit.ly/cutegraycat\"/>"
|
||||
],
|
||||
"challengeType": 0
|
||||
},
|
||||
{
|
||||
"_id" : "bad87fee1348bd9aedf08813",
|
||||
"name": "Add Alt Text to an Image TEST",
|
||||
|
@ -1,19 +1,37 @@
|
||||
.fcc-footer
|
||||
.col-xs-12
|
||||
a.ion-speakerphone(title="Free Code Camp's Blog", href='http://blog.freecodecamp.com', target='_blank')
|
||||
|
|
||||
a.ion-social-twitch-outline(title="Free Code Camp Live Pair Programming on Twitch.TV", href="http://www.twitch.tv/freecodecamp", target='_blank')
|
||||
|
|
||||
a.ion-social-github(title="Free Code Camp on GitHub", href="http://github.com/freecodecamp", target='_blank')
|
||||
|
|
||||
a.ion-social-twitter(title="Free Code Camp on Twitter", href="http://twitter.com/freecodecamp", target='_blank')
|
||||
|
|
||||
a.ion-social-facebook(title="Free Code Camp on Facebook", href="http://facebook.com/freecodecamp", target='_blank')
|
||||
|
|
||||
a.ion-social-linkedin(title="Free Code Camp on LinkedIn", href="http://linkedin.com/company/4831032?free-code-camp", target='_blank')
|
||||
|
|
||||
a.ion-information-circled(title="About Free Code Camp", href="/learn-to-code")
|
||||
|
|
||||
a.ion-locked(title="Free Code Camp's Privacy Policy", href="/privacy")
|
||||
|
|
||||
a.ion-code-working(title="Bonfire Coding Playground", href="/playground")
|
||||
span
|
||||
a.ion-speakerphone(title="Free Code Camp's Blog", href='http://blog.freecodecamp.com', target='_blank')
|
||||
span.icon-lock Free Code Camp's Blog
|
||||
|
|
||||
span
|
||||
a.ion-social-twitch-outline(title="Free Code Camp Live Pair Programming on Twitch.TV", href="http://www.twitch.tv/freecodecamp", target='_blank')
|
||||
span.icon-lock Free Code Camp Live Pair Programming on Twitch.TV
|
||||
|
|
||||
span
|
||||
a.ion-social-github(title="Free Code Camp on GitHub", href="http://github.com/freecodecamp", target='_blank')
|
||||
span.icon-lock Free Code Camp on GitHub
|
||||
|
|
||||
span
|
||||
a.ion-social-twitter(title="Free Code Camp on Twitter", href="http://twitter.com/freecodecamp", target='_blank')
|
||||
span.icon-lock Free Code Camp on Twitter
|
||||
|
|
||||
span
|
||||
a.ion-social-facebook(title="Free Code Camp on Facebook", href="http://facebook.com/freecodecamp", target='_blank')
|
||||
span.icon-lock Free Code Camp on Facebook
|
||||
|
|
||||
span
|
||||
a.ion-social-linkedin(title="Free Code Camp on LinkedIn", href="http://linkedin.com/company/4831032?free-code-camp", target='_blank')
|
||||
span.icon-lock Free Code Camp on LinkedIn
|
||||
|
|
||||
span
|
||||
a.ion-information-circled(title="About Free Code Camp", href="/learn-to-code")
|
||||
span.icon-lock About Free Code Camp
|
||||
|
|
||||
span
|
||||
a.ion-locked(title="Free Code Camp's Privacy Policy", href="/privacy")
|
||||
span.icon-lock Free Code Camp's Privacy Policy
|
||||
|
|
||||
span
|
||||
a.ion-code-working(title="Code Editor Playground", href="/playground")
|
||||
span.icon-lock Code Editor Playground
|
Reference in New Issue
Block a user