-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyle.css
70 lines (66 loc) · 811 Bytes
/
style.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
* {
box-sizing:border-box;
-moz-box-sizing:border-box;
}
html, body {
padding:0;
margin:0;
font-family: 'Open Sans';
}
main {
width:100%;
max-width:66.25em;
margin:3em auto;
}
h3 {
font-weight: 700;
}
article {
float:left;
width:65%;
font-weight: 400;
padding:1.25em 2.25em;
background: #F5F5F5;
}
aside {
float:left;
width:35%;
padding:2.25em 1.25em;
background: #CCC;
}
@media (max-width: 55em) {
article {
width:70%;
}
aside {
width:30%;
}
}
@media (max-width: 51em) {
article {
width:75%;
}
aside {
width:25%;
}
}
@media (max-width: 47.75em) {
article {
float:none;
padding:4.5em;
width:100%;
}
aside {
float:none;
padding:4.5em;
width:100%;
}
}
@media (max-width: 40.5em) {
article {
padding:2.25em 1.25em;
}
aside {
padding:2.25em 1.25em;
}
}