Confirmed users
295
edits
(→Basics) |
|||
| Line 6: | Line 6: | ||
* Make sure each file starts with the standard copyright header | * Make sure each file starts with the standard copyright header | ||
* Functional stuff (for example, toggling the display property based on application state) should be in content css rather than theme css | * Functional stuff (for example, toggling the display property based on application state) should be in content css rather than theme css | ||
* Avoid <tt>!important</tt> | * Avoid <tt>!important</tt> but if you have to use it, make sure it's obvious why you're using it (maybe with a comment if not obvious) | ||
* Avoid magic numbers, prefer automatic sizing | * Avoid magic numbers, prefer automatic sizing | ||