diff options
Diffstat (limited to 'frontend/site/projects/museum/views/titles.css')
| -rw-r--r-- | frontend/site/projects/museum/views/titles.css | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/frontend/site/projects/museum/views/titles.css b/frontend/site/projects/museum/views/titles.css index 562edd9..311fa6f 100644 --- a/frontend/site/projects/museum/views/titles.css +++ b/frontend/site/projects/museum/views/titles.css @@ -13,7 +13,7 @@ .chapter-headphones { position: absolute; - top: 0; + top: -4px; left: 50%; transform: translateX(-50%); white-space: nowrap; @@ -21,9 +21,11 @@ padding: 1rem; font-family: 'Helvetica', sans-serif; - font-size: 1.5vw; + font-size: 1.2rem; + line-height: 1.6; pointer-events: none; user-select: none; + text-align: center; transition: opacity 0.5s; opacity: 0; @@ -42,6 +44,7 @@ opacity: 0; pointer-events: none; transition: opacity 0.5s; + text-align: justify; } .charles-text.visible { opacity: 1; |
