diff --git a/source/code/hippie/app.js b/source/code/hippie/app.js index 89af792..60eeeef 100644 --- a/source/code/hippie/app.js +++ b/source/code/hippie/app.js @@ -657,10 +657,6 @@ class RandomPixelPlaceholder { } } -function sample(array) { - return array[Math.floor(Math.random() * array.length)]; -} - // CONCEPTS // NOTE: Benutzt private Zuweisungen diff --git a/source/style/hippie-style b/source/style/hippie-style index a66010a..80a0dee 160000 --- a/source/style/hippie-style +++ b/source/style/hippie-style @@ -1 +1 @@ -Subproject commit a66010a9ed535ad8ca5bbb7faed222861fc40ad4 +Subproject commit 80a0deedd5ec1858c2f9f201412da282462c3a99 diff --git a/source/style/modules/game/_tfw.scss b/source/style/modules/game/_tfw.scss index 81f9312..4960713 100644 --- a/source/style/modules/game/_tfw.scss +++ b/source/style/modules/game/_tfw.scss @@ -30,8 +30,7 @@ font-weight: bold; } - .subtle, - hgroup p { + .subtle { @extend .txt_smaller; color: hippie.$color_darkest; @@ -46,13 +45,10 @@ position: relative; overflow: hidden; - h2, span { - color: white; - } - *:not(canvas, img) { z-index: map.get(hippie.$z-indexes, "content-bottom"); position: relative; + color: white; } canvas, img { @@ -90,23 +86,11 @@ gap: hippie.$space_double; min-height: 0; - nav { - flex: 1; - display: flex; - flex-flow: column nowrap; - gap: hippie.$space_basic; - min-height: 0; - - input:not([type="checkbox"], [type="range"]) { - @extend .input_io; - } - - select { - @extend .io_select; - } + & > div:last-child { + flex: 2; } - & > div { + & > div:nth-child(2) { flex: 4; display: flex; flex-flow: column nowrap; @@ -124,15 +108,19 @@ } } - aside { - flex: 2; + nav { + flex: 1; + display: flex; + flex-flow: column nowrap; + gap: hippie.$space_basic; + min-height: 0; - .background { - border-bottom: 1px solid hippie.basic_color(echo); + input:not([type="checkbox"], [type="range"]) { + @extend .input_io; } - & > div { - display: none; + select { + @extend .io_select; } } @@ -146,6 +134,7 @@ } td { + height: 4em; vertical-align: top; span { @@ -154,24 +143,12 @@ color: white; } - &.subtle { + &:last-child { text-align: center; vertical-align: middle; } } - &#questSelection { - display: none; - } - - &[data-type="faction"] td { - height: 6em; - } - - &[data-type="quest"] td { - height: 4em; - } - .l { width: 30%; } @@ -180,11 +157,7 @@ width: 50%; } - .g { - width: 40%; - } - - .t, .s, .c, .f { + .t, .s { width: 20%; } } @@ -200,6 +173,10 @@ } } + .quest { + opacity: 0; + } + footer *:not(button[data-action="back"]) { display: none; } diff --git a/source/view/demo/art/squares2.liquid b/source/view/demo/art/squares2.liquid deleted file mode 100644 index 1383fad..0000000 --- a/source/view/demo/art/squares2.liquid +++ /dev/null @@ -1,178 +0,0 @@ ---- -title: Squares² -tags: -- demoArt ---- -{% layout 'hippie/simple.liquid' %} - -{% block style %} - -{% endblock %} - -{% block body %}{% endblock %} - -{% block script %} - -{% endblock %} \ No newline at end of file diff --git a/source/view/demo/basics.liquid b/source/view/demo/basics.liquid index e32b6cc..d607592 100644 --- a/source/view/demo/basics.liquid +++ b/source/view/demo/basics.liquid @@ -561,7 +561,7 @@ order: 2

Änderungen

Werden Texte geändert, können solche Änderungen sichtbar gemacht werden. Somit können sie besser nachvollzogen werden.
Zum Beispiel eine Ergänzung von Inhalt.

-