From b913541d4c833c164d8d348c76f46291b90bb50c Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 14 Nov 2010 12:51:12 -0500 Subject: [PATCH] Change the style of the error message so it doesn't shift content down when it appears. --- web_frontend/screen.css | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/web_frontend/screen.css b/web_frontend/screen.css index a08e92b..f697a25 100644 --- a/web_frontend/screen.css +++ b/web_frontend/screen.css @@ -59,13 +59,22 @@ h1 { #error { border-style: solid; - border-width: .15em; - border-color: rgb(167, 40, 26); - border-radius: .2em; - padding: .2em; + border-width: .15em; + border-top-width: 0em; + border-color: rgb(167, 40, 26); + border-radius: 0em 0em .5em .5em; + padding: .2em; - background-color: rgba(167, 40, 26, 0.1); - color: rgb(0, 30, 30); + background-color: rgba(167, 40, 26, 0.3); + color: rgb(0, 30, 30); + + position: absolute; + width: 75%; + top: 0px; + left: 0px; + right: 0px; + margin-left: auto; + margin-right: auto; } .actor { -- 2.43.5