-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbear.css
executable file
·71 lines (54 loc) · 884 Bytes
/
bear.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
B E A R
For Super Simple Responsive Content
By William Leeks - http://williamleeks.com
*/
.mama-bear {
margin-left: auto;
margin-right: auto;
width: 55%;
min-width: 640px;
max-width: 760px;
}
/* Clear Floats - Thanks to: http://nicolasgallagher.com/micro-clearfix-hack/ */
.mama-bear:before,
.mama-bear:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.mama-bear:after {
clear: both;
}
/**
* For IE 6/7 only
* Include this rule to trigger hasLayout and contain floats.
*/
.mama-bear {
*zoom: 1;
}
.baby-bear {
float: left;
width: 46.875%;
min-width: 300px;
}
.baby-bear + .baby-bear {
float: right;
}
img {
max-width: 100%;
height: auto;
}
/*
SMALLER SCREENS
*/
@media only screen and (max-width: 719px) {
.mama-bear{
min-width: 100px;
width: 88.88%;
}
.baby-bear {
float: none;
min-width: 100px;
width: 100%;
}
}