PEP 8: Add green and red sidbar for good and bad examples (#3567)
This commit is contained in:
parent
0e298a1903
commit
d341072725
|
@ -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;
|
||||||
|
@ -434,4 +444,4 @@ dl.footnote > dd {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue