More accurate timing; styling fixes
[jschessclock.git] / style.css
index 5a8c6e6..1efc149 100644 (file)
--- a/style.css
+++ b/style.css
@@ -21,6 +21,18 @@ body {
   margin-right: auto;
 }
 
+h1 {
+  width: 20ch;
+  text-align: center;
+  position: absolute;
+  top: 70%;
+  z-index: 9999;
+  left: 0;
+  right: 0;
+  margin-left: auto;
+  margin-right: auto;
+}
+
 .flags > div {
   visibility: hidden;
   animation: blinker 1s linear infinite;
@@ -58,10 +70,6 @@ body {
   font-size: 20pt;
 }
 
-h1 {
-  text-align: center;
-}
-
 .commands {
   margin: 0 auto;
   width: 650px;