Quien necesita una fuente al final

This commit is contained in:
Daniel Cortes
2020-11-25 01:42:09 -03:00
parent 2e752be6f3
commit 2f081a74f4
2 changed files with 4 additions and 34 deletions

View File

@@ -1,30 +0,0 @@
/******************************************************************************
=> FONTS
*******************************************************************************/
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400;
src: local('Source Code Pro'), url(https://static.danielcortes.xyz/fonts/SourceCodePro/SourceCodePro-Regular.woff2) format('woff2');
}
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 700;
src: local('Source Code Pro'), url(https://static.danielcortes.xyz/fonts/SourceCodePro/SourceCodePro-Bold.woff2) format('woff2');
}
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 400;
src: local('Work Sans'), url(https://static.danielcortes.xyz/fonts/WorkSans/WorkSans-Regular.woff2) format('woff2');
}
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 700;
src: local('Work Sans'), url(https://static.danielcortes.xyz/fonts/WorkSans/WorkSans-Bold.woff2) format('woff2');
}

View File

@@ -7,8 +7,8 @@
--light-color: hsl(10, 10%, 40%);
--primary-color: hsl(290, 86%, 43%);
--highlight-color: hsl(290, 57%, 30%);
--sans-font: "Work Sans";
--mono-font: "Source Code Pro";
--sans-font: "sans-serif";
--mono-font: "monospace";
}
html {
@@ -16,7 +16,7 @@ html {
background-color: var(--background-color);
font-family: var(--sans-font), "sans-serif";
font-family: var(--sans-font);
font-size: 14pt;
color: var(--foreground-color);
}
@@ -29,7 +29,7 @@ body {
}
code {
font-family: "Source Code Pro", "monospace";
font-family: var(--mono-font);
}
h1, h2 { margin: 0 0 .3em; }