summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/less/mixins.less
blob: e4308b9d6557e4c8cd163f5e944182d804479369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.text-adjust(@value) {
    text-size-adjust: @value;
    -ms-text-size-adjust: @value;
    -webkit-text-size-adjust: @value;
}

// The 'flex' shorthand
// - applies to: flex items
// <positive-number>, initial, auto, or none
.flex(@columns: initial) {
  -webkit-flex: @columns;
     -moz-flex: @columns;
      -ms-flex: @columns;
          flex: @columns;
}