Make the statblock blue for passed simplification tests

This commit is contained in:
Morgan Houppin committed 2023-06-12 22:30:12 +02:00
1 parent a9c532f873
commit 17a7aa7b70
2 files changed
+9 -3

No files matched your search

+6 -2
View File
@@ -263,12 +263,16 @@ body, html, main{
background-color: #76D576;
}
#content .statblock-blue {
background-color: #60F0FF;
}
#content .statblock-yellow {
background-color: #EFF891
background-color: #EFF891;
}
#content .statblock-red {
background-color: #FA9696
background-color: #FA9696;
}
#content .redlink {
+3 -1
View File
@@ -129,7 +129,9 @@ def longStatBlock(test):
def testResultColour(test):
if test.passed: return 'green'
if test.passed:
if test.elolower + test.eloupper < 0: return 'blue'
return 'green'
if test.failed:
if test.wins >= test.losses: return 'yellow'
return 'red'