numerous improvements and fixes

This commit is contained in:
Ross
2020-12-26 20:45:26 +00:00
parent 33077cbdd6
commit d47462be98
8 changed files with 34 additions and 41 deletions
+15
View File
@@ -23,14 +23,29 @@ a, a:link {
color: green;
}
.answer-list .correct::after{
content: " [Score = 2]";
font-size: small;
}
.answer-list .half-correct {
color: yellow;
}
.answer-list .half-correct::after{
content: " [Score = 1]";
font-size: small;
}
.answer-list .incorrect {
color: red;
}
.answer-list .incorrect::after{
content: " [Score = 0]";
font-size: small;
}
.answer-list .not-marked {
color: lightblue;
}
+1 -1
View File
@@ -8,7 +8,7 @@ var marked_answers = {
$(document).ready(function () {
$(".answer-list li").each(function (index, element) {
$(element).append($("<span class='google-link' title='search in google'><a href='https://www.google.com/search?q="+$(element).text()+"' target='_blank'>G</a></span>"));
$(element).append($("<span class='google-link' title='search for answer with google'><a href='https://www.google.com/search?q="+$(element).text()+"' target='_blank'>G</a></span>"));
});
$(".answer-list span.answer").each(function (index, element) {