diff --git a/static/styles.css b/static/styles.css index 5b6a28f..3e0c270 100644 --- a/static/styles.css +++ b/static/styles.css @@ -1,8 +1,8 @@ -@import "typeface-pt-sans/index.css"; -@import "typeface-pt-mono/index.css"; - body { - font: 16px/1.5 "PT Sans", sans-serif; + font-size: 14px; + line-height: 1.5; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, + Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; text-align: center; padding: 0 1em; margin: 2em 0; @@ -14,7 +14,7 @@ a { } code { - font-family: "PT Mono", monospace; + font-family: Menlo, Monaco, "Courier New", monospace; } h1 { @@ -22,7 +22,7 @@ h1 { } footer { - font-size: 0.875em; + font-size: 0.857em; } input { diff --git a/static/typeface-pt-mono/README.md b/static/typeface-pt-mono/README.md deleted file mode 100644 index 0d5cc9a..0000000 --- a/static/typeface-pt-mono/README.md +++ /dev/null @@ -1,34 +0,0 @@ - -# typeface-pt-mono - -The CSS and web font files to easily self-host “PT Mono”. - -## Install - -`npm install --save typeface-pt-mono` - -## Use - -Typefaces assume you’re using webpack to process CSS and files. Each typeface -package includes all necessary font files (woff2, woff) and a CSS file with -font-face declarations pointing at these files. - -You will need to have webpack setup to load css and font files. Many tools built -with Webpack will work out of the box with Typefaces such as [Gatsby](https://github.com/gatsbyjs/gatsby) -and [Create React App](https://github.com/facebookincubator/create-react-app). - -To use, simply require the package in your project’s entry file e.g. - -```javascript -// Load PT Mono typeface -require('typeface-pt-mono') -``` - -## About the Typefaces project. - -Our goal is to add all open source fonts to NPM to simplify using great fonts in -our web projects. We’re currently maintaining 939 typeface packages -including all typefaces on Google Fonts. - -If your favorite typeface isn’t published yet, [let us know](https://github.com/KyleAMathews/typefaces) -and we’ll add it! diff --git a/static/typeface-pt-mono/files-hash.json b/static/typeface-pt-mono/files-hash.json deleted file mode 100644 index acad4c2..0000000 --- a/static/typeface-pt-mono/files-hash.json +++ /dev/null @@ -1 +0,0 @@ -{"hash":"24310e0c7ef042b882b1e59f6112fa88","updatedAt":"2019-02-28T18:44:13.339Z"} \ No newline at end of file diff --git a/static/typeface-pt-mono/files/pt-mono-latin-400.woff b/static/typeface-pt-mono/files/pt-mono-latin-400.woff deleted file mode 100644 index 05a5bc7..0000000 Binary files a/static/typeface-pt-mono/files/pt-mono-latin-400.woff and /dev/null differ diff --git a/static/typeface-pt-mono/files/pt-mono-latin-400.woff2 b/static/typeface-pt-mono/files/pt-mono-latin-400.woff2 deleted file mode 100644 index 06af5dd..0000000 Binary files a/static/typeface-pt-mono/files/pt-mono-latin-400.woff2 and /dev/null differ diff --git a/static/typeface-pt-mono/index.css b/static/typeface-pt-mono/index.css deleted file mode 100644 index 658c0b9..0000000 --- a/static/typeface-pt-mono/index.css +++ /dev/null @@ -1,13 +0,0 @@ -/* pt-mono-400normal - latin */ -@font-face { - font-family: 'PT Mono'; - font-style: normal; - font-display: swap; - font-weight: 400; - src: - local('PT Mono Regular '), - local('PT Mono-Regular'), - url('./files/pt-mono-latin-400.woff2') format('woff2'), /* Super Modern Browsers */ - url('./files/pt-mono-latin-400.woff') format('woff'); /* Modern Browsers */ -} - diff --git a/static/typeface-pt-mono/package.json b/static/typeface-pt-mono/package.json deleted file mode 100644 index 9d8f115..0000000 --- a/static/typeface-pt-mono/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "_from": "typeface-pt-mono", - "_id": "typeface-pt-mono@0.0.72", - "_inBundle": false, - "_integrity": "sha512-7AMVSvB0oT2TDPyCJlVKSIxPjspI08Rlhg/SEUwQORSyalZgtSt2pDJEvVZuJbBIak70oB2ts6vL4iunYPUGKA==", - "_location": "/typeface-pt-mono", - "_phantomChildren": {}, - "_requested": { - "type": "tag", - "registry": true, - "raw": "typeface-pt-mono", - "name": "typeface-pt-mono", - "escapedName": "typeface-pt-mono", - "rawSpec": "", - "saveSpec": null, - "fetchSpec": "latest" - }, - "_requiredBy": [ - "#USER", - "/" - ], - "_resolved": "https://registry.npmjs.org/typeface-pt-mono/-/typeface-pt-mono-0.0.72.tgz", - "_shasum": "1ce4a636d335c77bb01712ba136a99f764647a04", - "_spec": "typeface-pt-mono", - "_where": "/Users/leafac/Code/www.kill-the-newsletter.com/static", - "author": { - "name": "Kyle Mathews", - "email": "mathews.kyle@gmail.com" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "PT Mono typeface", - "keywords": [ - "typeface", - "font", - "font family", - "google fonts", - "pt-mono" - ], - "license": "MIT", - "main": "index.css", - "name": "typeface-pt-mono", - "repository": { - "type": "git", - "url": "https://github.com/KyleAMathews/typefaces/tree/master/packages/pt-mono" - }, - "version": "0.0.72" -} diff --git a/static/typeface-pt-sans/README.md b/static/typeface-pt-sans/README.md deleted file mode 100644 index 53d0dc1..0000000 --- a/static/typeface-pt-sans/README.md +++ /dev/null @@ -1,34 +0,0 @@ - -# typeface-pt-sans - -The CSS and web font files to easily self-host “PT Sans”. - -## Install - -`npm install --save typeface-pt-sans` - -## Use - -Typefaces assume you’re using webpack to process CSS and files. Each typeface -package includes all necessary font files (woff2, woff) and a CSS file with -font-face declarations pointing at these files. - -You will need to have webpack setup to load css and font files. Many tools built -with Webpack will work out of the box with Typefaces such as [Gatsby](https://github.com/gatsbyjs/gatsby) -and [Create React App](https://github.com/facebookincubator/create-react-app). - -To use, simply require the package in your project’s entry file e.g. - -```javascript -// Load PT Sans typeface -require('typeface-pt-sans') -``` - -## About the Typefaces project. - -Our goal is to add all open source fonts to NPM to simplify using great fonts in -our web projects. We’re currently maintaining 939 typeface packages -including all typefaces on Google Fonts. - -If your favorite typeface isn’t published yet, [let us know](https://github.com/KyleAMathews/typefaces) -and we’ll add it! diff --git a/static/typeface-pt-sans/files-hash.json b/static/typeface-pt-sans/files-hash.json deleted file mode 100644 index d259f47..0000000 --- a/static/typeface-pt-sans/files-hash.json +++ /dev/null @@ -1 +0,0 @@ -{"hash":"80de7b5256341aa0474a0b3bafa42e14","updatedAt":"2019-02-28T18:41:14.640Z"} \ No newline at end of file diff --git a/static/typeface-pt-sans/files/pt-sans-latin-400.woff b/static/typeface-pt-sans/files/pt-sans-latin-400.woff deleted file mode 100644 index a71e5b6..0000000 Binary files a/static/typeface-pt-sans/files/pt-sans-latin-400.woff and /dev/null differ diff --git a/static/typeface-pt-sans/files/pt-sans-latin-400.woff2 b/static/typeface-pt-sans/files/pt-sans-latin-400.woff2 deleted file mode 100644 index 1b54f9e..0000000 Binary files a/static/typeface-pt-sans/files/pt-sans-latin-400.woff2 and /dev/null differ diff --git a/static/typeface-pt-sans/files/pt-sans-latin-400italic.woff b/static/typeface-pt-sans/files/pt-sans-latin-400italic.woff deleted file mode 100644 index 19ed344..0000000 Binary files a/static/typeface-pt-sans/files/pt-sans-latin-400italic.woff and /dev/null differ diff --git a/static/typeface-pt-sans/files/pt-sans-latin-400italic.woff2 b/static/typeface-pt-sans/files/pt-sans-latin-400italic.woff2 deleted file mode 100644 index c5d7810..0000000 Binary files a/static/typeface-pt-sans/files/pt-sans-latin-400italic.woff2 and /dev/null differ diff --git a/static/typeface-pt-sans/files/pt-sans-latin-700.woff b/static/typeface-pt-sans/files/pt-sans-latin-700.woff deleted file mode 100644 index 87db286..0000000 Binary files a/static/typeface-pt-sans/files/pt-sans-latin-700.woff and /dev/null differ diff --git a/static/typeface-pt-sans/files/pt-sans-latin-700.woff2 b/static/typeface-pt-sans/files/pt-sans-latin-700.woff2 deleted file mode 100644 index d938c9e..0000000 Binary files a/static/typeface-pt-sans/files/pt-sans-latin-700.woff2 and /dev/null differ diff --git a/static/typeface-pt-sans/files/pt-sans-latin-700italic.woff b/static/typeface-pt-sans/files/pt-sans-latin-700italic.woff deleted file mode 100644 index 0375a14..0000000 Binary files a/static/typeface-pt-sans/files/pt-sans-latin-700italic.woff and /dev/null differ diff --git a/static/typeface-pt-sans/files/pt-sans-latin-700italic.woff2 b/static/typeface-pt-sans/files/pt-sans-latin-700italic.woff2 deleted file mode 100644 index d42197c..0000000 Binary files a/static/typeface-pt-sans/files/pt-sans-latin-700italic.woff2 and /dev/null differ diff --git a/static/typeface-pt-sans/index.css b/static/typeface-pt-sans/index.css deleted file mode 100644 index 7786b90..0000000 --- a/static/typeface-pt-sans/index.css +++ /dev/null @@ -1,52 +0,0 @@ -/* pt-sans-400normal - latin */ -@font-face { - font-family: 'PT Sans'; - font-style: normal; - font-display: swap; - font-weight: 400; - src: - local('PT Sans Regular '), - local('PT Sans-Regular'), - url('./files/pt-sans-latin-400.woff2') format('woff2'), /* Super Modern Browsers */ - url('./files/pt-sans-latin-400.woff') format('woff'); /* Modern Browsers */ -} - -/* pt-sans-400italic - latin */ -@font-face { - font-family: 'PT Sans'; - font-style: italic; - font-display: swap; - font-weight: 400; - src: - local('PT Sans Regular italic'), - local('PT Sans-Regularitalic'), - url('./files/pt-sans-latin-400italic.woff2') format('woff2'), /* Super Modern Browsers */ - url('./files/pt-sans-latin-400italic.woff') format('woff'); /* Modern Browsers */ -} - -/* pt-sans-700normal - latin */ -@font-face { - font-family: 'PT Sans'; - font-style: normal; - font-display: swap; - font-weight: 700; - src: - local('PT Sans Bold '), - local('PT Sans-Bold'), - url('./files/pt-sans-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ - url('./files/pt-sans-latin-700.woff') format('woff'); /* Modern Browsers */ -} - -/* pt-sans-700italic - latin */ -@font-face { - font-family: 'PT Sans'; - font-style: italic; - font-display: swap; - font-weight: 700; - src: - local('PT Sans Bold italic'), - local('PT Sans-Bolditalic'), - url('./files/pt-sans-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */ - url('./files/pt-sans-latin-700italic.woff') format('woff'); /* Modern Browsers */ -} - diff --git a/static/typeface-pt-sans/package.json b/static/typeface-pt-sans/package.json deleted file mode 100644 index bfb628c..0000000 --- a/static/typeface-pt-sans/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "_from": "typeface-pt-sans", - "_id": "typeface-pt-sans@0.0.72", - "_inBundle": false, - "_integrity": "sha512-eDMv72dE+0dwjIDltzZAUusF+cDgOfZKazHZK08uKCOG/BEzY6oc/WqtQLN71j5/voTXFi5M4+nXNbZnCayDMQ==", - "_location": "/typeface-pt-sans", - "_phantomChildren": {}, - "_requested": { - "type": "tag", - "registry": true, - "raw": "typeface-pt-sans", - "name": "typeface-pt-sans", - "escapedName": "typeface-pt-sans", - "rawSpec": "", - "saveSpec": null, - "fetchSpec": "latest" - }, - "_requiredBy": [ - "#USER", - "/" - ], - "_resolved": "https://registry.npmjs.org/typeface-pt-sans/-/typeface-pt-sans-0.0.72.tgz", - "_shasum": "c47d198510b2ed1272ad6329cf1ae5f782ebf4cf", - "_spec": "typeface-pt-sans", - "_where": "/Users/leafac/Code/www.kill-the-newsletter.com/static", - "author": { - "name": "Kyle Mathews", - "email": "mathews.kyle@gmail.com" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "PT Sans typeface", - "keywords": [ - "typeface", - "font", - "font family", - "google fonts", - "pt-sans" - ], - "license": "MIT", - "main": "index.css", - "name": "typeface-pt-sans", - "repository": { - "type": "git", - "url": "https://github.com/KyleAMathews/typefaces/tree/master/packages/pt-sans" - }, - "version": "0.0.72" -}