PEP 8: Add green and red sidbar for good and bad examples (#3567)

This commit is contained in:
Hugo van Kemenade 2023-12-09 18:19:37 +02:00 committed by GitHub
parent 0e298a1903
commit d341072725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 570 additions and 391 deletions

View File

@ -148,6 +148,16 @@ pre {
white-space: pre; white-space: pre;
} }
.good pre {
border-left: 3px solid rgba(74, 182, 93, 1);
}
.bad pre {
border-left: 3px solid rgb(244, 76, 78);
}
.maybe pre {
border-left: 3px solid rgb(244, 227, 76);
}
/* Contents rules */ /* Contents rules */
details > summary { details > summary {
cursor: pointer; cursor: pointer;

File diff suppressed because it is too large Load Diff