Skip to content

Commit

Permalink
Add Greek font
Browse files Browse the repository at this point in the history
  • Loading branch information
mwenge committed Oct 4, 2020
1 parent 5da3ad4 commit b16634f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
7 changes: 7 additions & 0 deletions Aegean.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,10 @@
font-weight: 400;
src: url(NotoEmoji-Regular.ttf) format('truetype');
}
@font-face {
font-family: 'GFS Didot';
font-style: normal;
font-weight: 400;
src: local('GFS Didot Regular'), local('GFSDidot-Regular'), url(GFSDidot.ttf) format('truetype');
}

Binary file added GFSDidot.ttf
Binary file not shown.
3 changes: 0 additions & 3 deletions explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1163,9 +1163,6 @@ function addWordTip(word, name, index) {
tip.appendChild(wordCommentElement);
}

var wordCommentElement = document.createElement("div");
wordCommentElement.className = "lexicon";
wordCommentElement.textContent = "Tags: ";
var tagsForWord = inscriptions.get(name).wordTags[index];
if (tagsForWord) {
tagsForWord.forEach(x => {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</script>
<style>
body {
font-family: 'Merriweather', 'AegeanRegular', 'Aegean', 'Noto Sans Linear A and B', 'Noto Mono', sans-serif;
font-family: 'Merriweather', 'GFS Didot', 'AegeanRegular', 'Aegean', 'Noto Sans Linear A and B', 'Noto Mono', sans-serif;
font-size: 18px;
margin: 0px;
}
Expand Down

0 comments on commit b16634f

Please sign in to comment.