Skip to content

Commit 091c681

Browse files
author
Matthieu Lemerre
committed
Add latin and set in bold
1 parent 28ba3ea commit 091c681

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

_sass/color_schemes/myscheme.scss

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ $feedback-color: rgba(gold, 0.1);
2323

2424
.side-bar {
2525
font-family: 'Fondamento', serif;
26+
// An alternative.
27+
// font-family: 'EB Garamond', serif;
28+
// font-style: italic;
29+
font-weight: bold;
2630
}
2731

2832
// {% comment %} https://codepen.io/AgnusDei/pen/NWPbOxL {% endcomment %}
21.7 KB
Binary file not shown.

assets/fonts/fonts.css

+11-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
font-family: 'Fondamento';
1414
font-style: normal;
1515
font-weight: 400;
16-
src: url('../fonts/fondamento-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
16+
src: url('/assets/fonts/fondamento-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
1717
}
1818

1919
/* fondamento-italic - latin */
@@ -22,5 +22,14 @@
2222
font-family: 'Fondamento';
2323
font-style: italic;
2424
font-weight: 400;
25-
src: url('../fonts/fondamento-v20-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
25+
src: url('/assets/fonts/fondamento-v20-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
26+
}
27+
28+
/* eb-garamond-italic - latin */
29+
@font-face {
30+
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
31+
font-family: 'EB Garamond';
32+
font-style: italic;
33+
font-weight: 400;
34+
src: url('/assets/fonts/eb-garamond-v27-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
2635
}

0 commit comments

Comments
 (0)