experiment for narrow screens: variable tab width / proportional code font
okay, so imagine this: you can change the tab size to something smaller on narrow screens...! isn't that hella cool?
This commit is contained in:
parent
0ae5842740
commit
4967deb080
3 changed files with 179 additions and 132 deletions
|
@ -175,12 +175,17 @@ h4 {
|
|||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
code {
|
||||
--recursive-mono: 0.5;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
pre code,
|
||||
kbd,
|
||||
th-literate-program {
|
||||
--recursive-mono: 1;
|
||||
--recursive-wght: 450;
|
||||
tab-size: 4;
|
||||
}
|
||||
|
||||
strong code {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue