mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-02 13:33:40 +01:00
hopefully improve font rendering
This commit is contained in:
parent
82b490c524
commit
09b4de08e3
BIN
src/styles/font/Manrope.ttf
Normal file
BIN
src/styles/font/Manrope.ttf
Normal file
Binary file not shown.
@ -13,6 +13,9 @@ html,
|
|||||||
body {
|
body {
|
||||||
font-family: Manrope, "Manrope-Fallback", Arial, sans-serif;
|
font-family: Manrope, "Manrope-Fallback", Arial, sans-serif;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
#page_wrapper {
|
#page_wrapper {
|
||||||
|
@ -13,49 +13,16 @@
|
|||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Manrope";
|
font-family: "Manrope";
|
||||||
font-weight: 200;
|
font-weight: 200 800;
|
||||||
src: local("Manrope"), url("./font/Manrope.woff2") format("woff2");
|
font-style: normal;
|
||||||
|
src: local("Manrope"), url("./font/Manrope.woff2") format("woff2"), url("./font/Manrope.ttf") format("ttf");
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Manrope";
|
font-family: "Manrope";
|
||||||
font-weight: 300;
|
font-weight: 200 800;
|
||||||
src: local("Manrope"), url("./font/Manrope.woff2") format("woff2");
|
fint-style: italic;
|
||||||
font-display: swap;
|
src: local("Manrope"), url("./font/Manrope.woff2") format("woff2"), url("./font/Manrope.ttf") format("ttf");
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Manrope";
|
|
||||||
font-weight: 400;
|
|
||||||
src: local("Manrope"), url("./font/Manrope.woff2") format("woff2");
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Manrope";
|
|
||||||
font-weight: 500;
|
|
||||||
src: local("Manrope"), url("./font/Manrope.woff2") format("woff2");
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Manrope";
|
|
||||||
font-weight: 600;
|
|
||||||
src: local("Manrope"), url("./font/Manrope.woff2") format("woff2");
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Manrope";
|
|
||||||
font-weight: 700;
|
|
||||||
src: local("Manrope"), url("./font/Manrope.woff2") format("woff2");
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "Manrope";
|
|
||||||
font-weight: 800;
|
|
||||||
src: local("Manrope"), url("./font/Manrope.woff2") format("woff2");
|
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user