From 9aa828997d56f7895b2b26603719593386f4eb93 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 19 Apr 2021 17:24:26 +0200 Subject: fonts --- frontend/site/projects/museum/views/titles.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'frontend/site/projects/museum/views/titles.css') 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; -- cgit v1.2.3-70-g09d2