mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
added additional font-display configuration
unfortunately wasn't my last patch enough. So here are all missing font-display configurations Signed-off-by: Christian Rebischke <chris@nullday.de>
This commit is contained in:
parent
48094d707b
commit
3ed9b7ea7d
|
@ -3,6 +3,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
font-display: auto;
|
||||||
font-family: monospace, monospace;
|
font-family: monospace, monospace;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|
|
@ -15,6 +15,7 @@ body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-family: 'Inter UI', -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif;
|
font-family: 'Inter UI', -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif;
|
||||||
|
font-display: auto;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1.54;
|
line-height: 1.54;
|
||||||
background-color: $light-background;
|
background-color: $light-background;
|
||||||
|
@ -140,6 +141,7 @@ figure {
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;
|
font-family: Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;
|
||||||
|
font-display: auto;
|
||||||
font-feature-settings: normal;
|
font-feature-settings: normal;
|
||||||
background: $light-background-secondary;
|
background: $light-background-secondary;
|
||||||
padding: 1px 6px;
|
padding: 1px 6px;
|
||||||
|
@ -190,6 +192,7 @@ blockquote {
|
||||||
&:before {
|
&:before {
|
||||||
content: '”';
|
content: '”';
|
||||||
font-family: Georgia, serif;
|
font-family: Georgia, serif;
|
||||||
|
font-display: auto;
|
||||||
font-size: 3.875rem;
|
font-size: 3.875rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -40px;
|
left: -40px;
|
||||||
|
|
|
@ -78,6 +78,7 @@ hr {
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
font-family: monospace, monospace; /* 1 */
|
font-family: monospace, monospace; /* 1 */
|
||||||
|
font-display: auto;
|
||||||
font-size: 1em; /* 2 */
|
font-size: 1em; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -121,6 +122,7 @@ code,
|
||||||
kbd,
|
kbd,
|
||||||
samp {
|
samp {
|
||||||
font-family: monospace, monospace; /* 1 */
|
font-family: monospace, monospace; /* 1 */
|
||||||
|
font-display: auto;
|
||||||
font-size: 1em; /* 2 */
|
font-size: 1em; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -178,6 +180,7 @@ optgroup,
|
||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
font-family: inherit; /* 1 */
|
font-family: inherit; /* 1 */
|
||||||
|
font-display: auto;
|
||||||
font-size: 100%; /* 1 */
|
font-size: 100%; /* 1 */
|
||||||
line-height: 1.15; /* 1 */
|
line-height: 1.15; /* 1 */
|
||||||
margin: 0; /* 2 */
|
margin: 0; /* 2 */
|
||||||
|
|
|
@ -11,6 +11,7 @@ pre[class*="language-"] {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
background: none;
|
background: none;
|
||||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
font-display: auto;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
word-spacing: normal;
|
word-spacing: normal;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user