diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-03-15 22:56:31 +1300 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-03-15 22:56:31 +1300 |
commit | e6f634b9a8d6b12b2d6ec97e17ca218a0d9e43aa (patch) | |
tree | b7e3a3b383741a16d225aafbd45fe710b95e6858 | |
parent | b503c446cfcc7f03e44665b864cd43e75074f30d (diff) | |
parent | 0cd53d21e513682bcd1aba4ad22fce86455e1d32 (diff) | |
download | petrichor-e6f634b9a8d6b12b2d6ec97e17ca218a0d9e43aa.tar.xz |
Merge branch 'power-message' into develop
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | petrichor.css | 13 |
2 files changed, 16 insertions, 1 deletions
@@ -20,7 +20,9 @@ <div id="message-container"> <span id="message-label"></span> </div> - <a id="mask" href="#" onclick="hide_element('power-confirm');hide_element('mask');"></a> + <a id="mask" href="#" onclick="hide_element('power-confirm');hide_element('mask');"> + <h1>Power Off?</h1> + </a> <div id="power-confirm" onclick="document.getElementById('mask').click();"> <ul> <li> diff --git a/petrichor.css b/petrichor.css index 31e281a..025803b 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 |