summaryrefslogtreecommitdiff
path: root/resources/css/page.css
blob: b59ad6da43c0b877ce2d06e847e573b6df453454 (plain)
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
* {
  box-sizing: border-box;
}

html {
  font-size: 14px;
}

body {
  margin: 0;
  background-color: #000;
}

img {
  display: inline-block;
  max-width: 100%;
}

.wrap {
  margin: 0 auto;
  min-width: 360px;
  max-width: 750px;
  width: 100vw;
  height: 100vh;
}

.hidden {
  display: none;
}

svg {
  width: 100%;
  height: 100%;
  display: block;
}

svg [data-interactable="true"],
svg [data-location],
svg [data-area],
svg [data-encounter] {
  cursor: pointer;
  stroke: red;
  fill: transparent;
}

svg [data-interactable="false"] {
  stroke: transparent;
  fill: transparent;
}

svg [data-interactable="false"][data-blackout="true"] {
  stroke: black;
  fill: black;
}