mirror of
https://github.com/mfocko/blog.git
synced 2024-12-22 11:21:27 +01:00
css: move Cascadia weights and shift further
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
d14026d3d8
commit
5210ca493e
2 changed files with 18 additions and 9 deletions
|
@ -8,3 +8,21 @@
|
|||
font-style: italic;
|
||||
src: url("/fonts/CascadiaCodePLItalic.woff2") format("woff2");
|
||||
}
|
||||
|
||||
[data-theme='light'] pre,
|
||||
[data-theme='light'] code,
|
||||
[data-theme='light'] kbd,
|
||||
[data-theme='light'] var,
|
||||
[data-theme='light'] tt,
|
||||
[data-theme='light'] text {
|
||||
font-weight: 350;
|
||||
}
|
||||
|
||||
[data-theme='dark'] pre,
|
||||
[data-theme='dark'] code,
|
||||
[data-theme='dark'] kbd,
|
||||
[data-theme='dark'] var,
|
||||
[data-theme='dark'] tt,
|
||||
[data-theme='dark'] text {
|
||||
font-weight: 300;
|
||||
}
|
||||
|
|
|
@ -35,15 +35,6 @@ text {
|
|||
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,
|
||||
[data-theme='dark'] text {
|
||||
font-weight: 350;
|
||||
}
|
||||
|
||||
[data-theme='light'] img[src$='#gh-dark-mode-only'],
|
||||
[data-theme='dark'] img[src$='#gh-light-mode-only'],
|
||||
[data-theme="light"] .dark-mode-only,
|
||||
|
|
Loading…
Reference in a new issue