Browse files

fixing some typos

  • Loading branch information...
1 parent d34fd47 commit fd7bbae1922ec4a8baec83299977bf0a66042652 @heygrady heygrady committed Nov 20, 2011
View
5 .gitignore
@@ -3,3 +3,8 @@
tmp/*
pkg/*
html5-boilerplate-*.gem
+
+/.project
+/config.rb
+/test/style.css
+/.sass-cache
View
4 html5-boilerplate.gemspec
@@ -1,8 +1,8 @@
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
- s.version = "1.0.0"
- s.date = "2011-05-11"
+ s.version = "2.0.0"
+ s.date = "2011-11-19"
s.name = "html5-boilerplate"
s.authors = ["Peter Gumeson"]
View
2 stylesheets/html5-boilerplate/_helpers.scss
@@ -11,7 +11,7 @@
}
//For image replacement
-@mixin image-replacement($img, $x: 50%, $y: 50%) {
+@mixin image-replacement($img: none, $x: 50%, $y: 50%) {
background-color: transparent;
background-repeat: no-repeat;
border: 0;
View
26 stylesheets/html5-boilerplate/_normalize.scss
@@ -71,7 +71,7 @@ $font-color: #222 !default;
}
body, button, input, select, textarea {
- font-family: $base-font-family
+ font-family: $base-font-family;
color: $font-color;
}
}
@@ -128,30 +128,30 @@ $link-hover-color: #06e !default;
// Typography
// =============================================================================
@mixin h5bp-normalize-typography($list: false) {
- @if !$list || in-list($list, abbr) {
+ @if not($list) or in-list($list, abbr) {
abbr[title] {
border-bottom: 1px dotted;
}
}
- @if !$list || in-list($list, bold) {
+ @if not($list) or in-list($list, bold) {
b, strong {
font-weight: bold;
}
}
- @if !$list || in-list($list, blockquote) {
+ @if not($list) or in-list($list, blockquote) {
blockquote {
margin: 1em 40px;
}
}
- @if !$list || in-list($list, dfn) {
+ @if not($list) or in-list($list, dfn) {
dfn {
font-style: italic;
}
}
- @if !$list || in-list($list, hr) {
+ @if not($list) or in-list($list, hr) {
hr {
display: block;
height: 1px;
@@ -162,15 +162,15 @@ $link-hover-color: #06e !default;
}
}
- @if !$list || in-list($list, ins) {
+ @if not($list) or in-list($list, ins) {
ins {
background: #ff9;
color: #000;
text-decoration: none;
}
}
- @if !$list || in-list($list, mark) {
+ @if not($list) or in-list($list, mark) {
mark {
background: #ff0;
color: #000;
@@ -180,7 +180,7 @@ $link-hover-color: #06e !default;
}
// Redeclare monospace font family: h5bp.com/j
- @if !$list || in-list($list, monospace) {
+ @if not($list) or in-list($list, monospace) {
pre, code, kbd, samp {
font-family: monospace, monospace;
_font-family: 'courier new', monospace;
@@ -189,15 +189,15 @@ $link-hover-color: #06e !default;
}
// Improve readability of pre-formatted text in all browsers
- @if !$list || in-list($list, pre) {
+ @if not($list) or in-list($list, pre) {
pre {
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
}
- @if !$list || in-list($list, quotes) {
+ @if not($list) or in-list($list, quotes) {
q {
quotes: none;
}
@@ -208,14 +208,14 @@ $link-hover-color: #06e !default;
}
}
- @if !$list || in-list($list, small) {
+ @if not($list) or in-list($list, small) {
small {
font-size: 85%;
}
}
// Position subscript and superscript content without affecting line-height: h5bp.com/k
- @if !$list || in-list($list, subsup) {
+ @if not($list) or in-list($list, subsup) {
sub, sup {
font-size: 75%;
line-height: 0;
View
15 templates/project/partials/_overrides.scss
@@ -19,7 +19,20 @@
// =============================================================================
// Typography
// =============================================================================
-@include h5bp-normalize-typography( abbr bold blockquote dfn hr ins mark monospace pre quotes small subsup );
+@include h5bp-normalize-typography( list(
+ abbr,
+ bold,
+ blockquote,
+ dfn,
+ hr,
+ ins,
+ mark,
+ monospace,
+ pre,
+ quotes,
+ small,
+ subsup
+) );
// =============================================================================
// Lists

0 comments on commit fd7bbae

Please sign in to comment.