Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: csswizardry/inuit.css
...
head fork: csswizardry/inuit.css
Checking mergeability… Don't worry, you can still create the pull request.
  • 10 commits
  • 11 files changed
  • 1 commit comment
  • 3 contributors
View
8 CHANGELOG.md
@@ -3,7 +3,7 @@
This changelog only exists as of v5.0 onward, for previous inuit.css versions’
history please browse the commit logs.
-## v5.0
+## v5.0.0
This major version bump saw the introduction of the
[inuit.css web template](https://github.com/csswizardry/inuit.css-web-template),
@@ -18,3 +18,9 @@ updates from GitHub whilst avoiding having to touch any library code.
classes.
* Added a few more helper classes and mixins.
* Introduced switches to turn objects and abstractions on/off.
+
+## v5.1.1
+
+* Convert special character to unicode.
+* Fix/change the `headings` mixin.
+* Fix some typos pertaining to the renaming of the spriting object.
View
6 _defaults.scss
@@ -46,7 +46,7 @@ $base-font-size: 16px!default;
$base-line-height: 24px!default;
/**
- * Base font-family.
+ * Base font-family.
*/
$base-font-family: sans-serif!default;
@@ -151,8 +151,8 @@ $close-quote: null;
* If you need non-English quotes, please alter the following values accordingly:
*/
@if $english-quotes != true{
- $open-quote: «;
- $close-quote: »;
+ $open-quote: \00AB;
+ $close-quote: \00BB;
}
View
20 base/_quotes.scss
@@ -5,8 +5,8 @@
* If English quotes are set in `_vars.scss`, define them here.
*/
@if $english-quotes == true{
- $open-quote: ;
- $close-quote: ;
+ $open-quote: \201C;
+ $close-quote: \201D;
}
@@ -18,23 +18,23 @@
* Inline quotes.
*/
q{
- quotes:"" "" "#{$open-quote}" "#{$close-quote}";
+ quotes:"\2018" "\2019" "#{$open-quote}" "#{$close-quote}";
&:before{
- content:"";
+ content:"\2018";
content:open-quote;
}
&:after{
- content:"";
+ content:"\2019";
content:close-quote;
}
q:before{
- content:"";
+ content:"\201C";
content:open-quote;
}
q:after{
- content:"";
+ content:"\201D";
content:close-quote;
}
}
@@ -56,11 +56,11 @@ blockquote{
}
q:before{
- content:"";
+ content:"\2018";
content:open-quote;
}
q:after{
- content:"";
+ content:"\2019";
content:close-quote;
}
}
@@ -91,6 +91,6 @@ blockquote{
text-indent:0;
&:before{
- content:"";
+ content:"\2014";
}
}
View
2  component.json
@@ -1,5 +1,5 @@
{
"name": "inuit.css",
- "version": "5.0.0",
+ "version": "5.0.1",
"dependencies": {}
}
View
2  generic/_helper.scss
@@ -142,7 +142,7 @@
*
*/
.go:after{
- content:"\00A0»"!important;
+ content:"\00A0" "\00BB"!important;
}
View
18 generic/_mixins.scss
@@ -28,17 +28,19 @@
}
}
*
- * With thanks to @lar_zzz, @paranoida and @rowanmanning for refining and
- * improving my initial mixin.
+ * With thanks to @lar_zzz, @paranoida, @rowanmanning and ultimately
+ * @thierrylemoulec for refining and improving my initial mixin.
*/
@mixin headings($from: 1, $to: 6){
+ %base-heading {
+ @content
+ }
+
@if $from >= 1 and $to <= 6{
- $heading-selector: (unquote(""));
- @for $i from $from through $to {
- $heading-selector: $heading-selector, unquote("h#{$i}")
- }
- #{$heading-selector}{
- @content
+ @for $i from $from through $to{
+ h#{$i}{
+ @extend %base-heading;
+ }
}
}
}
View
6 objects/_breadcrumb.scss
@@ -17,7 +17,7 @@
*
*/
.breadcrumb > li + li:before{
- content:"» ";
+ content:"\00BB" "\00A0";
}
@@ -33,7 +33,7 @@
*
*/
.breadcrumb--path > li + li:before{
- content:"/ ";
+ content:"\002F" "\00A0";
}
@@ -49,7 +49,7 @@
*
*/
.breadcrumb > li + li[data-breadcrumb]:before{
- content:attr(data-breadcrumb)" ";
+ content:attr(data-breadcrumb) "\00A0";
}
View
2  objects/_nav.scss
@@ -143,7 +143,7 @@
> li{
&:after{
- content:", ";
+ content:"\002C" "\00A0";
}
&:last-child:after{
View
4 objects/_pagination.scss
@@ -41,10 +41,10 @@
margin:-$base-spacing-unit / 2;
}
.pagination__first a:before{
- content:"« ";
+ content:"\00AB" "\00A0";
}
.pagination__last a:after{
- content:" »";
+ content:"\00A0" "\00BB";
}
}//endif
View
2  objects/_rules.scss
@@ -42,7 +42,7 @@
position:relative;
&:after{
- content:"§";
+ content:"\00A7";
position:absolute;
top: 0;
right: 0;
View
10 objects/_sprite.scss
@@ -4,7 +4,7 @@
$SPRITE
\*------------------------------------*/
/**
- * Giving an element a class of `.s` will throw it into ‘sprite’ mode and apply
+ * Giving an element a class of `.sprite` will throw it into ‘sprite’ mode and apply
* a background image e.g.:
*
<a class="sprite sprite--question-mark">More info&hellip;</a>
@@ -13,7 +13,7 @@
*
<a href=#><i class="sprite sprite--question-mark"></i> Help and FAQ</a>
*
- * Giving an element a class of `.i` will throw it into ‘icon’ mode and will
+ * Giving an element a class of `.icon` will throw it into ‘icon’ mode and will
* not add a background, but should be used for icon fonts and is populated
* through a `data-icon` attribute and the `:after` pseudo-element, e.g.:
*
@@ -91,8 +91,8 @@
/**
* Icon size modifiers.
*/
-.i--large { font-size:32px; }
-.i--huge { font-size:64px; }
-.i--natural { font-size:inherit; }
+.icon--large { font-size:32px; }
+.icon--huge { font-size:64px; }
+.icon--natural { font-size:inherit; }
}//endif

Showing you all comments on commits in this comparison.

@aranw

When I checkout inuit.css via bower my characters are not escaped like this tweets shows.

Any ideas why that it is?

Something went wrong with that request. Please try again.