fix a font related bug provided in d9eccf6
This commit is contained in:
parent
d9eccf6127
commit
a283ea88b5
1 changed files with 8 additions and 10 deletions
|
@ -1,12 +1,10 @@
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Code:wght@400;700&display=swap");
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--background: #1a170f;
|
--background: #1a170f;
|
||||||
--foreground: #eceae5;
|
--foreground: #eceae5;
|
||||||
--accent: #eec35e;
|
--accent: #eec35e;
|
||||||
--font-size: 1rem;
|
--font-size: 1rem;
|
||||||
--line-height: 1.54rem;
|
--line-height: 1.54rem;
|
||||||
--radius: 0px;
|
--radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
@ -14,12 +12,12 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
*,
|
*,
|
||||||
*:before,
|
*::before,
|
||||||
*:after {
|
*::after {
|
||||||
box-sizing: inherit;
|
box-sizing: inherit;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -36,10 +34,10 @@ body {
|
||||||
letter-spacing: -0.02em;
|
letter-spacing: -0.02em;
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizelegibility;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
-webkit-text-size-adjust: 100%;
|
text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
::placeholder {
|
::placeholder {
|
||||||
|
@ -256,7 +254,7 @@ kbd {
|
||||||
"Fira Code",
|
"Fira Code",
|
||||||
Monaco,
|
Monaco,
|
||||||
Consolas,
|
Consolas,
|
||||||
Ubuntu Mono,
|
"Ubuntu Mono",
|
||||||
monospace !important;
|
monospace !important;
|
||||||
font-feature-settings: normal;
|
font-feature-settings: normal;
|
||||||
background: color-mix(in srgb, var(--foreground) 5%, transparent);
|
background: color-mix(in srgb, var(--foreground) 5%, transparent);
|
||||||
|
@ -331,7 +329,7 @@ blockquote {
|
||||||
padding: 25px;
|
padding: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote:before {
|
blockquote::before {
|
||||||
content: ">";
|
content: ">";
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in a new issue