CGCalendar CSS style
- paulbaker
- Dev Team Member
- Posts: 1465
- Joined: Sat Apr 18, 2009 10:09 pm
- Location: Maidenhead, UK
- Contact:
Re: CGCalendar CSS style
Oooh nice
Re: CGCalendar CSS style
Looks nice but I would suggest using lining figures (where supported) instead of old style/text figures. Raleway has the old style figures as default which looks nice but doesn’t fit in this context. CSS has a (rather experimental at this time) way to set Open Type features such as discretionary ligatures and numerals.
The lining numbers feature currently only works in recent Firefoxes and Internet Explorers but it’s still worth a try, especially since it fails silently where it’s not supported (i. e. people won’t notice anything if they don’t specifically compare in two different browsers).
The current syntax for lining figures is
The lining numbers feature currently only works in recent Firefoxes and Internet Explorers but it’s still worth a try, especially since it fails silently where it’s not supported (i. e. people won’t notice anything if they don’t specifically compare in two different browsers).
The current syntax for lining figures is
Code: Select all
font-feature-settings: 'lnum';
/* vendor-prefixes */
-moz-font-feature-settings: 'lnum=1';
-ms-font-feature-settings: 'lnum';
-webkit-font-feature-settings: 'lnum';
-o-font-feature-settings: 'lnum';
Re: CGCalendar CSS style
Nice clean design. Well done.