aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/less/layout/core.less
blob: a17a54a7340e881fb4cdb8c79f9c18d90df836b8 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// ==========================================================================
// Core
// ==========================================================================

*,
*::after,
*::before {
    box-sizing: border-box;
}

html,
body {
    display: flex;
    width: 100%;
}

html {
    background: @page-background;
    background-attachment: fixed;
    height: 100%;
}

body {
    display: flex;
    min-height: 100%;
    align-items: center;
    flex-direction: column;
}

main {
    text-align: center;
}

.grid {
    flex: 1;
}

aside {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: (@spacing-base * 0.75);
    background: #fff;
    text-align: center;
    color: @gray;
    text-shadow: none;

    .icon {
        margin-right: (@spacing-base / 2);
        fill: @color-twitter;
    }

    p {
        margin: 0;
    }

    a {
        color: @color-twitter;

        &.tab-focus {
            .tab-focus(@color-twitter);
        }
    }
}