summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets/base/mixins.less
blob: 14539cf165b40dc708f1efd1d795d084ed7467d8 (plain)
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
@import "./markdown.less";

.link-inherit {
    color: inherit;

    &:hover, &:focus {
        color: inherit;
    }
}

.transition-transform(@transition) {
  -webkit-transition: -webkit-transform @transition;
     -moz-transition: -moz-transform @transition;
       -o-transition: -o-transform @transition;
          transition: transform @transition;
}

.hidden {
    display: none;
}

.box-sizing(@value) {
    -moz-box-sizing: @value;
    box-sizing: @value;
}

.text-adjust(@value) {
    text-size-adjust: @value;
    -ms-text-size-adjust: @value;
    -webkit-text-size-adjust: @value;
}