summaryrefslogtreecommitdiff
path: root/snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid/mixins.less
blob: 49c774998b6c3400ea5582282326da612579ac52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.gg {
  display: table;
  width: 100%;
  vertical-align: middle;
}

.gg-col {
  display: table-cell;
  vertical-align: inherit;
}

.gg-vertical-align(@align) {
  vertical-align: @align;
}

.gg-make-col(@column-width, @total-columns) {
  width: (100% / @total-columns * @column-width);
}