aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/sass/layout/core.scss
blob: 0501c1df5261ed2c055e2928f7fd53c8649d5a8d (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
// ==========================================================================
// Core
// ==========================================================================

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

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

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

.grid {
    flex: 1;
    overflow: auto;
}

main {
    margin: auto;
    padding-bottom: 1px; // Collapsing margins
    text-align: center;
}

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

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

    p {
        margin: 0;
    }

    a {
        color: $color-twitter;

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