-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
111 lines (98 loc) · 2.14 KB
/
style.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
100
101
102
103
104
105
106
107
108
109
110
111
html, body {
height: 100%;
}
body {
background: #ffffff;
background: -moz-radial-gradient(center, ellipse cover, #ffffff 0%, #cccccc 100%);
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#ffffff), color-stop(100%,#cccccc));
background: -webkit-radial-gradient(center, ellipse cover, #ffffff 0%,#cccccc 100%);
background: -o-radial-gradient(center, ellipse cover, #ffffff 0%,#cccccc 100%);
background: -ms-radial-gradient(center, ellipse cover, #ffffff 0%,#cccccc 100%);
background: radial-gradient(ellipse at center, #ffffff 0%,#cccccc 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cccccc',GradientType=1 );
color: #000;
font-size: 10px;
font-family: Arial, Helvetica, sans-serif;
line-height: 1em;
}
#page,
#target {
position: absolute;
left: 0;
width: 30%;
max-width: 400px;
height: auto;
z-index: 2;
padding: 2%;
display: none;
transition: background-color 0.5s, color 0.5s;
}
#page {
top: 0;
}
#target {
bottom: 0;
}
#page h1,
#target h1 {
font-family: 'Advent Pro', sans-serif;
font-size: 1.8em;
line-height: 1.2em;
}
#page p,
#target p {
font-size: 1.2em;
line-height: 1.4em;
}
#page:hover {
background: rgba( 0, 0, 0, 0.8 );
color: #FFF;
}
.collection {
width: 100%;
height: 100%;
position: relative;
z-index: 1;
}
.graph {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
display: none;
z-index: 1;
}
.graph .node {
width: 16px;
height: 16px;
position: absolute;
margin: -8px 0 0 -8px;
left: 50%;
top: 50%;
transition: margin-left 0.5s, margin-top 0.5s;
-moz-transition: margin-left 0.5s, margin-top 0.5s;
-webkit-transition: margin-left 0.5s, margin-top 0.5s;
z-index: 1;
}
.graph .node a {
display: block;
width: 16px;
height: 16px;
overflow: hidden;
color: transparent;
background: #000;
border-radius: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
transition: background-color 0.5s;
-moz-transition: background-color 0.5s;
-webkit-transition: background-color 0.5s;
}
.graph .node.origin a {
background: #900;
z-index: 2;
}
.graph .node a:hover {
background: #666;
}