|
165 | 165 | .img-right img, .img-left img, .img-center img { display: block; margin: 0 auto .6; } |
166 | 166 | .img-right figcaption, .img-left figcaption, .img-center figcaption { display: block; color: Gray; font-style: italic; } |
167 | 167 |
|
| 168 | +/* Flexbox utility classes */ |
| 169 | +.flex { |
| 170 | + display: flex; |
| 171 | +} |
| 172 | + |
| 173 | +.dir-row { flex-direction: row; } |
| 174 | +.dir-row-reverse { flex-direction: row-reverse; } |
| 175 | +.dir-column { flex-direction: column; } |
| 176 | +.dir-column-reverse { flex-direction: column-reverse; } |
| 177 | + |
| 178 | +/* Grid wrapping */ |
| 179 | +.fw-wrap { flex-wrap: wrap; } |
| 180 | +.fw-nowrap { flex-wrap: nowrap; } |
| 181 | + |
| 182 | +/* Alignment */ |
| 183 | + |
| 184 | +/* Justify content */ |
| 185 | +.jc-flex-start { justify-content: flex-start; } |
| 186 | +.jc-flex-end { justify-content: flex-end; } |
| 187 | +.jc-center { justify-content: center; } |
| 188 | +.jc-space-around { justify-content: space-around; } |
| 189 | +.jc-space-between { justify-content: space-between; } |
| 190 | + |
| 191 | +/* Align items */ |
| 192 | +.ai-flex-start { align-items: flex-start; } |
| 193 | +.ai-flex-end { align-items: flex-end; } |
| 194 | +.ai-center { align-items: center; } |
| 195 | +.ai-space-around { align-items: baseline; } |
| 196 | +.ai-stretch { align-items: stretch; } |
| 197 | + |
| 198 | +/* Align content */ |
| 199 | +.ac-flex-start { align-content: flex-start; } |
| 200 | +.ac-flex-end { align-content: flex-end; } |
| 201 | +.ac-center { align-content: center; } |
| 202 | +.ac-space-around { align-content: space-around; } |
| 203 | +.ac-space-between { align-content: space-between; } |
| 204 | + |
168 | 205 | @media only screen and (min-width: $b3) { |
169 | 206 | .img-right { float: right; margin: .8rem 0 1.6rem 4.8rem; } |
170 | 207 | .img-left { float: left; margin: .8rem 4.8rem 1.6rem 0; } |
|
0 commit comments