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;
}
.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 */
details > summary {
cursor: pointer;
@ -434,4 +444,4 @@ dl.footnote > dd {
background: transparent;
color: inherit;
margin-top: 0;
}
}

File diff suppressed because it is too large Load Diff