feat(style): improve font sizing and appearance of code
This commit is contained in:
parent
1833039090
commit
913685eae6
@ -63,6 +63,7 @@ body {
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
font-size: 1.05rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@ -281,7 +282,6 @@ pre {
|
|||||||
outline-color: var(--sumiInk2);
|
outline-color: var(--sumiInk2);
|
||||||
outline-width: 2.5px;
|
outline-width: 2.5px;
|
||||||
width: min(90vw, 800px);
|
width: min(90vw, 800px);
|
||||||
font-size: 0.85rem;
|
|
||||||
transition-duration: 0.25s;
|
transition-duration: 0.25s;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@ -300,10 +300,13 @@ code {
|
|||||||
padding: 2px;
|
padding: 2px;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
background-color: var(--sumiInk3);
|
background-color: var(--sumiInk3);
|
||||||
|
font-size: 0.9rem;
|
||||||
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre > code {
|
pre > code {
|
||||||
background-color: unset;
|
background-color: unset;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul,
|
ul,
|
||||||
|
Loading…
Reference in New Issue
Block a user