word/quiz: automatic subpage setup including specific css
[sheet.git] / word / memory.css
similarity index 80%
rename from word/memory.plp
rename to word/memory.css
index 65184d83131dc09e00a178c17b22649e6b576672..314e036d65114e778b2b4963455d7caad3922de3 100644 (file)
@@ -1,13 +1,3 @@
-<(../common.inc.plp)><:
-
-our $wordlistbase;
-
-Html({
-       raw => <<'EOT',
-<script src="/word/put.min.js"></script>
-<script src="/word/quiz.js"></script>
-<script src="/word/memory.js"></script>
-<style>
 /* cards */
 #quiz {
        display: grid;
@@ -70,8 +60,3 @@ figure.good {
        66% { filter: hue-rotate(360deg); transform: rotate(360deg) }
        100% { filter: hue-rotate(360deg); transform: rotate(360deg) }
 }
-</style>
-EOT
-});
-say '<h1>memory</h1><p id="quiz"></p>';
-say "<script>new WordMemory('/$wordlistbase.json')</script>";