summaryrefslogtreecommitdiff
path: root/frontend/site/projects/museum/views/nav.css
blob: c9bd36e8b6153dd259f4935a1bf13be5852c668e (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
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
.museum-nav .home-link {
  position: fixed;
  top: 0; left: 0;
  padding: 1rem;
  color: rgba(255, 121, 13, 1.0);
  font-family: 'Helvetica', sans-serif;
  font-size: 1.2rem;
  cursor: pointer;
  user-select: none;
  transition: color 0.1s;
}
.museum-nav .home-link:hover {
  color: white;
}

/* footer */

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 5rem;
  /*color: black;*/
  color: white;
}
.footer-gradient {
  position: absolute;
  bottom: 0rem;
  width: 100%;
  height: 5rem;
  /*background: linear-gradient(180deg, rgba(255, 121, 13, 0.0), rgba(255, 121, 13, 1.0) 70%);*/
  background: linear-gradient(180deg, rgba(0,0,0, 0.0), rgba(0,0,0, 1.0) 70%);
  transform: translateY(2rem);
  transition: transform 0.15s;
}
.nav-arrow {
  position: absolute;
  bottom: 0;
  height: 3rem;
  width: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s;
  transform: translateY(3rem);
}
.nav-arrow path {
  fill: transparent;

  stroke: white;
  stroke-width: 2px;
}
.nav-arrow.arrow-left {
  left: 0;
}
.nav-arrow.arrow-right {
  right: 0;
}
.footer .artist-desc {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  white-space: nowrap;
  text-align: center;
  padding-bottom: 0.5rem;
  transition: transform 0.15s;
  transform: translateY(3rem);
}
.footer .artist-name {
  font-family: "Druk Wide";
  font-style: italic;
  text-transform: uppercase;
  margin-right: 1rem;
  font-size: 28px;
  line-height: 28px;
  cursor: default;
  user-select: none;
}
.footer .artist-location {
  font-family: "Helvetica", sans-serif;
  font-size: 21px;
  line-height: 21px;
  cursor: default;
  user-select: none;
}

.footer.with-artist:hover .nav-arrow,
.footer.with-artist:hover .artist-desc {
  transform: translateY(0);
}
.footer.with-artist:hover .footer-gradient {
  transform: translateY(0);
}