summaryrefslogtreecommitdiffstats
path: root/assets/css/_utils.scss
blob: 519a3a726755fb1edc0d17f2e0f2f91dc8ebf33e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.u-hidden {
    display: none;

    @each $name, $width in $breakpoints {
        &\@#{$name}-down {
            @media (max-width: $width) {
                display: none;
            }
        }

        &\@#{$name}-up {
            @media (min-width: $width + 1) {
                display: none;
            }
        }
    }
}

.u-mt0 {
    margin-top: 0;
}