forked from rhyanvargas/liquid-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
67 lines (53 loc) · 804 Bytes
/
main.css
File metadata and controls
67 lines (53 loc) · 804 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
60
61
62
63
64
65
66
67
/* === Global Styles (Mobile-first) === */
* {
font-family: Arial, Verdana, sans-serif;
color: #665544;
text-align: center;
}
body {
width: 90%;
margin: 0 auto;
}
#content {
overflow: auto;
}
#nav, #feature, #footer {
margin: 1%;
}
.column1, .column2, .column3 {
width: 100%;
margin: 1%;
}
.column3 {
margin-right: 0%;
}
ul {
padding-left: 0px;
}
li {
list-style: none;
}
#nav, #footer {
background-color: #efefef;
padding: 0.5em 0;
}
#feature, .article {
height: 10em;
margin-bottom: 1em;
background-color: #efefef;
}
img {
max-width: 100%;
height: auto;
}
/* === Media Queries (Larger Screens) === */
@media (min-width: 48em) { /* 768px */
.column1, .column2, .column3 {
width: 31.3%;
float: left;
}
li {
display: inline;
padding: 0.5em;
}
}