-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
99 lines (86 loc) · 1.34 KB
/
index.css
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
html {
font-size: 12px;
}
body {
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
max-height: 100%;
max-width: unset;
}
main {
display: flex;
flex: 1 1 auto;
grid-column: unset;
min-height: 0;
padding: 0;
}
section {
padding: 16px;
}
#intro {
flex: 0 0 360px;
border-right: 1px solid black;
overflow-y: scroll;
}
#svg {
background: white;
flex: 1 1 auto;
min-width: 0;
}
#output {
height: 100%;
overflow: hidden;
width: 100%;
}
/**
* Footer
*/
section > footer {
text-align: center;
/* Custom for dyson-sphere-graphviz */
flex: 0 0 auto;
margin: 0;
padding: 0;
}
.footer-link {
display: inline-block;
font-size: 15px;
line-height: 1.5;
padding: 10px;
text-align: center;
width: 200px;
}
.icon>svg, .icon>img {
display: inline-block;
height: 16px;
vertical-align: middle;
width: 16px;
}
/**
* Github Corner Banner
* Source: http://tholman.com/github-corners/
*/
.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;
}
}