mirror of
https://github.com/mfocko/blog.git
synced 2024-11-12 17:20:30 +01:00
feat(css): adjust the weight in dark scheme
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
7ec27821cc
commit
a58f084962
1 changed files with 8 additions and 0 deletions
|
@ -30,6 +30,14 @@ pre, code, kbd, var, tt {
|
|||
font-family: 'Iosevka', 'Cascadia Code PL', 'JetBrains Mono', 'Fira Code', 'Hack', monospace;
|
||||
}
|
||||
|
||||
[data-theme='dark'] pre,
|
||||
[data-theme='dark'] code,
|
||||
[data-theme='dark'] kbd,
|
||||
[data-theme='dark'] var,
|
||||
[data-theme='dark'] tt {
|
||||
font-weight: 350;
|
||||
}
|
||||
|
||||
[data-theme='light'] img[src$='#gh-dark-mode-only'],
|
||||
[data-theme='dark'] img[src$='#gh-light-mode-only'] {
|
||||
display: none;
|
||||
|
|
Loading…
Reference in a new issue