Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smcp Small Caps #8

Closed
wants to merge 24 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
890a36e
Fallback for OpenType small caps
typometre Apr 9, 2016
3ba4392
Corrected Smcp
typometre Apr 9, 2016
dcb85c0
Improves cascade handling for zero and numbers
kennethormandy Dec 12, 2015
5e5f374
Restores uppercase fallback for Small Caps
kennethormandy Dec 22, 2015
68a3f52
Adds fallback caps for IE using specific media query
kennethormandy Dec 22, 2015
0dbe137
Fixes formatting
kennethormandy Dec 22, 2015
2b759d1
v0.1.2
kennethormandy Dec 29, 2015
d21c125
Fixes formatting
kennethormandy Dec 29, 2015
509c0d0
Fixes fallback
kennethormandy Dec 29, 2015
3d4f29f
Updates note about Basscss caps letter spacing
kennethormandy Dec 29, 2015
374ab8d
Updates PostCSS dependencies
kennethormandy Dec 29, 2015
a36a1d5
Moves text-transform fallback
kennethormandy Dec 29, 2015
bac6e9c
Removes Basscss letter-spacing resetting in favour of using Basscss v…
kennethormandy Dec 29, 2015
b929553
Removes conversion of superscripts and subscripts to lowercase
kennethormandy Dec 29, 2015
95527dd
Combines inheritance support queries
kennethormandy Dec 29, 2015
aad2ed8
Removes explicit default Swash and Stylistic Alternate number
kennethormandy Dec 29, 2015
033c42b
Adds a test to ensure source file is valid SCSS
kennethormandy Dec 30, 2015
4473b5b
v0.1.3
kennethormandy Dec 30, 2015
e8dfddd
Updates URLs in README
kennethormandy Dec 30, 2015
83a4083
Updates README docs todos
kennethormandy Jan 3, 2016
ae8b4cc
Fixes #6
kennethormandy Feb 24, 2016
de3247d
Fallback for OpenType small caps
typometre Apr 9, 2016
aa44266
Corrected Smcp
typometre Apr 9, 2016
0627818
Merge branch 'master' of https://github.com/dinobib/utility-opentype
typometre Apr 9, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
v0.1.2
kennethormandy authored and typometre committed Apr 9, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 2b759d1181c4ea237b6fae0ed52b2f4cf1cda76e
79 changes: 73 additions & 6 deletions css/utility-opentype.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*

Utility OpenType v0.1.1
Utility OpenType v0.1.2
Simple, CSS utility classes for advanced typographic features.
http://utility-opentype.kennethormandy.com

@@ -237,7 +237,7 @@
}
}

@supports (overflow: -webkit-marquee) and (justify-content:inherit) {
@supports (overflow: -webkit-marquee) and (justify-content: inherit) {

.sups {
vertical-align: super;
@@ -269,7 +269,7 @@
}
}

@supports (overflow: -webkit-marquee) and (justify-content:inherit) {
@supports (overflow: -webkit-marquee) and (justify-content: inherit) {

.subs,
.sinf {
@@ -289,7 +289,7 @@
}
}

@supports (overflow: -webkit-marquee) and (justify-content:inherit) {
@supports (overflow: -webkit-marquee) and (justify-content: inherit) {

.sinf {
vertical-align: sub;
@@ -394,8 +394,75 @@
}

.onum.zero {
-webkit-font-feature-settings: "onum", "zero";
font-feature-settings: "onum", "zero";
-ms-font-feature-settings: "onum", "zero";
}

@supports not ((-webkit-font-feature-settings: "onum" inherit) or (font-feature-settings: "onum" inherit)) {

.onum.zero {
-webkit-font-feature-settings: "onum", "zero";
font-feature-settings: "onum", "zero";
}
}

.onum.tnum.zero {
-ms-font-feature-settings: "onum", "zero", "tnum";
}

@supports not ((-webkit-font-feature-settings: "onum" inherit) or (font-feature-settings: "onum" inherit)) {

.onum.tnum.zero {
-webkit-font-feature-settings: "onum", "zero", "tnum";
font-feature-settings: "onum", "zero", "tnum";
}
}

.onum.pnum.zero {
-ms-font-feature-settings: "onum", "zero", "pnum";
}

@supports not ((-webkit-font-feature-settings: "onum" inherit) or (font-feature-settings: "onum" inherit)) {

.onum.pnum.zero {
-webkit-font-feature-settings: "onum", "zero", "pnum";
font-feature-settings: "onum", "zero", "pnum";
}
}

.lnum.zero {
-ms-font-feature-settings: "lnum", "zero";
}

@supports not ((-webkit-font-feature-settings: "onum" inherit) or (font-feature-settings: "onum" inherit)) {

.lnum.zero {
-webkit-font-feature-settings: "lnum", "zero";
font-feature-settings: "lnum", "zero";
}
}

.lnum.tnum.zero {
-ms-font-feature-settings: "lnum", "zero", "tnum";
}

@supports not ((-webkit-font-feature-settings: "onum" inherit) or (font-feature-settings: "onum" inherit)) {

.lnum.tnum.zero {
-webkit-font-feature-settings: "lnum", "zero", "tnum";
font-feature-settings: "lnum", "zero", "tnum";
}
}

.lnum.pnum.zero {
-ms-font-feature-settings: "lnum", "zero", "pnum";
}

@supports not ((-webkit-font-feature-settings: "onum" inherit) or (font-feature-settings: "onum" inherit)) {

.lnum.pnum.zero {
-webkit-font-feature-settings: "lnum", "zero", "pnum";
font-feature-settings: "lnum", "zero", "pnum";
}
}

.zero {
2 changes: 1 addition & 1 deletion css/utility-opentype.min.css
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "utility-opentype",
"version": "0.1.1",
"version": "0.1.2",
"description": "Simple, CSS utility classes for advanced typographic features.",
"homepage": "http://utility-opentype.kennethormandy.com",
"author": "Kenneth Ormandy <hello@kennethormandy.com> (http://kennethormandy.com)",