-
Notifications
You must be signed in to change notification settings - Fork 0
/
flexbox.css
103 lines (85 loc) · 2.03 KB
/
flexbox.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
article[contenteditable] {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-content: flex-start;
-ms-flex-line-pack: flex-start;
align-content: flex-start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
max-width: 100%;
}
article > section {
margin: 0rem;
-webkit-box-flex: 1;
-ms-flex: 0 1 100%;
flex: 0 1 100%;
-webkit-flex-basis: 100%;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-align-items: flex-end;
-ms-flex-align: end;
align-items: flex-end;
}
article > section > *:not(.kx){
-webkit-order: 0;
-ms-flex-order: 0;
order: 0;
-webkit-flex: 0 1 auto;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
-webkit-align-self: auto;
-ms-flex-item-align: auto;
align-self: auto;
}
.content style {
display: none !important;
}
@media (min-width: 800px) {
section[pattern="two-images"] {
flex-basis: 50%;
-webkit-flex-basis: 50%;
-webkit-align-self: stretch;
-ms-flex-item-align: stretch;
align-self: stretch;
}
.content section[pattern="two-images"][index="0"] > :not(.toolbar) {
margin-right: 0;
}
.content section[pattern="two-images"][index="1"] > :not(.toolbar){
margin-left: 0;
}
}
article > section.large {
flex-basis: 100%;
flex-grow: 0;
-webkit-flex-basis: 100%;
-webkit-flex-grow: 0;
}
article > section.small {
justify-content: center;
-webkit-justify-content: center;
}