Code Tag CSS
On https://zren.github.io/kde/docs/widget/ I emphasized code tags.
There's currently a bug where code tags are formatted in headings (h3 code
).
See https://develop.kde.org/docs/plasma/widget/setup/#examples-of-mainqml
I tried using the same colors as my old site. Screenshot:
I might play around with the colors though, as the a code
usecase when wrapping a code tag in a link has low contrast.
.td-content li > code,
.td-content p code,
.td-content table code,
.td-content h1 code,
.td-content h2 code,
.td-content h3 code,
.td-content h4 code,
.td-content h5 code,
.td-content h6 code {
border: 1px solid #e8e8e8;
border-radius: 3px;
background-color: #eef;
padding: .1em .2em;
margin: .1em .2em;
color: inherit;
}