-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathhashgrid.css
More file actions
59 lines (45 loc) · 932 Bytes
/
hashgrid.css
File metadata and controls
59 lines (45 loc) · 932 Bytes
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
* Grid
*/
#grid{
/* Dimensions - same width as your grid with gutters */
width: 864px;
/* Grid (left-aligned)
position: absolute;
top: 0;
left: 0;
*/
/* Grid (centered) */
position: absolute;
top: 0;
left: 50%;
margin-left: -432px;
}
/**
* Vertical grid lines
*
* Set the column width taking the borders into consideration,
* and use margins to set column gutters.
*/
#grid div.vert{
width: 143px;
border: solid darkturquoise;
border-width: 0 1px;
margin-right: 23px;
}
#grid div.vert.first-line{
margin-left: 23px;
}
/**
* Horizontal grid lines, defined by your base line height
*
* Remember, the CSS properties that define the box model:
* visible height = height + borders + margins + padding
*/
#grid div.horiz{
/* 24px line height */
height: 23px;
border-bottom: 1px dotted darkgray;
margin: 0;
padding: 0;
}