Skip to content

Commit

Permalink
fix a font related bug provided in d9eccf6
Browse files Browse the repository at this point in the history
  • Loading branch information
panr committed Oct 16, 2024
1 parent d9eccf6 commit a283ea8
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions assets/css/terminal.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
@import url("https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Code:wght@400;700&display=swap");

:root {
--background: #1a170f;
--foreground: #eceae5;
--accent: #eec35e;
--font-size: 1rem;
--line-height: 1.54rem;
--radius: 0px;
--radius: 0;
}

html {
box-sizing: border-box;
}

*,
*:before,
*:after {
*::before,
*::after {
box-sizing: inherit;
margin: 0;
padding: 0;
}
}

body {
margin: 0;
Expand All @@ -36,10 +34,10 @@ body {
letter-spacing: -0.02em;
background-color: var(--background);
color: var(--foreground);
text-rendering: optimizeLegibility;
text-rendering: optimizelegibility;
-webkit-font-smoothing: antialiased;
-webkit-overflow-scrolling: touch;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}

::placeholder {
Expand Down Expand Up @@ -256,7 +254,7 @@ kbd {
"Fira Code",
Monaco,
Consolas,
Ubuntu Mono,
"Ubuntu Mono",
monospace !important;
font-feature-settings: normal;
background: color-mix(in srgb, var(--foreground) 5%, transparent);
Expand Down Expand Up @@ -331,7 +329,7 @@ blockquote {
padding: 25px;
}

blockquote:before {
blockquote::before {
content: ">";
display: block;
position: absolute;
Expand Down

0 comments on commit a283ea8

Please sign in to comment.