Skip to content

Commit

Permalink
feat: try out open sans font (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimadactyl authored Feb 25, 2025
1 parent a1ba9dd commit 3816289
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 60 deletions.
2 changes: 1 addition & 1 deletion assets/built/screen.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/screen.css.map

Large diffs are not rendered by default.

84 changes: 29 additions & 55 deletions assets/css/fonts.css
Original file line number Diff line number Diff line change
@@ -1,69 +1,43 @@
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 400;
src: local(""), url("../fonts/inter-v12-latin-regular.woff2") format("woff2"), url("../fonts/inter-v12-latin-regular.woff") format("woff");
}

@font-face {
font-family: Inter;
font-style: normal;
font-weight: 500;
src: local(""), url("../fonts/inter-v12-latin-500.woff2") format("woff2"), url("../fonts/inter-v12-latin-500.woff") format("woff");
}
/*
* The Typekit service used to deliver this font or fonts for use on websites
* is provided by Adobe and is subject to these Terms of Use
* http://www.adobe.com/products/eulas/tou_typekit. For font license
* information, see the list below.
*
* basic-sans:
* - http://typekit.com/eulas/00000000000000007735abd7
* - http://typekit.com/eulas/00000000000000007735abe8
* - http://typekit.com/eulas/00000000000000007735abed
* - http://typekit.com/eulas/00000000000000007735abf2
*
* © 2009-2025 Adobe Systems Incorporated. All Rights Reserved.
*/
/*{"last_published":"2025-02-25 15:35:25 UTC"}*/

@font-face {
font-family: Inter;
font-style: normal;
font-weight: 600;
src: local(""), url("../fonts/inter-v12-latin-600.woff2") format("woff2"), url("../fonts/inter-v12-latin-600.woff") format("woff");
}
@import url("https://p.typekit.net/p.css?s=1&k=tjw8nrh&ht=tk&f=35473.35474.35477.35478&a=3814629&app=typekit&e=css");

@font-face {
font-family: Inter;
font-style: normal;
font-weight: 700;
src: local(""), url("../fonts/inter-v12-latin-700.woff2") format("woff2"), url("../fonts/inter-v12-latin-700.woff") format("woff");
font-family:"basic-sans";
src:url("https://use.typekit.net/af/4bfb19/00000000000000007735abd7/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff2"),url("https://use.typekit.net/af/4bfb19/00000000000000007735abd7/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff"),url("https://use.typekit.net/af/4bfb19/00000000000000007735abd7/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("opentype");
font-display:auto;font-style:italic;font-weight:700;font-stretch:normal;
}

@font-face {
font-family: Lora;
font-style: normal;
font-weight: 400;
src: local(""), url("../fonts/lora-v25-latin-regular.woff2") format("woff2"), url("../fonts/lora-v25-latin-regular.woff") format("woff");
font-family:"basic-sans";
src:url("https://use.typekit.net/af/fa5d28/00000000000000007735abe8/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/fa5d28/00000000000000007735abe8/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/fa5d28/00000000000000007735abe8/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
}

@font-face {
font-family: Lora;
font-style: normal;
font-weight: 500;
src: local(""), url("../fonts/lora-v25-latin-500.woff2") format("woff2"), url("../fonts/lora-v25-latin-500.woff") format("woff");
font-family:"basic-sans";
src:url("https://use.typekit.net/af/49252d/00000000000000007735abed/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2"),url("https://use.typekit.net/af/49252d/00000000000000007735abed/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff"),url("https://use.typekit.net/af/49252d/00000000000000007735abed/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("opentype");
font-display:auto;font-style:italic;font-weight:400;font-stretch:normal;
}

@font-face {
font-family: Lora;
font-style: normal;
font-weight: 600;
src: local(""), url("../fonts/lora-v25-latin-600.woff2") format("woff2"), url("../fonts/lora-v25-latin-600.woff") format("woff");
font-family:"basic-sans";
src:url("https://use.typekit.net/af/721f9c/00000000000000007735abf2/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/721f9c/00000000000000007735abf2/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/721f9c/00000000000000007735abf2/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

@font-face {
font-family: Lora;
font-style: normal;
font-weight: 700;
src: local(""), url("../fonts/lora-v25-latin-700.woff2") format("woff2"), url("../fonts/lora-v25-latin-700.woff") format("woff");
}

@font-face {
font-family: Lora;
font-style: italic;
font-weight: 400;
src: local(""), url("../fonts/lora-v25-latin-italic.woff2") format("woff2"), url("../fonts/lora-v25-latin-italic.woff") format("woff");
}

@font-face {
font-family: Lora;
font-style: italic;
font-weight: 700;
src: local(""), url("../fonts/lora-v25-latin-700italic.woff2") format("woff2"), url("../fonts/lora-v25-latin-700italic.woff") format("woff");
}
.tk-basic-sans { font-family: "basic-sans",sans-serif; }
8 changes: 5 additions & 3 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@
@import "fonts.css";

:root {
--font-sans: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif; /* stylelint-disable-line value-keyword-case */
--font-serif: Lora, Georgia, Times, serif; /* stylelint-disable-line value-keyword-case */
--font-sans: "basic-sans",Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif; /* stylelint-disable-line value-keyword-case */
--font-serif: --var(font-sans); /* stylelint-disable-line value-keyword-case */
--head-nav-gap: 32px;
--color-gfsc-orange: #EA5B0D;
--color-darker-gray: #555443;
--color-menu-border: #D6B6A1;
--color-primary-text: var(--color-darker-gray);
--h1-size: 4.4rem;
--footer-spacing: 120px;
font-size: 66%;
}


@media (max-width: 767px) {
:root {
--footer-spacing: 64px;
Expand Down Expand Up @@ -851,7 +853,7 @@ body:not(.home-template) .gh-topic-grid .gh-card {

@media (min-width: 992px) {
.gh-head {
font-size: 1.4rem;
font-size: 1.6rem;
font-weight: 500;
}

Expand Down

0 comments on commit 3816289

Please sign in to comment.