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:
parent
efc2f53954
commit
ff1744cbbc
5 changed files with 11 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue