mirror of
https://github.com/kognise/water.css.git
synced 2026-01-22 04:57:04 +01:00
Merge pull request #265 from Xenonym/enhancement/add-monospace-font-stack
Add monospace system font stack
This commit is contained in:
commit
845426d0cb
2 changed files with 13 additions and 1 deletions
5
.changeset/friendly-meals-cheat.md
Normal file
5
.changeset/friendly-meals-cheat.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"water.css": minor
|
||||
---
|
||||
|
||||
Add monospace system font stack
|
||||
|
|
@ -8,6 +8,14 @@ time {
|
|||
font-size: 1em;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
samp,
|
||||
kbd,
|
||||
var {
|
||||
font-family: ui-monospace, 'SFMono-Regular', 'SF Mono', 'Menlo', 'Consolas', 'Liberation Mono', monospace;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
padding: 10px;
|
||||
display: block;
|
||||
|
|
@ -17,7 +25,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