Permalink
Browse files

Includes anemone gem for rake check_links task and minified stylesheets

  • Loading branch information...
1 parent bf6e118 commit e89130633514d01b757724a6b5007721ff53f579 @grayghostvisuals grayghostvisuals committed Apr 8, 2013
Showing with 859 additions and 15,767 deletions.
  1. +1 −0 Gemfile
  2. +7 −1 Gemfile.lock
  3. +1 −1 _layouts/default.html
  4. +29 −0 _sass/_mixins.scss
  5. +5 −0 _sass/_utilities.scss
  6. +204 −199 checklist.html
  7. +605 −1,441 codekit-config.json
  8. +2 −1 config.rb
  9. +1 −5,732 css/bootstrap.css
  10. +1 −36 css/icons.css
  11. +2 −7,106 css/master.css
  12. +1 −1,250 css/responsive.css
View
@@ -3,3 +3,4 @@ source :rubygems
gem "compass"
gem "jekyll"
gem "maruku"
+gem "anemone"
View
@@ -1,6 +1,9 @@
GEM
- remote: https://rubygems.org/
+ remote: http://rubygems.org/
specs:
+ anemone (0.7.2)
+ nokogiri (>= 1.3.0)
+ robotex (>= 1.0.0)
chunky_png (1.2.7)
classifier (1.3.3)
fast-stemmer (>= 1.0.0)
@@ -22,10 +25,12 @@ GEM
liquid (2.4.1)
maruku (0.6.1)
syntax (>= 1.0.0)
+ nokogiri (1.5.9)
posix-spawn (0.3.6)
pygments.rb (0.3.7)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
+ robotex (1.0.0)
sass (3.2.5)
syntax (1.0.0)
yajl-ruby (1.1.0)
@@ -34,6 +39,7 @@ PLATFORMS
ruby
DEPENDENCIES
+ anemone
compass
jekyll
maruku
View
@@ -29,7 +29,7 @@
{% endif %}
</head>
<body>
- <a class="visually-hidden" href="#content">Skip Navigation</a>
+ <a href="#content" class="visuallyhidden">Skip Navigation</a>
<nav role="navigation" class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
View
@@ -111,6 +111,35 @@
border: 0;
}
+// CSS Vidually Hidden Text
+// -------------------------
+// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
+@mixin visuallyhidden {
+ border: 0;
+ clip: rect(0 0 0 0);
+ height: 1px;
+ margin: -1px;
+ overflow: hidden;
+ padding: 0;
+ position: absolute;
+ width: 1px; font: 0/0 a;
+ color: transparent;
+ text-shadow: none;
+ background-color: transparent;
+ border: 0;
+ // Extends the .visuallyhidden class to allow the element to be focusable
+ // when navigated to via the keyboard: h5bp.com/p
+ &:active,
+ &:focus {
+ clip: auto;
+ height: auto;
+ margin: 0;
+ overflow: visible;
+ position: static;
+ width: auto;
+ }
+}
+
// FONTS
// --------------------------------------------------
View
@@ -39,6 +39,11 @@
@include hide-text();
}
+// Accessible yet invisible and focusable text
+.visuallyhidden {
+ @include visuallyhidden();
+}
+
// Uses box-sizing mixin, so must be defined here
.input-block-level {
@include input-block-level();
Oops, something went wrong.

0 comments on commit e891306

Please sign in to comment.