aboutsummaryrefslogtreecommitdiff
path: root/css/main.css
blob: ffadd6b616124d7b6c280a3825bddfebffc8f783 (plain) (blame)
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
/* Main Site CSS */
body {
    background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/782173/codepen-bg-light1.png")
}

.bobAnimate-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 375px;
}

.inline {
    display: inline-block;
}

#bobAnimate {
    margin-left: 5px;
    transition-timing-function: ease-in-out;
    transition: margin-left 2s;
}

/* Github Corner */
.github-corner:hover .octo-arm {
    animation: octocat-wave 560ms ease-in-out
}

@keyframes octocat-wave {

    0%,
    100% {
        transform: rotate(0)
    }

    20%,
    60% {
        transform: rotate(-25deg)
    }

    40%,
    80% {
        transform: rotate(10deg)
    }
}

@media (max-width:500px) {
    .github-corner:hover .octo-arm {
        animation: none
    }

    .github-corner .octo-arm {
        animation: octocat-wave 560ms ease-in-out
    }
}