[buddypress-trac] [BuddyPress] #2737: Default theme default.css clean up and tidy

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Nov 21 13:43:36 UTC 2010


#2737: Default theme default.css clean up and tidy
-------------------------+--------------------------------------------------
 Reporter:  karmatosed   |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  1.3
Component:  Theme        |     Version:     
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by boonebgorges):

 I am not a designer and don't have any strong personal feelings about CSS
 formatting, but I will note the following in favor of indentation:
 - http://codex.wordpress.org/CSS_Coding_Standards recommends it
 - Indentation/whitespace in PHP (like in most languages) is not
 semantically relevant, and is only used for readability. In that sense it
 makes just as much sense to impose our "structure" on CSS

 One contrary consideration is CSS has to be delivered to the browser, and
 thus the extra bytes created by whitespace mean inefficiency. But if we
 minify our default stylesheets (like #1891 suggests we do for JS, and like
 WP does for all its stylesheets), then this issue goes away.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2737#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list