Skip to content

Commit ea94f8c

Browse files
committed
Inserting global styles
1 parent b4fb93b commit ea94f8c

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

public/global.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
html,
2+
body,
3+
#root {
4+
height: 100%;
5+
margin: 0;
6+
font-family: 'Roboto', sans-serif;
7+
}
8+
9+
body {
10+
background-color: #e8f5e9;
11+
}
12+
13+
pre {
14+
padding: 0 !important;
15+
margin-top: 30px !important;
16+
}
17+
18+
.github-corner:hover .octo-arm {
19+
animation: octocat-wave 560ms ease-in-out;
20+
}
21+
@keyframes octocat-wave {
22+
0%,
23+
100% {
24+
transform: rotate(0);
25+
}
26+
20%,
27+
60% {
28+
transform: rotate(-25deg);
29+
}
30+
40%,
31+
80% {
32+
transform: rotate(10deg);
33+
}
34+
}
35+
@media (max-width: 500px) {
36+
.github-corner:hover .octo-arm {
37+
animation: none;
38+
}
39+
.github-corner .octo-arm {
40+
animation: octocat-wave 560ms ease-in-out;
41+
}
42+
}

0 commit comments

Comments
 (0)