diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-04-19 15:50:29 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-04-19 15:50:29 +0200 |
| commit | 03b78c302023ff296a8b4200801fa9de7291eed8 (patch) | |
| tree | ced297791326a0cb3229372e9eaf2532062aa0e9 /frontend/site/projects | |
| parent | 0231b8df6732aee5c5f254b3d15e5139800e6ea0 (diff) | |
more charles edits.. fix audio
Diffstat (limited to 'frontend/site/projects')
| -rw-r--r-- | frontend/site/projects/museum/views/titles.css | 6 | ||||
| -rw-r--r-- | frontend/site/projects/museum/views/titles.overlay.js | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/frontend/site/projects/museum/views/titles.css b/frontend/site/projects/museum/views/titles.css index 547c9ba..562edd9 100644 --- a/frontend/site/projects/museum/views/titles.css +++ b/frontend/site/projects/museum/views/titles.css @@ -21,7 +21,7 @@ padding: 1rem; font-family: 'Helvetica', sans-serif; - font-size: 1.66vw; + font-size: 1.5vw; pointer-events: none; user-select: none; @@ -34,9 +34,9 @@ top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); - width: 65vw; + width: 80vw; font-family: "Druk Wide"; - font-size: 1.66vw; + font-size: 1.5vw; color: #fff; text-shadow: 0px 2px 6px rgba(0,0,0,0.5); opacity: 0; diff --git a/frontend/site/projects/museum/views/titles.overlay.js b/frontend/site/projects/museum/views/titles.overlay.js index 12b8bae..95c272d 100644 --- a/frontend/site/projects/museum/views/titles.overlay.js +++ b/frontend/site/projects/museum/views/titles.overlay.js @@ -102,6 +102,7 @@ class TitlesOverlay extends Component { showTitle() { if (!this.titleRef.current) return + this.titleRef.current.innerHTML = "" this.titleRef.current.style.color = this.state.content.color || "rgba(255, 121, 13, 1.0)" this.titleRef.current.style.opacity = 0 this.titleTimeout = setTimeout(() => { |
