summaryrefslogtreecommitdiff
path: root/www/styles/clock.css
blob: 449b19a27626f711a841bb14edef3e77af12d6fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
 *  rhrdweb
 *
 *  Copyright (C) 2016 Christian Pointner <equinox@helsinki.at>
 *
 *  This file is part of rhrdweb.
 *
 *  rhrdweb is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  any later version.
 *
 *  rhrdweb is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with rhrdweb. If not, see <http://www.gnu.org/licenses/>.
 */

#clock {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  text-align: center;
  margin: 0;
}

#clock a {
  text-decoration: none;
}

#clock span {
  display:table;
  margin:0 auto;
}

#clock span.current-week {
  margin-top: 1em;
  padding: 0.3em 2em;
  font-size: 1.2em;
}

#clock span.clock-date {
  padding: 0.2em;
  font-weight: bold;
  font-size: 1.4em;
}

#clock span.clock-time {
  padding: 0.2em;
  font-weight: bold;
  font-size: 1.6em;
}