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