mirror of
https://github.com/kognise/water.css.git
synced 2026-01-22 04:57:04 +01:00
Improve font stacks
This commit is contained in:
parent
6143b0d4ed
commit
a38c40933b
3 changed files with 13 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ html {
|
|||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
font-family: system-ui, -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
|
||||
line-height: 1.4;
|
||||
max-width: 800px;
|
||||
margin: 20px auto;
|
||||
|
|
|
|||
|
|
@ -8,6 +8,13 @@ time {
|
|||
font-size: 1em;
|
||||
}
|
||||
|
||||
code,
|
||||
samp,
|
||||
pre,
|
||||
var {
|
||||
font-family: ui-monospace, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
padding: 10px;
|
||||
display: block;
|
||||
|
|
@ -17,7 +24,6 @@ pre > code {
|
|||
var {
|
||||
color: var(--variable);
|
||||
font-style: normal;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
kbd {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue