Skip to content

Commit

Permalink
revise duplicates for No support for dnom and numr kennethormandy#5
Browse files Browse the repository at this point in the history
  • Loading branch information
quitequinn committed Feb 24, 2016
1 parent 5bbb0e6 commit 37adeb7
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 31 deletions.
72 changes: 71 additions & 1 deletion css/utility-opentype.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Utility OpenType v0.1.2
Utility OpenType v0.1.3
Simple, CSS utility classes for advanced typographic features.
http://utility-opentype.kennethormandy.com
Expand Down Expand Up @@ -317,6 +317,76 @@
}
}

@supports ((-webkit-font-feature-settings: "sinf") or (font-feature-settings: "sinf")) {

.sinf {
font-variant-position: normal;
-webkit-font-feature-settings: "sinf", "subs" off, "sups" off;
font-feature-settings: "sinf", "subs" off, "sups" off;
vertical-align: baseline;
}
}

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

.sinf {
vertical-align: sub;
font-size: smaller;
}
}

@supports ((-webkit-font-feature-settings: "sinf") or (font-feature-settings: "sinf")) {

.sinf {
font-variant-position: normal;
-webkit-font-feature-settings: "sinf", "subs" off, "sups" off;
font-feature-settings: "sinf", "subs" off, "sups" off;
vertical-align: baseline;
}
}

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

.sinf {
vertical-align: sub;
font-size: smaller;
}
}

@supports ((-webkit-font-feature-settings: "dnom") or (font-feature-settings: "dnom")) {

.dnom {
-webkit-font-feature-settings: "dnom" 1;
font-feature-settings: "dnom" 1;
vertical-align: baseline;
}
}

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

.dnom {
vertical-align: bottom;
font-size: small;
}
}

@supports ((-webkit-font-feature-settings: "numr") or (font-feature-settings: "numr")) {

.numr {
-webkit-font-feature-settings: "numr" 1;
font-feature-settings: "numr" 1;
vertical-align: baseline;
}
}

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

.numr {
vertical-align: super;
font-size: small;
}
}

.lnum {
font-variant-numeric: lining-nums;
}
Expand Down
Loading

0 comments on commit 37adeb7

Please sign in to comment.