From 0cd53d21e513682bcd1aba4ad22fce86455e1d32 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Tue, 15 Mar 2016 22:49:17 +1300 Subject: Add centred text on power off screen --- petrichor.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'petrichor.css') diff --git a/petrichor.css b/petrichor.css index a8ef1ad..07ee8e7 100644 --- a/petrichor.css +++ b/petrichor.css @@ -30,6 +30,19 @@ body,html background-color: rgba(0,0,0,0.7); visibility: hidden; opacity: 0; + text-decoration: none; + color: inherit; + font-size: 3em; + display: table; + width: 100%; + height: 100%; + vertical-align: middle; +} + +#mask h1 +{ + display: table-cell; + vertical-align: middle; } #power-confirm -- cgit v1.1 From b503c446cfcc7f03e44665b864cd43e75074f30d Mon Sep 17 00:00:00 2001 From: David Phillips Date: Tue, 15 Mar 2016 22:50:22 +1300 Subject: Stop (initial) left padding of ul throwing it off centre --- petrichor.css | 1 + 1 file changed, 1 insertion(+) (limited to 'petrichor.css') diff --git a/petrichor.css b/petrichor.css index a8ef1ad..31e281a 100644 --- a/petrichor.css +++ b/petrichor.css @@ -45,6 +45,7 @@ body,html { display: inline-block; margin: 0px 0px 0px -50%; + padding: 0px; } #power-confirm li -- cgit v1.1