summaryrefslogtreecommitdiff
path: root/frontend/site/projects/museum/views/petros.nav.css
blob: 1a680326d1e22d46766120c8802ba15860c7f09d (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
.petros-left {
  position: absolute;
  bottom: 70px;
  left: 40px;
  cursor: pointer;
  opacity: 0.0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.petros-right {
  position: absolute;
  bottom: 70px;
  right: 40px;
  cursor: pointer;
  opacity: 0.0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.petros-text {
  position: absolute;
  top: 50%; left: 50%;
  cursor: pointer;
  opacity: 0.0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.petros-left.visible,
.petros-right.visible,
.petros-text.visible {
  opacity: 1.0;
  pointer-events: auto;
}

.petros-subtitle {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 400px);
  text-align: center;
  font-family: 'Druk Wide', sans-serif;
  font-size: 2vw;
  pointer-events: none;
  color: #fff;
  text-shadow: 0 0 3px #fff;
  transition: opacity 0.4s;
}