mirror of
https://github.com/vinta/awesome-python.git
synced 2026-10-02 08:23:10 +08:00
style: give inline code in intros a chip appearance
Inline code in category intros and guides inherited the body font with no background, so identifiers like INSTALLED_APPS read as ordinary words. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -535,7 +535,12 @@ kbd {
|
||||
|
||||
.category-intro code,
|
||||
.guide-body code {
|
||||
font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
|
||||
font-size: 0.9em;
|
||||
padding: 0.08rem 0.4rem;
|
||||
border-radius: 0.4rem;
|
||||
background: var(--hero-line);
|
||||
color: var(--hero-text);
|
||||
}
|
||||
|
||||
.jump-links {
|
||||
|
||||
Reference in New Issue
Block a user