forked from mirrors/hugo-theme-terminal
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
6802c6eebf | |||
a283ea88b5 |
@ -4,7 +4,7 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: url("../fonts/FiraCode-Regular.woff") format("woff");
|
src: url("../fonts/FiraCode-Regular.woff") format("woff");
|
||||||
font-feature-settings: "liga", "tnum", "zero", "ss01", "locl";
|
font-feature-settings: "liga", "tnum", "ss01", "locl";
|
||||||
font-variant-ligatures: contextual;
|
font-variant-ligatures: contextual;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -14,6 +14,6 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
src: url("../fonts/FiraCode-Bold.woff") format("woff");
|
src: url("../fonts/FiraCode-Bold.woff") format("woff");
|
||||||
font-feature-settings: "liga", "tnum", "zero", "ss01", "locl";
|
font-feature-settings: "liga", "tnum", "ss01", "locl";
|
||||||
font-variant-ligatures: contextual;
|
font-variant-ligatures: contextual;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user