mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 18:43:41 -05:00
web/css: highlight inline code
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
parent
74e97c5c8c
commit
36cddbce4e
2 changed files with 10 additions and 0 deletions
|
@ -11,6 +11,8 @@
|
|||
--link-text-color: #0467dd;
|
||||
--visited-link-text-color: var(--link-text-color);
|
||||
|
||||
--code-background-color: rgba(0, 0, 0, 0.2);
|
||||
|
||||
--primary-color: #00c853;
|
||||
--primary-color-dark: #00b24a;
|
||||
--error-color: red;
|
||||
|
@ -73,6 +75,8 @@
|
|||
--semisecondary-text-color: #bbb;
|
||||
--link-text-color: #4187eb;
|
||||
|
||||
--code-background-color: rgba(255, 255, 255, 0.1);
|
||||
|
||||
--primary-color: #00b24a;
|
||||
--primary-color-dark: #00c853;
|
||||
--error-color: red;
|
||||
|
|
|
@ -142,6 +142,12 @@ div.html-body {
|
|||
}
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: var(--code-background-color);
|
||||
border-radius: 4px;
|
||||
padding: 2px 0.5em;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 0 0 .5rem;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue