aboutsummaryrefslogtreecommitdiff
path: root/ps/ui/css/home.css
blob: 32f3896af587d34da87a04843bfaeec076630009 (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
/* Declare variables */
:root {
    /* colors */
    --grey95: rgba(0,0,0,.95);
    --grey30: rgba(0,0,0,.3);

    --color:  var(--grey95);
    /* transformations */
    /* animations */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body { overflow: hidden; height: 100%; }

body.home {
    background: var(--grey30);
    color: var(--color);
    position: absolute;
    left: 0;
    right: 0;
}

body > main {
    position: relative;
    margin: 4rem auto;
    right: calc(100% - 3%);
    left: calc(0% + 3%);
}