summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-03-23 20:09:53 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-03-23 20:09:53 (GMT)
commite7785fc301012b0dff8d250281770e0a73ea85b8 (patch)
tree125bf62128a45f2076faa5a25dd6228a27e2abe3 /www
parent9e001bc7110ade584800e24511403704832fb728 (diff)
copied clock styling from rhwebimport
Diffstat (limited to 'www')
-rw-r--r--www/styles/main.css32
1 files changed, 32 insertions, 0 deletions
diff --git a/www/styles/main.css b/www/styles/main.css
index d0bc42f..1fd9842 100644
--- a/www/styles/main.css
+++ b/www/styles/main.css
@@ -29,6 +29,38 @@ body {
margin-right: auto;
}
+#clock {
+ display: block;
+ width: 100%;
+ height: 100%;
+ vertical-align: middle;
+ text-align: center;
+ margin: 0;
+}
+
+#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;
+}
+
.label {
display: inline;
padding: .2em .6em .3em;