blob: a2ed3d0b578dcb0e8f5b66878c3e654cbf2d8fd9 (
plain)
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
|
/**
* Grid System
*
* total area: 770px - 203mm (A4 ISO format less the left/right margins)
* gutter/gap: 20px
* line height: 20px
* grid width: 730px (total area - 2 x gutter)
*/
#grid {
/* Vertical grid lines */
background: url(../images/770-grid.png) repeat-y 0 0;
/* Dimensions - same width as your grid with gutters */
width: 770px;
/* Grid (centered) */
position: absolute;
top: 0;
left: 50%;
margin-left: -385px;
}
/**
* 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 .horiz {
/* 20px line height */
height:19px;
border-bottom:1px dotted #AAA;
margin:0;
padding:0;
}
|