forked from piesku/millennials
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
57 lines (46 loc) · 951 Bytes
/
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
<!doctype html>
<meta charset="utf-8">
<title>Millennials</title>
<style>
body {
margin: 0;
font-family: Arial;
background: beige;
}
[hidden] {
display: none;
}
span.card {
padding: 0px 2px;
cursor: pointer;
background: #fd6;
}
span.location {
padding: 0px 2px;
cursor: pointer;
background: #f80;
}
[id] {
transition: scale 0.2s;
}
.hilite {
scale: 1.2;
}
a-location a-card {
width: 60px;
height: 90px;
}
a-location a-card::part(body) {
inset: -50%;
height: 180px;
width: 120px;
scale: 0.5;
}
a-location a-card::part(desc) {
display: none;
}
</style>
<img hidden id="sheet" src="./sprites/spritesheet.png.webp" />
<img hidden id="mask" src="./sprites/mask.png.webp" />
<g-c></g-c>
<script src="./index.js"></script>