From 5e7b9937d948375b90040e06bf555a0be0fd1a31 Mon Sep 17 00:00:00 2001 From: mama Date: Thu, 19 Oct 2017 15:11:23 +0200 Subject: [PATCH] =?UTF-8?q?:art:=20Adaptation=20de=20la=20barre=20pour=20l?= =?UTF-8?q?es=20grands=20=C3=A9crans?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/Results.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source/components/Results.css b/source/components/Results.css index 2f988e751..88495508d 100644 --- a/source/components/Results.css +++ b/source/components/Results.css @@ -1,26 +1,27 @@ #results { position: fixed; + left: 50%; bottom: 2.5%; - left: 0; width: 90%; - margin: 0 5%; + max-width: 45em; + margin: 0 auto; padding: .1em; background: #4A89DC; color: white; padding: .6em 0; font-size: 120%; - box-shadow: 0px 0px 20px 2px #ccc; + box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.25); opacity: 0; - transform: translateY(12em); + transform: translate(-50%, 12em); transition: transform .5s; transition-delay: .3s; transition-timing-function: cubic-bezier(0, 1.01, 0.24, 1) } #results.show { - transform: translateY(0); + transform: translate(-50%, 0); opacity: 1; }