Live data from Hacker News

The Queen’s stylesheets

spiffingcss.com

11–20 of 74 posts

Re: The Queen’s stylesheets

#11
People seem to be taking this a tad seriously. It's a joke, right? (S)he's not actually expecting anyone to change all their css to use some random PHP script just so they can have British spelling and backwards transparency/opacity semantics.

Re: The Queen’s stylesheets

#13
Not very many substitutions performed[1]:

    'colour'       => 'color',
    'grey'         => 'gray',
    '!please'      => '!important',
    'transparency' => 'opacity',
    'centre'       => 'center',
    'plump'        => 'bold',
    'photograph'   => 'image',
    'capitalise'   => 'capitalize'
Would've thought there'd be a ton of opportunities to pedantically correct CSS's choice of words. !please instead of !important made me laugh, though.

[1]: Taken from https://github.com/idiot/Spiffing/blob/master/spiffing.php (aside, please don't use this project as a good example of PHP code style).

Re: The Queen’s stylesheets

#16
While the linguist in me is appalled by the author's joking (hopefully!) prescriptivist notion that British English is equivalent to such a thing as "correct English" (the American in me is also perturbed by such a claim), I'd like to point out that the home page's phrase "amount of features" is considered by such prescriptivists to be incorrect English. :) They would insist on "number of features" :P

Re: The Queen’s stylesheets

#17

Not very many substitutions performed[1]: 'colour' => 'color', 'grey' => 'gray', '!please' => '!important', 'transparency' => 'opacity', 'centre' => 'center', 'plump' => 'bold', 'photograph' => 'image', 'capitalise' => 'capitalize' Would've thought there'd be a ton of opportunities to pedantically correct CSS's choice of words. !please instead of !important made me laugh, though. [1]: Taken from https://github.com/id…

Indeed. They also forgot 'quite' => 'text-transform' ;)
Post reply on HN