mirror of
https://github.com/kognise/water.css.git
synced 2025-08-08 14:16:58 +02:00
Improve font stacks
This commit is contained in:
5
.changeset/rude-penguins-lie.md
Normal file
5
.changeset/rude-penguins-lie.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"water.css": minor
|
||||
---
|
||||
|
||||
Change font stacks for better compatibility and appearance
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user