diff --git a/web/fonts.css b/web/fonts.css index 3ffe8dc..8c43a5d 100644 --- a/web/fonts.css +++ b/web/fonts.css @@ -60,3 +60,11 @@ Lifted from https://gwfh.mranftl.com/fonts font-weight: 400; src: url("./fonts/noto-color-emoji-v25-emoji-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } + +@font-face { + font-display: swap; + font-family: "Twemoji Mozilla"; + font-style: normal; + font-weight: 400; + src: url("./fonts/Twemoji.Mozilla.ttf") format("ttf"); +} diff --git a/web/fonts/Twemoji.Mozilla.license.txt b/web/fonts/Twemoji.Mozilla.license.txt new file mode 100644 index 0000000..357b9de --- /dev/null +++ b/web/fonts/Twemoji.Mozilla.license.txt @@ -0,0 +1,53 @@ +Twemoji.Mozilla.ttf was downloaded from +https://github.com/mozilla/twemoji-colr/releases/tag/v0.7.0 + +## License for the Code + +Copyright 2016-2018, Mozilla Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + + +## License for the Visual Design + +The Emoji art in the twe-svg.zip archive comes from [Twemoji](https://twitter.github.io/twemoji), +and is used and redistributed under the CC-BY-4.0 [license terms](https://github.com/twitter/twemoji#license) +offered by the Twemoji project. + +### Creative Commons Attribution 4.0 International (CC BY 4.0) +https://creativecommons.org/licenses/by/4.0/legalcode +or for the human readable summary: https://creativecommons.org/licenses/by/4.0/ + + +#### You are free to: +**Share** — copy and redistribute the material in any medium or format + +**Adapt** — remix, transform, and build upon the material for any purpose, even commercially. + +The licensor cannot revoke these freedoms as long as you follow the license terms. + + +#### Under the following terms: +**Attribution** — You must give appropriate credit, provide a link to the license, +and indicate if changes were made. +You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. + +**No additional restrictions** — You may not apply legal terms or **technological measures** +that legally restrict others from doing anything the license permits. + +#### Notices: +You do not have to comply with the license for elements of the material in the public domain +or where your use is permitted by an applicable exception or limitation. No warranties are given. +The license may not give you all of the permissions necessary for your intended use. +For example, other rights such as publicity, privacy, or moral rights may limit how you use the material. diff --git a/web/fonts/Twemoji.Mozilla.ttf b/web/fonts/Twemoji.Mozilla.ttf new file mode 100644 index 0000000..9f45178 Binary files /dev/null and b/web/fonts/Twemoji.Mozilla.ttf differ diff --git a/web/index.css b/web/index.css index 8c706c9..8fdd8a9 100644 --- a/web/index.css +++ b/web/index.css @@ -55,9 +55,14 @@ body { #p1country, #p2country { + /* font-family: "Noto Color Emoji"; font-size: 1.8em; top: 8px; + */ + font-family: "Twemoji Mozilla"; + font-size: 2.2em; + top: 8px; } #p1country {