Merge pull request #44 from shibumi/font-display-auto-additions
added additional font-display configuration
This commit is contained in:
commit
6b34d51cfa
|
@ -3,6 +3,7 @@
|
|||
align-items: center;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
font-display: auto;
|
||||
font-family: monospace, monospace;
|
||||
|
||||
img {
|
||||
|
|
|
@ -15,6 +15,7 @@ body {
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Inter UI', -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif;
|
||||
font-display: auto;
|
||||
font-size: 1rem;
|
||||
line-height: 1.54;
|
||||
background-color: $light-background;
|
||||
|
@ -140,6 +141,7 @@ figure {
|
|||
|
||||
code {
|
||||
font-family: Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;
|
||||
font-display: auto;
|
||||
font-feature-settings: normal;
|
||||
background: $light-background-secondary;
|
||||
padding: 1px 6px;
|
||||
|
@ -190,6 +192,7 @@ blockquote {
|
|||
&:before {
|
||||
content: '”';
|
||||
font-family: Georgia, serif;
|
||||
font-display: auto;
|
||||
font-size: 3.875rem;
|
||||
position: absolute;
|
||||
left: -40px;
|
||||
|
|
|
@ -78,6 +78,7 @@ hr {
|
|||
|
||||
pre {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-display: auto;
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
|
@ -121,6 +122,7 @@ code,
|
|||
kbd,
|
||||
samp {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-display: auto;
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
|
@ -178,6 +180,7 @@ optgroup,
|
|||
select,
|
||||
textarea {
|
||||
font-family: inherit; /* 1 */
|
||||
font-display: auto;
|
||||
font-size: 100%; /* 1 */
|
||||
line-height: 1.15; /* 1 */
|
||||
margin: 0; /* 2 */
|
||||
|
|
|
@ -11,6 +11,7 @@ pre[class*="language-"] {
|
|||
color: #ccc;
|
||||
background: none;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
font-display: auto;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
|
|
Loading…
Reference in New Issue