-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_grid.css
50 lines (40 loc) · 835 Bytes
/
_grid.css
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
.grid {
background: white;
margin: 0 0 20px 0; }
.grid:after {
/* Or @extend clearfix */
content: "";
display: table;
clear: both; }
[class*='col-'] {
float: left;
padding-right: 20px; }
.grid [class*='col-']:last-of-type {
padding-right: 0; }
.col-2-3 {
width: 66.66%; }
.col-1-3 {
width: 33.33%; }
.col-1-2 {
width: 50%; }
.col-1-4 {
width: 25%; }
.col-1-8 {
width: 12.5%; }
.module {
padding: 20px;
background: #eee; }
/* Opt-in outside padding */
.grid-pad {
padding: 20px 0 20px 20px; }
.grid-pad [class*='col-']:last-of-type {
padding-right: 20px; }
body {
padding: 10px 50px 200px;
background: url(http://subtlepatterns.com/patterns/[email protected]);
background-size: 300px 300px; }
h1 {
color: white; }
h1 em {
color: #666;
font-size: 16px; }