Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (59 loc) · 2.81 KB
/
Copy pathindex.html
File metadata and controls
67 lines (59 loc) · 2.81 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>DesignDNA</title>
<meta name="description" content="An interactive map of how design movements descend from each other — Bauhaus, Scandinavian Modern, Mid-Century Modern, Organic Modern, Japandi, and the rest. Click any movement to see what it inherits, what it rebels against, and what it became.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Newsreader:ital,opsz,wght@0,6..72,400;1,6..72,400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<!-- Apply the saved theme synchronously, before any paint, so a user
who saved "dark" doesn't see a flash of light on load. -->
<script>
(function () {
try {
var t = localStorage.getItem("theme");
if (t === "light") document.documentElement.classList.add("theme-light");
else if (t === "dark") document.documentElement.classList.add("theme-dark");
} catch (e) { /* localStorage unavailable; fall back to system */ }
})();
</script>
</head>
<body>
<header class="mast">
<h1>Design <em>DNA</em></h1>
<span class="mast-tag">a lineage tree of interiors and the movements that shape them</span>
<div class="theme-toggle" role="radiogroup" aria-label="Theme">
<button class="theme-opt" data-theme="system" role="radio">system</button>
<button class="theme-opt" data-theme="light" role="radio">light</button>
<button class="theme-opt" data-theme="dark" role="radio">dark</button>
</div>
</header>
<main class="layout">
<section class="tree-col">
<div class="tree">
<div class="tree-toolbar">
<div class="tabs" id="tabs"></div>
<div class="legend">
<span><span class="legend-sw scandi"></span>Scandi</span>
<span><span class="legend-sw modernist"></span>Modernist</span>
<span><span class="legend-sw reaction"></span>Reaction</span>
<span><span class="legend-sw neutral"></span>Roots</span>
</div>
</div>
<div class="tree-canvas" id="tree-canvas"></div>
</div>
<p class="tree-caption">
Vertical position is lineage depth, not strict chronology. Each row is based on the number of steps away from its oldest ancestor in the chart (with some adjustment to avoid crowding).
</p>
</section>
<aside class="detail" id="detail"></aside>
</main>
<footer>
Clicking any term opens a Google Images search in a new tab. Movements also have a button to open in Pinterest.
</footer>
<script type="module" src="js/main.js"></script>
</body>
</html>