More accurate timing; styling fixes
[jschessclock.git] / style.css
CommitLineData
72b294bb 1body {
2 transform-origin: 0 0;
3 overflow: hidden;
4 text-align: center;
5}
6
7.clock-container {
8 position: relative;
9}
10
11.flags {
12 width: 570px;
13 display: flex;
14 justify-content: space-between;
15 position: absolute;
16 top: 40%;
17 z-index: 9999;
18 left: 0;
19 right: 0;
20 margin-left: auto;
21 margin-right: auto;
22}
23
6f474901
AIL
24h1 {
25 width: 20ch;
26 text-align: center;
27 position: absolute;
28 top: 70%;
29 z-index: 9999;
30 left: 0;
31 right: 0;
32 margin-left: auto;
33 margin-right: auto;
34}
35
72b294bb 36.flags > div {
37 visibility: hidden;
38 animation: blinker 1s linear infinite;
39 font-size: 25pt;
40 font-family: "DejaVu Sans",FreeSerif,Code2000,"BabelStone Han","Lucida Sans";
41}
42
43@keyframes blinker {
44 50% { opacity: 0; }
45}
46
47.timers {
48 width: 650px;
49 display: flex;
50 justify-content: center;
51 align-items: center;
52 /*margin-bottom: 96pt;*/
53 position: absolute;
54 top: 50%;
55 z-index: 9999;
56 left: 0;
57 right: 0;
58 margin-left: auto;
59 margin-right: auto;
60}
61
62.timer {
63 margin-left: 48pt;
64 margin-right: 48pt;
65 font-size: 48pt;
66}
67
68.indicators {
69 width: 20pt;
70 font-size: 20pt;
71}
72
72b294bb 73.commands {
74 margin: 0 auto;
75 width: 650px;
76 display: flex;
77 justify-content: space-around;
78 position: absolute;
79 left: 0;
80 right: 0;
81 margin-left: auto;
82 margin-right:auto;
83 bottom: 5%;
84 z-index: 9999;
85}
86
87.cmd {
88 cursor: pointer;
89 background-color: #FFF;
90 padding: 5px;
91 border: 3px solid #800000;
92 border-radius: 5px;
93}