diff --git a/source/screens/demo/examples/clock.liquid b/source/screens/demo/examples/clock.liquid index 7dc6998..9501af5 100644 --- a/source/screens/demo/examples/clock.liquid +++ b/source/screens/demo/examples/clock.liquid @@ -8,7 +8,10 @@ tags: {% block body %}
- +
+ + +

@@ -17,71 +20,138 @@ tags: {% 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..840d70e 100644 --- a/source/style/modules/_clock.scss +++ b/source/style/modules/_clock.scss @@ -17,7 +17,19 @@ @extend .sec_main_center; display: flex; flex-flow: column nowrap; - justify-content: center; + } + + .wrap { + position: relative; + width: 512px; + height: 512px; + margin: 0 auto; + } + + 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