summaryrefslogtreecommitdiff
path: root/media/sass/_grid.sass
blob: d785055e3b77214ca296294ea60d2be03b6ac3e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Grid Parameters
!col = 40px
!pad = 20px
!cols = 16

// Grid Width Calculations
!full = ((!col + !pad) * !cols) + !pad
!col1 = !col
!col2 = (!col * 2) + !pad
!col3 = (!col * 3) + (!pad * 2)
!col4 = (!col * 4) + (!pad * 3)
!col5 = (!col * 5) + (!pad * 4)
!col6 = (!col * 6) + (!pad * 5)
!col7 = (!col * 7) + (!pad * 6)
!col8 = (!col * 8) + (!pad * 7)
!col9 = (!col * 9) + (!pad * 8)
!col10 = (!col * 10) + (!pad * 9)
!col11 = (!col * 11) + (!pad * 10)
!col12 = (!col * 12) + (!pad * 11)
!col13 = (!col * 13) + (!pad * 12)
!col14 = (!col * 14) + (!pad * 13)
!col15 = (!col * 15) + (!pad * 14)
!col16 = (!col * 16) + (!pad * 15)