diff --git a/TODO.md b/TODO.md
index b408e3b..b055503 100644
--- a/TODO.md
+++ b/TODO.md
@@ -16,6 +16,10 @@
- Change io stuff
- Find name for styled interactive elements
- Find name for io module with nested class names
+- Change demo module
+ - Keep placeholder and demo stuff
+ - Move other things
+ - Prevent styles to be global
# Content
@@ -132,6 +136,4 @@
- [ ] noscript
- [ ] template
- [ ] slot
- - [ ] canvas
-- *Clock*
- - Add overlays to better distinguish day, week and year
\ No newline at end of file
+ - [ ] canvas
\ No newline at end of file
diff --git a/source/screens/demo/examples/clock.liquid b/source/screens/demo/examples/clock.liquid
index 7dc6998..a4bd20d 100644
--- a/source/screens/demo/examples/clock.liquid
+++ b/source/screens/demo/examples/clock.liquid
@@ -7,81 +7,162 @@ tags:
{% layout 'hippie/simple.liquid' %}
{% block body %}
+
+
+
+
-
-
-
-
+
+
+
+
{% endblock %}
{% block script %}
{% endblock %}
\ No newline at end of file
diff --git a/source/style/modules/_clock.scss b/source/style/modules/_clock.scss
index fe361b7..4caa66e 100644
--- a/source/style/modules/_clock.scss
+++ b/source/style/modules/_clock.scss
@@ -14,10 +14,23 @@
.body_clock {
main {
- @extend .sec_main_center;
display: flex;
flex-flow: column nowrap;
justify-content: center;
+ align-items: center;
+ height: 100vh;
+ width: 100%;
+ overflow: hidden;
+ }
+
+ .wrap {
+ position: relative;
+ }
+
+ canvas {
+ position: absolute;
+ top: 0;
+ left: 0;
}
p {
diff --git a/source/style/modules/demo/_demo_module.scss b/source/style/modules/demo/_demo_module.scss
index f7ab191..679de47 100644
--- a/source/style/modules/demo/_demo_module.scss
+++ b/source/style/modules/demo/_demo_module.scss
@@ -270,21 +270,21 @@
padding-left: hippie.$space_double;
}
-// Index
-// -----------------------------------------------------------------------------
-.wrap {
- display: flex;
- // height: 100%;
- align-items: center;
- justify-content: center;
-}
-
-.hello {
- flex: 0 1 auto;
- width: 80%;
-
- ul {
- padding: 1em 5em;
- background-color: hippie.$color_darker;
+#demo {
+ .wrap {
+ display: flex;
+ // height: 100%;
+ align-items: center;
+ justify-content: center;
}
-}
+
+ .hello {
+ flex: 0 1 auto;
+ width: 80%;
+
+ ul {
+ padding: 1em 5em;
+ background-color: hippie.$color_darker;
+ }
+ }
+}
\ No newline at end of file