CGCalendar CSS style

Post links to sites running CMS in all its glory.
Locked
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: CGCalendar CSS style

Post by paulbaker »

Oooh nice 8)
10010110
Translator
Translator
Posts: 214
Joined: Tue Jan 22, 2008 9:57 am

Re: CGCalendar CSS style

Post by 10010110 »

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

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';
tbf
Forum Members
Forum Members
Posts: 11
Joined: Mon Apr 07, 2014 5:49 pm

Re: CGCalendar CSS style

Post by tbf »

Nice clean design. Well done.
Locked

Return to “CMS Show Off”