diff --git a/configuration.txt b/configuration.txt index a1e371b8..1583f407 100644 --- a/configuration.txt +++ b/configuration.txt @@ -89,6 +89,8 @@ web: messagettl: 5 - type: playermarkers showplayerfaces: true + - type: digitalclock + #- type: timeofdayclock defaultworld: world worlds: diff --git a/web/css/dynmap_style.css b/web/css/dynmap_style.css index 4e3c304c..96ddcef8 100644 --- a/web/css/dynmap_style.css +++ b/web/css/dynmap_style.css @@ -232,27 +232,31 @@ margin-left: 8px; } */ -.clock { - position: relative; - bottom: 16px; +.largeclock.digitalclock { + text-align: center; + font-size: 50px; + font-weight: bold; +} + +.digitalclock { text-align: center; } -.clock.night { +.digitalclock.night { /* background-image: url(../images/clock_night.png); */ color: #dff; } -.clock.day { +.digitalclock.day { /* background-image: url(../images/clock_day.png); */ color: #fd3; } -.clock.night, .clock.day { - -moz-transition: all 8s 8s linear; - -webkit-transition: all 8s 8s linear; - -o-transition: all 8s 8s linear; - transition: all 8s 8s linear; +.digitalclock.night, .digitalclock.day { + -moz-transition: color 8s 8s linear; + -webkit-transition: color 8s 8s linear; + -o-transition: color 8s 8s linear; + transition: color 8s 8s linear; } @@ -285,6 +289,11 @@ background-image: url(../images/moon.png); } +.timeofday.digitalclock { + position: relative; + bottom: 16px; +} + /******************* * map list-specific styling */ diff --git a/web/index.html b/web/index.html index 79bfad8b..a3933bfa 100644 --- a/web/index.html +++ b/web/index.html @@ -24,8 +24,6 @@ - -