1
0
Fork 0
forked from forgejo/forgejo

[PORT] gitea#30282: Markup color and font size fixes

1. Distinguish inline an block code with new CSS variable
`--color-markup-code-inline`
2. Various color tweaks, better contrast from background

(cherry picked from commit 662eb4b0852f9ce2c161e7fea5ac66bf912fc9f6)

---

- Revert the changes of #2874.
- Add more contrast to the inline block for light and dark theme.

(cherry picked from commit 662eb4b0852f9ce2c161e7fea5ac66bf912fc9f6)
This commit is contained in:
silverwind 2024-04-06 23:06:27 +02:00 committed by Gusted
parent efc2f53954
commit ff1744cbbc
No known key found for this signature in database
GPG key ID: FD821B732837125F
5 changed files with 11 additions and 7 deletions

View file

@ -438,7 +438,7 @@
margin: 0;
font-size: 85%;
white-space: break-spaces;
background-color: var(--color-markup-code-block);
background-color: var(--color-markup-code-inline);
border-radius: var(--border-radius);
}
@ -509,7 +509,7 @@
line-height: 10px;
color: var(--color-text-light);
vertical-align: middle;
background-color: var(--color-markup-code-block);
background-color: var(--color-markup-code-inline);
border: 1px solid var(--color-secondary);
border-radius: var(--border-radius);
box-shadow: inset 0 -1px 0 var(--color-secondary);