-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
39 lines (28 loc) · 1.19 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Best Practices for BoonBox
/* Starting up */
Set up git account
Git gui for mac
Fork a repository
Read readme
/* Templates */
: Inside htmlTemplates/templates you'll find an HTML template file, please copy and paste this file
whenever you want to make a new page
: Add new pages to the htmlTemplates/pages folder
: Sections that occur throughout the site, e.g. footer, header, head, scripts and filters - have been put
into separate blocks that can be found in htmlTemplates/blocks - please work in those files
when updating those sections.
/* Naming */
// Ids and Class names
: Please no acronyms for id and class names - makes the code less readable
: Please use dashes for id and class names (e.g. main-navigation) - if both of you prefer to use
camel casing then that's cool - just as long as it's consistent
// File names
: Please use _ for file names (e.g. boonbox_logo.jpg)
/* Images */
sprites = assets/images/sprites
backgrounds = assets/images/backgrounds
other = assets/images
/* CSS */
: please read reserved class name section of common.css
: !importants are the spawn of the devil - they break the cascading nature of the stylesheet and
lead to all sorts of problems - please avoid