mirror of
https://github.com/agresdominik/website.git
synced 2026-04-21 18:05:53 +00:00
Fixed inline code block formatting
This commit is contained in:
@@ -283,6 +283,15 @@ code {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
:not(pre) > code {
|
||||
background: var(--color-accent);
|
||||
color: var(--color-fg);
|
||||
padding: 0.15em 0.35em;
|
||||
border-radius: 0.2rem;
|
||||
font-size: 0.9em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.chroma .k { color: #ff79c6; } /* Keywords */
|
||||
.chroma .s { color: #f1fa8c; } /* Strings */
|
||||
.chroma .n { color: #f8f8f2; } /* Names */
|
||||
|
||||
Reference in New Issue
Block a user