-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (101 loc) · 2.89 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
<html>
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./body.css" />
<link rel="stylesheet" href="./palette.css" />
<script src="/components/copyright-notice.js"></script>
<style>
::selection {
color: var(--palette-main-0);
background: var(--palette-main-5);
}
body {
color: var(--palette-main-6);
background-color: var(--palette-main-1);
}
a {
color: var(--palette-main-0);
}
.item {
background: var(--palette-main-5);
padding: calc(var(--theme-spacing) * 2);
width: calc(var(--theme-spacing) * 20);
display: flex;
justify-content: center;
align-items: center;
border: 4px solid var(--palette-main-6);
border-radius: 4px;
transition: transform 0.2s linear;
}
.item:hover {
transform: translateY(-2px);
}
.item:focus-within {
transform: translateY(-2px);
}
.flex {
display: flex;
}
.flex.wrap {
flex-wrap: wrap;
}
.column {
flex-direction: column;
}
.gap {
gap: 16px;
}
</style>
</head>
<body>
<h1><img src="ferris-svgrepo-com.svg" width="50" /> Code Sandbox</h1>
<section>
<p>A collection of small code experiments to explore web technologies.</p>
<p>Created for personal and teaching usage.</p>
<div class="flex column">
<h2><i></i>CSS</h2>
<div class="flex gap wrap">
<a href="/css/dark-mode/index.html">
<div class="item">Dark Mode</div>
</a>
<a href="/css/flex/index.html">
<div class="item" data-topic="flex">Flexbox</div>
</a>
<a href="/css/grid/sticky.html">
<div class="item" data-topic="grid">Sticky Grid</div>
</a>
<a href="/css/positioning/index.html">
<div class="item">Positioning</div>
</a>
<a href="/css/zindex/index.html">
<div class="item">z-index</div>
</a>
</div>
<h2>Web APIs</h2>
<div class="flex gap wrap">
<a href="/js/webworker/index.html">
<div class="item">WebWorker</div>
</a>
<a href="/js/fullscreen/index.html">
<div class="item">Fullscreen API</div>
</a>
<a href="/js/custom-components/index.html">
<div class="item">Web Components</div>
</a>
</div>
<h2>Neutral Networks</h2>
<div class="flex gap wrap">
<a href="/js/ocr/index.html">
<div class="item">Tesseract (OCR)</div>
</a>
</div>
</div>
</section>
<section>
<copyright-notice></copyright-notice>
</section>
</body>
</html>