-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathviz.css
168 lines (150 loc) · 3.34 KB
/
viz.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100;0,300;0,400;0,500;0,700;1,400;1,500;1,700&family=Space+Mono:wght@400;700&display=swap');
.record-title {
font-family: 'Space Mono', monospace;
font-size: 36px;
color: #white;
}
.graph-wrapper {
position: absolute;
top: 0;
right: 0;
height: 100vh;
width: calc(100vw - 30rem);
background-color: #242424;
}
button, .btn {
background-color: #0d2621;
color: white;
border-radius: 6px;
border: none;
padding: 5px 10px;
transition: all 0.1s ease;
}
button:hover {
animation-duration: .8s;
animation-name: clignoter;
animation-iteration-count: infinite;
transition: none;
}
h1.title {
font-family: 'Space Mono', monospace;
text-transform: uppercase;
font-size: 2.2rem;
color: white;
text-align: center;
}
aside.menu{
background-color: #242424;
color: rgb(13 228 190);
}
aside.menu header {
display: flex;
align-items: center;
justify-content: center;
color:0d2621;
}
aside.menu header:before {
display: inline-block;
height: 70px;
width: 100px;
background-size: 100px 70px;
background-repeat: no-repeat;
}
main#record-container {
background-color: transparent;
backdrop-filter: blur(10px);
color: white;
border: solid 2px #33ffbe;
box-shadow: none;
}
.record footer li .record-links-context {
color: black;
}
.record header {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
button.record-btn-close {
position: absolute;
margin: 0px;
top: 0;
left: 0;
background-color: transparent;
color: white;
border-right: 2px solid #33ffbe;
border-bottom: 2px solid #33ffbe;
border-left: none;
border-top: none;
padding: 5px 10px;
transition: all 0.1s ease;
}
@keyframes clignoter {
0% { opacity:1; }
40% {opacity:0; }
100% { opacity:1; }
}
line {
stroke: white;
}
circle {
stroke: white;
fill: #242424;
}
.graph-controls {
position: absolute;
top: 0;
left: 0;
background-color: transparent;
backdrop-filter: blur(10px);
border-right: 2px solid #33ffbe;
border-bottom: 2px solid #33ffbe;
padding: 25px;
width: fit-content;
height: fit-content;
}
.graph-timeline {
color: white;
border-top: 2px solid #33ffbe;
padding: 25px;
background-color: #242424;
width: 100vw;
left: 0;
bottom: 0;
height: fit-content;
}
.graph-controls::before {
backdrop-filter: none;
}
.graph-controls-focus {
display: none;
}
article.record header {
display: grid;
gap: 0 1em;
grid-template:
"img title" auto
"img id" auto
"img type" auto
"img tags" auto
"img prenom" auto
"img nom" auto
"img orcid" auto
"img hal" auto
"img gscholar" auto
"img wikipedia" auto
"img twitter" auto / 1fr 2fr;
}
h1.record-title { grid-area: title }
img.record-img { grid-area: img }
div.record-id { grid-area: id }
div.record-type { grid-area: type }
div.record-tags { grid-area: tags }
div.record-prenom { grid-area: prenom }
div.record-nom { grid-area: nom }
div.record-orcid { grid-area: orcid }
div.record-hal { grid-area: hal }
div.record-gscholar { grid-area: gscholar }
div.record-wikipedia { grid-area: wikipedia }
div.record-twitter { grid-area: twitter }