diff --git a/gesture/static/style.css b/gesture/static/style.css index 17c531c..722a2d3 100644 --- a/gesture/static/style.css +++ b/gesture/static/style.css @@ -9,7 +9,6 @@ body{ font-family: monospace; background-color: var(--color1); color: var(--color2); - font-size: 1.5rem; margin: 2rem auto; max-width: 60rem; padding: 1rem; @@ -62,10 +61,15 @@ textarea{ } .two-col{ - max-width: calc(50% - 4rem); float: left; padding-right: 2rem; margin: 1rem 0; } -p{font-size: 1rem;} +@media screen and (min-width: 768px){ + .two-col{max-width: calc(50% - 4rem);} + p{font-size: 1rem;} + body{font-size: 1.5rem;} +@media screen and (max-width: 767px){ + body{font-size: 3rem;} +} diff --git a/gesture/templates/template-index.html b/gesture/templates/template-index.html index c7ddf13..a99051c 100644 --- a/gesture/templates/template-index.html +++ b/gesture/templates/template-index.html @@ -1,12 +1,13 @@ +

gesture glossary ✌️

-

This is the gesture glossary. Click a word to the right to see the gestures related to it.

-

The aim is to see if a gesture glossary works and how it will work best. Also to see what kind of different interpretations there will be on gestures of our memory. To test the gesture glossary idea, and see what different meanings appear or already exist in the current vocabulary. Putting next to each other different agreements on linguistic and body units, testing what makes sense. Investigating and playing with communicational channel in between us, how a body language is documented, how it expands, how it is capable of creating or enhancing identities. To be an xpub means to speak/perform the xpub language?

+

This is the gesture glossary. Click a word to see the gestures related to it.

+

The aim is to see if a gesture glossary works and how it will work best. Also to see what kind of different interpretations there will be on gestures of our memory. To test the gesture glossary idea, and see what different meanings appear or already exist in the current vocabulary. Putting next to each other different agreements on linguistic and body units, testing what makes sense. Investigating and playing with communicational channels in between us, how a body language is documented, how it expands, how it is capable of creating or enhancing identities. To be an xpub means to speak/perform the xpub language?

{% for word in text @@ -14,4 +15,4 @@ endfor %}
- \ No newline at end of file + diff --git a/gesture/templates/template-word.html b/gesture/templates/template-word.html index 340b47a..372d752 100644 --- a/gesture/templates/template-word.html +++ b/gesture/templates/template-word.html @@ -1,9 +1,10 @@ + -

{{word}} x

+

{{word}} x

{% for file in wordmedia %}
@@ -15,4 +16,4 @@
{% endfor %} - \ No newline at end of file + diff --git a/week5/.env b/week5/.env index e294ee3..0d2c35f 100644 --- a/week5/.env +++ b/week5/.env @@ -1,2 +1,2 @@ -OVERLAP_APPLICATION_ROOT=/overlap +OVERLAP_APPLICATION_ROOT=/breadcube/overlap OVERLAP_PORTNUMBER=5000 diff --git a/week5/app.py b/week5/app.py index 403a844..8a35280 100644 --- a/week5/app.py +++ b/week5/app.py @@ -63,7 +63,7 @@ def upload_file(): # print(f"del { UPLOAD_FOLDER + file.filename }") # os.system(f"del { UPLOAD_FOLDER + file.filename }") - return redirect("/") + return redirect("/breadcube/overlap/") # f = request.files['the_file'] # f.save('/var/www/uploads/uploaded_file.txt') diff --git a/week5/templates/zoomreplace.html b/week5/templates/zoomreplace.html index 972ff5d..cea01ca 100644 --- a/week5/templates/zoomreplace.html +++ b/week5/templates/zoomreplace.html @@ -1,12 +1,24 @@ + {% for image in images %} - + {% endfor %}
- +