-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.css
73 lines (64 loc) · 1.08 KB
/
menu.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
72
.menu-row {
display: flex;
flex-wrap: wrap;
padding: 0 4px;
}
/* Create three equal columns that sits next to each other */
.three-column {
flex: 33.333%;
max-width: 33.333%;
padding: 0 0px;
}
.three-column img {
margin-top: 4px;
margin-bottom: 4px;
vertical-align: middle;
width: 100%;
}
.two-column {
flex: 50%;
max-width: 50%;
padding: 0 0px;
}
.two-column img {
margin-top: 4px;
margin-bottom: 4px;
vertical-align: middle;
width: 100%;
}
.one-column {
flex: 100%;
max-width: 100%;
padding: 0 0px;
}
.one-column img {
margin-top: 4px;
margin-bottom: 4px;
vertical-align: middle;
width: 100%;
}
#third {
height: 0px;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
.three-column {
-ms-flex: 100%;
flex: 100%;
max-width: 100%;
}
.two-column {
-ms-flex: 100%;
flex: 100%;
max-width: 100%;
}
#full {
height: 0px;
}
#third {
height: auto;
-ms-flex: 100%;
flex: 100%;
max-width: 100%;
}
}