diff --git a/index.php b/index.php
index ac69c23..28e3a8a 100644
--- a/index.php
+++ b/index.php
@@ -73,7 +73,7 @@ $config_data = json_decode($raw_json_config, false);
@@ -102,6 +102,13 @@ $config_data = json_decode($raw_json_config, false);
}
}
previousTextLength = text.length;
+
+ // color
+ var spans = document.querySelector(".sentences").getElementsByTagName("span");
+ // we expect this to be from the user who's turn it is now (3 users)
+ var histurnspan = spans[spans.length - 3];
+ //console.log(histurnspan.getAttribute("style"));
+ document.getElementById("wordinput").setAttribute("style", histurnspan.getAttribute("style"));
});
});
}
diff --git a/style.css b/style.css
index 93b0b2b..1e81c39 100644
--- a/style.css
+++ b/style.css
@@ -19,6 +19,11 @@ a {
color: black;
}
+ #wordinput {
+ color: black;
+ background-color: white;
+}
+
table {
font-size: inherit;
}