-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
134 lines (108 loc) · 3.49 KB
/
index.html
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
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="author" content="aut">
<meta name="description" content="des">
<meta name="keywords" content="ke">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon" href="./assets/icons/apple-touch-icon.png">
<link rel="icon" type="image/x-icon" href="./favicon.ico" sizes="16x16 32x32">
<link rel="icon" type="image/svg+xml" href="./favicon.svg" sizes="any">
<link rel="mask-icon" type="image/svg+xml" href="./favicon.svg">
<link rel="license" href="//creativecommons.org/licenses/by-nc-nd/4.0">
<link rel="stylesheet" type="text/css" href="./assets/css/index.css">
<link rel="stylesheet" type="text/css" href="./assets/css/custom.css">
<title>open data graph</title>
</head>
<body>
<header>
<section>
<div class="burger">
<button class="hamburger hamburger--squeeze" type="button">
<span class="hamburger-box">
<span class="hamburger-inner"></span>
</span>
</button>
</div>
<div class="menu">
<nav>
</nav>
</div>
</section>
<side>
<h1><a href="./" rel="nofollow noopener noreferrer">graph data</a></h1>
</side>
</header>
<main >
<div id="graph"></div>
<side id="itemOverlay"></side>
</main>
<footer>
<p className="copyleft">build by <a href="https://medienhaus.dev" rel="nofollow noopener noreferrer"><strong>medienhaus/</strong></a></p>
<p>towards an <a href="https://attributable.org" rel="nofollow noopener noreferrer">attributable web</a></p>
</footer>
<div id="renderIncludes">
</div>
<script src="./assets/js/initialize.js"></script>
<script>ini()</script>
<style>
footer {
margin-top: calc(var(--margin) * 1);
}
section {
margin-bottom: calc(var(--margin)*2);
}
input, select, button {
margin-top: calc(var(--margin)/2);
margin-bottom: calc(var(--margin)/2);
}
[data-tooltip] {
cursor: help;
position: relative;
text-decoration: underline;
}
[data-tooltip][data-position="right"]::before {
left: 105%;
top: -50%;
transform: translateX(-20px);
}
[data-tooltip][data-position="bottom"]::before {
top: 150%;
transform: translateY(-20px);
}
[data-tooltip][data-position="left"]::before {
left: auto;
top: -50%;
right: 105%;
transform: translateX(20px);
}
[data-tooltip]:hover::before {
border-color: var(--color-fg);
border-radius: 8px;
border-style: solid;
border-width: calc(var(--margin) * 0.1);
color: var(--color-fg);
opacity: 1;
transform: translate(0);
}
[data-tooltip]::before {
content: attr(data-tooltip);
background-color: var(--color-bg);
display: block;
opacity: 0;
padding: 10px;
pointer-events: none;
position: absolute;
left: 0;
top: -50px;
text-align: center;
transform: translateY(20px);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 1;
}
</style>
</body>
</html>