├── .babelrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── example ├── README.md ├── deck.js ├── fonts │ ├── Licenses │ │ └── Webfont EULA 1.6.txt │ ├── Reference │ │ └── How_to_use_webfonts.html │ └── Webfonts │ │ ├── futurapt_book_macroman │ │ ├── ftn45-demo.html │ │ ├── ftn45-webfont.eot │ │ ├── ftn45-webfont.svg │ │ ├── ftn45-webfont.ttf │ │ ├── ftn45-webfont.woff │ │ ├── ftn45-webfont.woff2 │ │ ├── specimen_files │ │ │ ├── grid_12-825-55-15.css │ │ │ └── specimen_stylesheet.css │ │ └── stylesheet.css │ │ ├── futurapt_bookitalic_macroman │ │ ├── ftn46-demo.html │ │ ├── ftn46-webfont.eot │ │ ├── ftn46-webfont.svg │ │ ├── ftn46-webfont.ttf │ │ ├── ftn46-webfont.woff │ │ ├── ftn46-webfont.woff2 │ │ ├── specimen_files │ │ │ ├── grid_12-825-55-15.css │ │ │ └── specimen_stylesheet.css │ │ └── stylesheet.css │ │ ├── futurapt_demi_macroman │ │ ├── ftn65-demo.html │ │ ├── ftn65-webfont.eot │ │ ├── ftn65-webfont.svg │ │ ├── ftn65-webfont.ttf │ │ ├── ftn65-webfont.woff │ │ ├── ftn65-webfont.woff2 │ │ ├── specimen_files │ │ │ ├── grid_12-825-55-15.css │ │ │ └── specimen_stylesheet.css │ │ └── stylesheet.css │ │ └── futurapt_demiitalic_macroman │ │ ├── ftn66-demo.html │ │ ├── ftn66-webfont.eot │ │ ├── ftn66-webfont.svg │ │ ├── ftn66-webfont.ttf │ │ ├── ftn66-webfont.woff │ │ ├── ftn66-webfont.woff2 │ │ ├── specimen_files │ │ ├── grid_12-825-55-15.css │ │ └── specimen_stylesheet.css │ │ └── stylesheet.css ├── package.json ├── topics │ ├── conclusion.mdx │ ├── demo.mdx │ ├── gatsby-overview.mdx │ ├── intro.mdx │ ├── new-features.mdx │ └── q-and-a.mdx ├── webpack.config.js └── yarn.lock ├── netlify.toml ├── package.json ├── rollup.config.js ├── src ├── colors.js ├── components │ ├── boxes.js │ ├── center.js │ ├── index.js │ ├── logo-boxes.js │ └── logo.js ├── fonts.js ├── gatsby-code-theme.js ├── gatsby-mdx-theme.js └── layouts │ ├── full-screen-code.js │ ├── index.js │ ├── main.js │ ├── section-inverted.js │ └── section.js └── yarn.lock /.babelrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | ['@babel/preset-env', { 4 | modules: false, 5 | targets: { 6 | "browsers": [ ">0.25%", "not ie 11", "not op_mini all"] 7 | } 8 | }], 9 | '@babel/preset-react' 10 | ], 11 | plugins: [ 12 | '@babel/plugin-syntax-object-rest-spread' 13 | ] 14 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | packages/*/yarn.lock 3 | packages/*/package-lock.json 4 | 5 | # Logs 6 | logs 7 | *.log 8 | 9 | # Runtime data 10 | pids 11 | *.pid 12 | *.seed 13 | 14 | # Directory for instrumented libs generated by jscoverage/JSCover 15 | lib-cov 16 | 17 | # Coverage directory used by tools like istanbul 18 | coverage 19 | .nyc_output 20 | 21 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 22 | .grunt 23 | 24 | # node-waf configuration 25 | .lock-wscript 26 | 27 | # Compiled binary addons (http://nodejs.org/api/addons.html) 28 | build/Release 29 | 30 | # Dependency directory 31 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 32 | node_modules 33 | examples/biz-website/public/ 34 | examples/blog/public/ 35 | *.un~ 36 | dist 37 | es/ 38 | cjs/ 39 | bin/published.js 40 | 41 | # Build Path of Test Fixtures 42 | test/**/public 43 | .gatsby-context.js 44 | .DS_Store 45 | public/ 46 | node_modules/ 47 | .cache/ 48 | .netlify 49 | 50 | # IDE specific 51 | .idea/ 52 | .vscode/ 53 | *.sw* 54 | 55 | .serverless/ 56 | package-lock.json 57 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false, 3 | "singleQuote": true 4 | } 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | > Note: this was built for mdx-deck v1, it probably won't work with later versions of mdx-deck. 2 | 3 | # gatsby-mdx-theme 4 | 5 | This is the theme we use for Gatsby-related slide decks powered by [`mdx-deck`](https://github.com/jxnblk/mdx-deck) 6 | 7 | Check out the [example](./example) for instructions on getting it set up and further usage 8 | -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- 1 | # example 2 | 3 | ## Install 4 | 5 | - In root of repo, run `yarn link` 6 | - In this folder, run `yarn link gatsby-mdx-theme` 7 | - Run `yarn start` to see theme 8 | -------------------------------------------------------------------------------- /example/deck.js: -------------------------------------------------------------------------------- 1 | import intro from './topics/intro.mdx' 2 | import gatsbyOverview from './topics/gatsby-overview.mdx' 3 | import newFeatures from './topics/new-features.mdx' 4 | import demo from './topics/demo.mdx' 5 | import qAndA from './topics/q-and-a.mdx' 6 | import conclusion from './topics/conclusion.mdx' 7 | 8 | // import './fonts/Webfonts/futurapt_book_macroman/stylesheet.css' 9 | // import './fonts/Webfonts/futurapt_bookitalic_macroman/stylesheet.css' 10 | // import './fonts/Webfonts/futurapt_demi_macroman/stylesheet.css' 11 | // import './fonts/Webfonts/futurapt_demiitalic_macroman/stylesheet.css' 12 | // import 'typeface-space-mono' 13 | // import 'typeface-spectral' 14 | 15 | export { default as theme } from 'gatsby-mdx-theme' 16 | export default [ 17 | ...intro, 18 | ...gatsbyOverview, 19 | ...newFeatures, 20 | ...demo, 21 | ...qAndA, 22 | ...conclusion 23 | ] 24 | -------------------------------------------------------------------------------- /example/fonts/Licenses/Webfont EULA 1.6.txt: -------------------------------------------------------------------------------- 1 | The Fontspring Webfont End User License Agreement 2 | Version 1.6.0 - March 13, 2014 3 | 4 | By downloading, installing and/or embedding font software (“Webfont”) offered by Fontspring or its distributors, you (“Licensee”) agree to be bound by the following terms and conditions of this End User Licensing Agreement (“EULA”): 5 | 6 | 1. Right Granted 7 | Fontspring grants Licensee a perpetual, worldwide, non-exclusive and non-transferrable license to link the Webfont to Websites using the @font-face selector in CSS files. 8 | 9 | 2. Requirements and Restrictions 10 | Licensee agrees to abide by the following requirements and restrictions: 11 | a. Licensee must use the Webfont provided by Fontspring under this EULA. Licensee may not link to the full, CFF OpenType or TrueType font designed for desktop installation. 12 | b. Licensee must include the entire commented header in the provided CSS file. 13 | c. The total traffic of the Website(s), measured in pageviews per month, may be no greater than the number of pageviews specified in the Receipt. 14 | d. Licensee may only install the Webfont on Websites that it owns or controls. 15 | e. Licensee may embed Webfont in reports generated by the Website(s), provided that Licensee does not sell the reports for profit. 16 | 17 | 3. Provision to Third Parties 18 | Licensee may temporarily provide the Webfont to a website developer, agent or independent contractor, who is working on behalf of the Licensee, ONLY IF the developer, agent or independent contractor (1) agrees in writing to use the Font exclusively for Licensee’s work, according to the terms of this EULA, and (2) retains no copies of the Font upon completion of the work. 19 | 20 | Licensee may not otherwise distribute the Webfont to third parties or make the Webfont publicly accessible or available except by embedding or linking in accordance with this EULA. 21 | 22 | 4. Term 23 | This EULA grants a perpetual license for the rights set forth in Paragraph 1 unless and until the EULA terminates under Paragraph 8. Fontspring will not charge additional fees post purchase, annually or otherwise. 24 | 25 | 5. Other Usage 26 | Licenses for desktop use, computer applications and games, installable interactive books, software, mobile applications and games, Ebooks and Epubs, product creation websites, website template distribution, website templates, and other uses not allowed by this EULA may be available for an additional fee. Contact Fontspring at support@fontspring.com for more information. 27 | 28 | 6. Modifications 29 | Licensee may not modify the Webfont or create derivative works based upon the Webfont without prior written consent from Fontspring or the owning foundry EXCEPT THAT Licensee may generate files necessary for embedding or linking in accordance with this EULA. 30 | 31 | 7. Copyright 32 | The Webfont is protected by copyright law. The Foundry is the sole, exclusive owner of all intellectual property rights, including rights under copyright and trademark law. Licensee agrees not to use the Webfont in any manner that infringes the intellectual property rights of the Foundry or violates the terms of this EULA. Licensee will be held legally responsible, and indemnifies Fontspring, for any infringements on the foundry's rights caused by failure to abide by the terms of this EULA. 33 | 34 | 8. Termination 35 | This EULA is effective until terminated. If Licensee fails to comply with any term of this EULA, Fontspring may terminate the EULA with 30 days notice. This EULA will terminate automatically 30 days after the issuance of such notice. 36 | 37 | 9. Disclaimer and Limited Warranty 38 | Fontspring warrants the Product to be free from defects in materials and workmanship under normal use for a period of twenty one (21) days from the date of delivery as shown on Receipt. Fontspring's entire liability, and Licensee’s exclusive remedy, for a defective product shall be, at Fontspring's election, either (1) return of purchase price or (2) replacement of any such product that is returned to Fontspring with a copy of the Receipt. Fontspring shall have no responsibility to replace the product or refund the purchase price if failure results from accident, abuse or misapplication, or if any product is lost or damaged due to theft, fire, or negligence. Any replacement product will be warranted for twenty one (21) days. This warranty gives Licensee specific legal rights. Licensee may have other rights, which vary from state to state. 39 | 40 | EXCEPT AS EXPRESSLY PROVIDED ABOVE, THE PRODUCT, IS PROVIDED “AS IS”. FONTSPRING MAKES NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 41 | 42 | The entire risk as to the quality and performance of the Product rests upon Licensee. Neither Fontspring nor the Foundry warrants that the functions contained in the Product will meet Licensee’s requirements or that the operation of the software will be uninterrupted or error free. 43 | 44 | FONTSPRING SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, OR INCIDENTAL DAMAGES (INCLUDING DAMAGES FROM LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, AND THE LIKE) ARISING OUT OF THE USE OF OR INABILITY TO USE THE PRODUCT EVEN IF FONTSPRING OR THE FOUNDRY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 45 | 46 | Because some states do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to Licensee. 47 | 48 | 10. Governing Law 49 | This EULA is governed by the laws of the United States of America and the State of Delaware. 50 | 51 | 11. Entire Agreement 52 | This EULA, in conjunction with the receipt (“Receipt”) that accompanies each Font licensed from Fontspring or its distributors, constitutes the entire agreement between Fontspring and Licensee. 53 | 54 | 12. Modification 55 | The Parties may modify or amend this EULA in writing. 56 | 57 | 13. Waiver. The waiver of one breach or default hereunder shall not constitute the waiver of any subsequent breach or default. 58 | -------------------------------------------------------------------------------- /example/fonts/Reference/How_to_use_webfonts.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 151 | 152 | How to Use Webfonts 153 | 154 | 155 | 156 | 157 |
158 | 161 |
162 |
163 |
164 |

Installing Webfonts

165 | 166 |

Webfonts are supported by all major browser platforms but not all in the same way. There are currently four different font formats that must be included in order to target all browsers. This includes TTF, WOFF, EOT and SVG.

167 | 168 |

1. Upload your webfonts

169 |

You must upload your webfont kit to your website. They should be in or near the same directory as your CSS files.

170 | 171 |

2. Include the webfont stylesheet

172 |

A special CSS @font-face declaration helps the various browsers select the appropriate font it needs without causing you a bunch of headaches. Learn more about this syntax by reading the Fontspring blog post about it. The code for it is as follows:

173 | 174 | 175 | 176 | @font-face{ 177 | font-family: 'MyWebFont'; 178 | src: url('WebFont.eot'); 179 | src: url('WebFont.eot?#iefix') format('embedded-opentype'), 180 | url('WebFont.woff') format('woff'), 181 | url('WebFont.ttf') format('truetype'), 182 | url('WebFont.svg#webfont') format('svg'); 183 | } 184 | 185 |

We've already gone ahead and generated the code for you. All you have to do is link to the stylesheet in your HTML, like this:

186 | <link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" /> 187 | 188 |

3. Modify your own stylesheet

189 |

To take advantage of your new fonts, you must tell your stylesheet to use them. Look at the original @font-face declaration above and find the property called "font-family." The name linked there will be what you use to reference the font. Prepend that webfont name to the font stack in the "font-family" property, inside the selector you want to change. For example:

190 | p { font-family: 'MyWebFont', Arial, sans-serif; } 191 | 192 |

4. Test

193 |

Getting webfonts to work cross-browser can be tricky. Use the information in the sidebar to help you if you find that fonts aren't loading in a particular browser.

194 |
195 | 196 | 222 |
223 | 224 |
225 | 226 |
227 | 228 | 229 | 230 | 231 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_book_macroman/ftn45-demo.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 17 | 18 | Futura PT Book Specimen 19 | 20 | 21 | 26 | 27 | 28 | 29 |
30 | 32 | 39 | 40 |
41 | 42 | 43 |
44 | 45 |
46 |
47 |
AaBb
48 |
49 |
50 | 51 |
52 |
A​B​C​D​E​F​G​H​I​J​K​L​M​N​O​P​Q​R​S​T​U​V​W​X​Y​Z​a​b​c​d​e​f​g​h​i​j​k​l​m​n​o​p​q​r​s​t​u​v​w​x​y​z​1​2​3​4​5​6​7​8​9​0​&​.​,​?​!​@​(​)​#​$​%​*​+​-​=​:​;
53 |
54 |
55 |
56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 |
10abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
11abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
12abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
13abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
14abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
16abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
18abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
20abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
24abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
30abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
36abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
48abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
60abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
72abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
90abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
73 | 74 |
75 | 76 |
77 | 78 | 79 | 80 |
81 | 82 | 83 |
84 |
body
body
body
body
85 |
86 | bodyFutura PT Book 87 |
88 |
89 | bodyArial 90 |
91 |
92 | bodyVerdana 93 |
94 |
95 | bodyGeorgia 96 |
97 | 98 | 99 | 100 |
101 | 102 | 103 |
104 | 105 |
106 |

10.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

107 | 108 |
109 |
110 |

11.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

111 | 112 |
113 |
114 |

12.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

115 | 116 |
117 |
118 |

13.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

119 | 120 |
121 |
122 | 123 |
124 |
125 |
126 |

14.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

127 | 128 |
129 |
130 |

16.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

131 | 132 |
133 |
134 |

18.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

135 | 136 |
137 | 138 |
139 | 140 |
141 | 142 |
143 |
144 |

20.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

145 |
146 |
147 |

24.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

148 |
149 | 150 |
151 | 152 |
153 | 154 |
155 |
156 |

30.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

157 |
158 |
159 | 160 |
161 | 162 | 163 | 164 |
165 |
166 |

10.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

167 | 168 |
169 |
170 |

11.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

171 | 172 |
173 |
174 |

12.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

175 | 176 |
177 |
178 |

13.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

179 | 180 |
181 |
182 | 183 |
184 | 185 |
186 |
187 |

14.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

188 | 189 |
190 |
191 |

16.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

192 | 193 |
194 |
195 |

18.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

196 | 197 |
198 |
199 | 200 |
201 | 202 |
203 |
204 |

20.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

205 |
206 |
207 |

24.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

208 |
209 | 210 |
211 | 212 |
213 | 214 |
215 |
216 |

30.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

217 |
218 |
219 | 220 |
221 | 222 | 223 | 224 | 225 |
226 | 227 |
228 | 229 |
230 | 231 |
232 |

Lorem Ipsum Dolor

233 |

Etiam porta sem malesuada magna mollis euismod

234 | 235 | 236 |
237 |
238 |
239 |
240 |

Donec sed odio dui. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

241 | 242 | 243 |

Pellentesque ornare sem

244 | 245 |

Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas faucibus mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam id dolor id nibh ultricies vehicula ut id elit.

246 | 247 |

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

248 | 249 |

Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Aenean lacinia bibendum nulla sed consectetur.

250 | 251 |

Nullam quis risus eget urna mollis ornare vel eu leo. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec ullamcorper nulla non metus auctor fringilla.

252 | 253 |

Cras mattis consectetur

254 | 255 |

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Aenean lacinia bibendum nulla sed consectetur. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras mattis consectetur purus sit amet fermentum.

256 | 257 |

Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam quis risus eget urna mollis ornare vel eu leo. Cras mattis consectetur purus sit amet fermentum.

258 |
259 | 260 | 277 |
278 | 279 |
280 | 281 | 282 | 283 | 284 | 285 | 286 |
287 |
288 |
289 | 290 |

Language Support

291 |

The subset of Futura PT Book in this kit supports the following languages:
292 | 293 | Albanian, Alsatian, Aragonese, Arapaho, Aromanian, Arrernte, Asturian, Aymara, Azerbaijani (Cyrillic), Bashkir, Basque, Belarusian, Belarusian (Lacinka), Bislama, Bosnian, Breton, Buryat (Cyrillic), Catalan, Cebuano, Chamorro, Cheyenne, Chuvash, Cimbrian, Corsican, Croatian, Cyrillic, Czech, Danish, Demo, Dungan, Dutch, English, Esperanto, Estonian, Evenki (Cyrillic), Faroese, Fijian, Finnish, French, French Creole (Saint Lucia), Frisian, Friulian, Galician, Genoese, German, Gilbertese (Kiribati), Greenlandic, Haitian Creole, Hawaiian, Hiligaynon, Hill Mari, Hmong, Hopi, Hungarian, Ibanag, Iloko (Ilokano), Indonesian, Interglossa (Glosa), Interlingua, Irish (Gaelic), Islandic, Istro-Romanian, Italian, Jèrriais, Kalmyk (Cyrillic), Karachay (Cyrillic), Kashubian, Kazakh (Cyrillic), Khalkha, Khanty, Komi-Permyak, Kurdish (Kurmanji), Kyrgyz (Cyrillic), Ladin, Latin Basic, Latvian, Lithuanian, Lojban, Lombard, Low Saxon, Luxembourgian, Malagasy, Maltese, Manx, Maori, Meadow Mari, Megleno-Romanian, Mohawk, Moldovan, Nahuatl, Nenets, Norfolk/Pitcairnese, Northern Sotho (Pedi), Norwegian, Occitan, Oromo, Ossetian, Pangasinan, Papiamento, Piedmontese, Polish, Portuguese, Potawatomi, Quechua, Rhaeto-Romance, Romanian, Romansh (Rumantsch), Rotokas, Russian, Rusyn, Sami (Lule), Samoan, Sardinian (Sardu), Scots (Gaelic), Serbian (Cyrillic), Seychellois Creole (Seselwa), Shona, Sicilian, Slovak, Slovenian (Slovene), Somali, Southern Ndebele, Southern Sotho (Sesotho), Spanish, Swahili, Swati/Swazi, Swedish, Tagalog (Filipino/Pilipino), Tahitian, Tajik, Tatar (Cyrillic), Tausug, Tetum (Tetun), Tok Pisin, Tongan (Faka-Tonga), Tswana, Turkish, Turkmen, Turkmen (Cyrillic), Turkmen (Latinized), Tuvaluan, Tuvin, ubasic, Udmurt, Ukrainian, Uyghur (Cyrillic), Uyghur (Latinized), Uzbek (Cyrillic), Veps, Volapük, Votic (Cyrillic), Votic (Latinized), Walloon, Warlpiri, Xhosa, Yakut/Sakha, Yapese, Zulu

294 |

Glyph Chart

295 |

The subset of Futura PT Book in this kit includes all the glyphs listed below. Unicode entities are included above each glyph to help you insert individual characters into your layout.

296 |
297 | 298 |
299 |
300 | 301 | 302 |
303 |
304 | 305 | 306 |
307 | 308 |
309 | 310 |
311 |
312 |
313 |

Installing Webfonts

314 | 315 |

Webfonts are supported by all major browser platforms but not all in the same way. There are currently four different font formats that must be included in order to target all browsers. This includes TTF, WOFF, EOT and SVG.

316 | 317 |

1. Upload your webfonts

318 |

You must upload your webfont kit to your website. They should be in or near the same directory as your CSS files.

319 | 320 |

2. Include the webfont stylesheet

321 |

A special CSS @font-face declaration helps the various browsers select the appropriate font it needs without causing you a bunch of headaches. Learn more about this syntax by reading the Fontspring blog post about it. The code for it is as follows:

322 | 323 | 324 | 325 | @font-face{ 326 | font-family: 'MyWebFont'; 327 | src: url('WebFont.eot'); 328 | src: url('WebFont.eot?#iefix') format('embedded-opentype'), 329 | url('WebFont.woff') format('woff'), 330 | url('WebFont.ttf') format('truetype'), 331 | url('WebFont.svg#webfont') format('svg'); 332 | } 333 | 334 | 335 |

We've already gone ahead and generated the code for you. All you have to do is link to the stylesheet in your HTML, like this:

336 | <link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" /> 337 | 338 |

3. Modify your own stylesheet

339 |

To take advantage of your new fonts, you must tell your stylesheet to use them. Look at the original @font-face declaration above and find the property called "font-family." The name linked there will be what you use to reference the font. Prepend that webfont name to the font stack in the "font-family" property, inside the selector you want to change. For example:

340 | p { font-family: 'MyWebFont', Arial, sans-serif; } 341 | 342 |

4. Test

343 |

Getting webfonts to work cross-browser can be tricky. Use the information in the sidebar to help you if you find that fonts aren't loading in a particular browser.

344 |
345 | 346 | 372 |
373 | 374 |
375 | 376 |
377 | 380 |
381 | 382 | 383 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_book_macroman/ftn45-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_book_macroman/ftn45-webfont.eot -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_book_macroman/ftn45-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_book_macroman/ftn45-webfont.ttf -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_book_macroman/ftn45-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_book_macroman/ftn45-webfont.woff -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_book_macroman/ftn45-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_book_macroman/ftn45-webfont.woff2 -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_book_macroman/specimen_files/grid_12-825-55-15.css: -------------------------------------------------------------------------------- 1 | /*Notes about grid: 2 | Columns: 12 3 | Grid Width: 825px 4 | Column Width: 55px 5 | Gutter Width: 15px 6 | -------------------------------*/ 7 | 8 | .section { 9 | margin-bottom: 18px; 10 | } 11 | .section:after { 12 | content: '.'; 13 | display: block; 14 | height: 0; 15 | clear: both; 16 | visibility: hidden; 17 | } 18 | .section { 19 | *zoom: 1; 20 | } 21 | 22 | .section .firstcolumn, 23 | .section .firstcol { 24 | margin-left: 0; 25 | } 26 | 27 | /* Border on left hand side of a column. */ 28 | .border { 29 | padding-left: 7px; 30 | margin-left: 7px; 31 | border-left: 1px solid #eee; 32 | } 33 | 34 | /* Border with more whitespace, spans one column. */ 35 | .colborder { 36 | padding-left: 42px; 37 | margin-left: 42px; 38 | border-left: 1px solid #eee; 39 | } 40 | 41 | /* The Grid Classes */ 42 | .grid1, 43 | .grid1_2cols, 44 | .grid1_3cols, 45 | .grid1_4cols, 46 | .grid2, 47 | .grid2_3cols, 48 | .grid2_4cols, 49 | .grid3, 50 | .grid3_2cols, 51 | .grid3_4cols, 52 | .grid4, 53 | .grid4_3cols, 54 | .grid5, 55 | .grid5_2cols, 56 | .grid5_3cols, 57 | .grid5_4cols, 58 | .grid6, 59 | .grid6_4cols, 60 | .grid7, 61 | .grid7_2cols, 62 | .grid7_3cols, 63 | .grid7_4cols, 64 | .grid8, 65 | .grid8_3cols, 66 | .grid9, 67 | .grid9_2cols, 68 | .grid9_4cols, 69 | .grid10, 70 | .grid10_3cols, 71 | .grid10_4cols, 72 | .grid11, 73 | .grid11_2cols, 74 | .grid11_3cols, 75 | .grid11_4cols, 76 | .grid12 { 77 | margin-left: 15px; 78 | float: left; 79 | display: inline; 80 | overflow: hidden; 81 | } 82 | 83 | .width1, 84 | .grid1, 85 | .span-1 { 86 | width: 55px; 87 | } 88 | .width1_2cols, 89 | .grid1_2cols { 90 | width: 20px; 91 | } 92 | .width1_3cols, 93 | .grid1_3cols { 94 | width: 8px; 95 | } 96 | .width1_4cols, 97 | .grid1_4cols { 98 | width: 2px; 99 | } 100 | .input_width1 { 101 | width: 49px; 102 | } 103 | 104 | .width2, 105 | .grid2, 106 | .span-2 { 107 | width: 125px; 108 | } 109 | .width2_3cols, 110 | .grid2_3cols { 111 | width: 31px; 112 | } 113 | .width2_4cols, 114 | .grid2_4cols { 115 | width: 20px; 116 | } 117 | .input_width2 { 118 | width: 119px; 119 | } 120 | 121 | .width3, 122 | .grid3, 123 | .span-3 { 124 | width: 195px; 125 | } 126 | .width3_2cols, 127 | .grid3_2cols { 128 | width: 90px; 129 | } 130 | .width3_4cols, 131 | .grid3_4cols { 132 | width: 37px; 133 | } 134 | .input_width3 { 135 | width: 189px; 136 | } 137 | 138 | .width4, 139 | .grid4, 140 | .span-4 { 141 | width: 265px; 142 | } 143 | .width4_3cols, 144 | .grid4_3cols { 145 | width: 78px; 146 | } 147 | .input_width4 { 148 | width: 259px; 149 | } 150 | 151 | .width5, 152 | .grid5, 153 | .span-5 { 154 | width: 335px; 155 | } 156 | .width5_2cols, 157 | .grid5_2cols { 158 | width: 160px; 159 | } 160 | .width5_3cols, 161 | .grid5_3cols { 162 | width: 101px; 163 | } 164 | .width5_4cols, 165 | .grid5_4cols { 166 | width: 72px; 167 | } 168 | .input_width5 { 169 | width: 329px; 170 | } 171 | 172 | .width6, 173 | .grid6, 174 | .span-6 { 175 | width: 405px; 176 | } 177 | .width6_4cols, 178 | .grid6_4cols { 179 | width: 90px; 180 | } 181 | .input_width6 { 182 | width: 399px; 183 | } 184 | 185 | .width7, 186 | .grid7, 187 | .span-7 { 188 | width: 475px; 189 | } 190 | .width7_2cols, 191 | .grid7_2cols { 192 | width: 230px; 193 | } 194 | .width7_3cols, 195 | .grid7_3cols { 196 | width: 148px; 197 | } 198 | .width7_4cols, 199 | .grid7_4cols { 200 | width: 107px; 201 | } 202 | .input_width7 { 203 | width: 469px; 204 | } 205 | 206 | .width8, 207 | .grid8, 208 | .span-8 { 209 | width: 545px; 210 | } 211 | .width8_3cols, 212 | .grid8_3cols { 213 | width: 171px; 214 | } 215 | .input_width8 { 216 | width: 539px; 217 | } 218 | 219 | .width9, 220 | .grid9, 221 | .span-9 { 222 | width: 615px; 223 | } 224 | .width9_2cols, 225 | .grid9_2cols { 226 | width: 300px; 227 | } 228 | .width9_4cols, 229 | .grid9_4cols { 230 | width: 142px; 231 | } 232 | .input_width9 { 233 | width: 609px; 234 | } 235 | 236 | .width10, 237 | .grid10, 238 | .span-10 { 239 | width: 685px; 240 | } 241 | .width10_3cols, 242 | .grid10_3cols { 243 | width: 218px; 244 | } 245 | .width10_4cols, 246 | .grid10_4cols { 247 | width: 160px; 248 | } 249 | .input_width10 { 250 | width: 679px; 251 | } 252 | 253 | .width11, 254 | .grid11, 255 | .span-11 { 256 | width: 755px; 257 | } 258 | .width11_2cols, 259 | .grid11_2cols { 260 | width: 370px; 261 | } 262 | .width11_3cols, 263 | .grid11_3cols { 264 | width: 241px; 265 | } 266 | .width11_4cols, 267 | .grid11_4cols { 268 | width: 177px; 269 | } 270 | .input_width11 { 271 | width: 749px; 272 | } 273 | 274 | .width12, 275 | .grid12, 276 | .span-12 { 277 | width: 825px; 278 | } 279 | .input_width12 { 280 | width: 819px; 281 | } 282 | 283 | /* Subdivided grid spaces */ 284 | .emptycols_left1, 285 | .prepend-1 { 286 | padding-left: 70px; 287 | } 288 | .emptycols_right1, 289 | .append-1 { 290 | padding-right: 70px; 291 | } 292 | .emptycols_left2, 293 | .prepend-2 { 294 | padding-left: 140px; 295 | } 296 | .emptycols_right2, 297 | .append-2 { 298 | padding-right: 140px; 299 | } 300 | .emptycols_left3, 301 | .prepend-3 { 302 | padding-left: 210px; 303 | } 304 | .emptycols_right3, 305 | .append-3 { 306 | padding-right: 210px; 307 | } 308 | .emptycols_left4, 309 | .prepend-4 { 310 | padding-left: 280px; 311 | } 312 | .emptycols_right4, 313 | .append-4 { 314 | padding-right: 280px; 315 | } 316 | .emptycols_left5, 317 | .prepend-5 { 318 | padding-left: 350px; 319 | } 320 | .emptycols_right5, 321 | .append-5 { 322 | padding-right: 350px; 323 | } 324 | .emptycols_left6, 325 | .prepend-6 { 326 | padding-left: 420px; 327 | } 328 | .emptycols_right6, 329 | .append-6 { 330 | padding-right: 420px; 331 | } 332 | .emptycols_left7, 333 | .prepend-7 { 334 | padding-left: 490px; 335 | } 336 | .emptycols_right7, 337 | .append-7 { 338 | padding-right: 490px; 339 | } 340 | .emptycols_left8, 341 | .prepend-8 { 342 | padding-left: 560px; 343 | } 344 | .emptycols_right8, 345 | .append-8 { 346 | padding-right: 560px; 347 | } 348 | .emptycols_left9, 349 | .prepend-9 { 350 | padding-left: 630px; 351 | } 352 | .emptycols_right9, 353 | .append-9 { 354 | padding-right: 630px; 355 | } 356 | .emptycols_left10, 357 | .prepend-10 { 358 | padding-left: 700px; 359 | } 360 | .emptycols_right10, 361 | .append-10 { 362 | padding-right: 700px; 363 | } 364 | .emptycols_left11, 365 | .prepend-11 { 366 | padding-left: 770px; 367 | } 368 | .emptycols_right11, 369 | .append-11 { 370 | padding-right: 770px; 371 | } 372 | .pull-1 { 373 | margin-left: -70px; 374 | } 375 | .push-1 { 376 | margin-right: -70px; 377 | margin-left: 18px; 378 | float: right; 379 | } 380 | .pull-2 { 381 | margin-left: -140px; 382 | } 383 | .push-2 { 384 | margin-right: -140px; 385 | margin-left: 18px; 386 | float: right; 387 | } 388 | .pull-3 { 389 | margin-left: -210px; 390 | } 391 | .push-3 { 392 | margin-right: -210px; 393 | margin-left: 18px; 394 | float: right; 395 | } 396 | .pull-4 { 397 | margin-left: -280px; 398 | } 399 | .push-4 { 400 | margin-right: -280px; 401 | margin-left: 18px; 402 | float: right; 403 | } 404 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_book_macroman/specimen_files/specimen_stylesheet.css: -------------------------------------------------------------------------------- 1 | @import url('grid_12-825-55-15.css'); 2 | 3 | /* 4 | CSS Reset by Eric Meyer - Released under Public Domain 5 | http://meyerweb.com/eric/tools/css/reset/ 6 | */ 7 | html, 8 | body, 9 | div, 10 | span, 11 | applet, 12 | object, 13 | iframe, 14 | h1, 15 | h2, 16 | h3, 17 | h4, 18 | h5, 19 | h6, 20 | p, 21 | blockquote, 22 | pre, 23 | a, 24 | abbr, 25 | acronym, 26 | address, 27 | big, 28 | cite, 29 | code, 30 | del, 31 | dfn, 32 | em, 33 | font, 34 | img, 35 | ins, 36 | kbd, 37 | q, 38 | s, 39 | samp, 40 | small, 41 | strike, 42 | strong, 43 | sub, 44 | sup, 45 | tt, 46 | var, 47 | b, 48 | u, 49 | i, 50 | center, 51 | dl, 52 | dt, 53 | dd, 54 | ol, 55 | ul, 56 | li, 57 | fieldset, 58 | form, 59 | label, 60 | legend, 61 | table, 62 | caption, 63 | tbody, 64 | tfoot, 65 | thead, 66 | tr, 67 | th, 68 | td { 69 | margin: 0; 70 | padding: 0; 71 | border: 0; 72 | outline: 0; 73 | font-size: 100%; 74 | vertical-align: baseline; 75 | background: transparent; 76 | } 77 | body { 78 | line-height: 1; 79 | } 80 | ol, 81 | ul { 82 | list-style: none; 83 | } 84 | blockquote, 85 | q { 86 | quotes: none; 87 | } 88 | blockquote:before, 89 | blockquote:after, 90 | q:before, 91 | q:after { 92 | content: ''; 93 | content: none; 94 | } 95 | :focus { 96 | outline: 0; 97 | } 98 | ins { 99 | text-decoration: none; 100 | } 101 | del { 102 | text-decoration: line-through; 103 | } 104 | table { 105 | border-collapse: collapse; 106 | border-spacing: 0; 107 | } 108 | 109 | body { 110 | color: #000; 111 | background-color: #dcdcdc; 112 | } 113 | 114 | a { 115 | text-decoration: none; 116 | color: #1883ba; 117 | } 118 | 119 | h1 { 120 | font-size: 32px; 121 | font-weight: normal; 122 | font-style: normal; 123 | margin-bottom: 18px; 124 | } 125 | 126 | h2 { 127 | font-size: 18px; 128 | } 129 | 130 | #container { 131 | width: 865px; 132 | margin: 0px auto; 133 | } 134 | 135 | #header { 136 | padding: 20px; 137 | font-size: 36px; 138 | background-color: #000; 139 | color: #fff; 140 | } 141 | 142 | #header span { 143 | color: #666; 144 | } 145 | #main_content { 146 | background-color: #fff; 147 | padding: 60px 20px 20px; 148 | } 149 | 150 | #footer p { 151 | margin: 0; 152 | padding-top: 10px; 153 | padding-bottom: 50px; 154 | color: #333; 155 | font: 10px Arial, sans-serif; 156 | } 157 | 158 | .tabs { 159 | width: 100%; 160 | height: 31px; 161 | background-color: #444; 162 | } 163 | .tabs li { 164 | float: left; 165 | margin: 0; 166 | overflow: hidden; 167 | background-color: #444; 168 | } 169 | .tabs li a { 170 | display: block; 171 | color: #fff; 172 | text-decoration: none; 173 | font: bold 11px/11px 'Arial'; 174 | text-transform: uppercase; 175 | padding: 10px 15px; 176 | border-right: 1px solid #fff; 177 | } 178 | 179 | .tabs li a:hover { 180 | background-color: #00b3ff; 181 | } 182 | 183 | .tabs li.active a { 184 | color: #000; 185 | background-color: #fff; 186 | } 187 | 188 | div.huge { 189 | font-size: 300px; 190 | line-height: 1em; 191 | padding: 0; 192 | letter-spacing: -0.02em; 193 | overflow: hidden; 194 | } 195 | div.glyph_range { 196 | font-size: 72px; 197 | line-height: 1.1em; 198 | } 199 | 200 | .size10 { 201 | font-size: 10px; 202 | } 203 | .size11 { 204 | font-size: 11px; 205 | } 206 | .size12 { 207 | font-size: 12px; 208 | } 209 | .size13 { 210 | font-size: 13px; 211 | } 212 | .size14 { 213 | font-size: 14px; 214 | } 215 | .size16 { 216 | font-size: 16px; 217 | } 218 | .size18 { 219 | font-size: 18px; 220 | } 221 | .size20 { 222 | font-size: 20px; 223 | } 224 | .size24 { 225 | font-size: 24px; 226 | } 227 | .size30 { 228 | font-size: 30px; 229 | } 230 | .size36 { 231 | font-size: 36px; 232 | } 233 | .size48 { 234 | font-size: 48px; 235 | } 236 | .size60 { 237 | font-size: 60px; 238 | } 239 | .size72 { 240 | font-size: 72px; 241 | } 242 | .size90 { 243 | font-size: 90px; 244 | } 245 | 246 | .psample_row1 { 247 | height: 120px; 248 | } 249 | .psample_row1 { 250 | height: 120px; 251 | } 252 | .psample_row2 { 253 | height: 160px; 254 | } 255 | .psample_row3 { 256 | height: 160px; 257 | } 258 | .psample_row4 { 259 | height: 160px; 260 | } 261 | 262 | .psample { 263 | overflow: hidden; 264 | position: relative; 265 | } 266 | .psample p { 267 | line-height: 1.3em; 268 | display: block; 269 | overflow: hidden; 270 | margin: 0; 271 | } 272 | 273 | .psample span { 274 | margin-right: 0.5em; 275 | } 276 | 277 | .white_blend { 278 | width: 100%; 279 | height: 61px; 280 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVkAAAA9CAYAAAAH4BojAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAO1JREFUeNrs3TsKgFAMRUE/eer+NxztxMYuEWQG3ECKwwUF58ycAKixOAGAyAKILAAiCyCyACILgMgCiCyAyAIgsgAiCyCyAIgsgMgCiCwAIgsgsgAiC4DIAogsACIL0CWuZ3UGgLrIhjMA1EV2OAOAJQtgyQLwjOzmDAAiCyCyAIgsQFtkd2cAEFkAkQVAZAHaIns4A4AlC2DJAiCyACILILIAiCzAV5H1dQGAJQsgsgCILIDIAvwisl58AViyAJYsACILILIAIgvAe2T9EhxAZAFEFgCRBeiL7HAGgLrIhjMAWLIAliwAt1OAAQDwygTBulLIlQAAAABJRU5ErkJggg==); 281 | position: absolute; 282 | bottom: 0; 283 | } 284 | .black_blend { 285 | width: 100%; 286 | height: 61px; 287 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVkAAAA9CAYAAAAH4BojAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPJJREFUeNrs3TEKhTAQRVGjibr/9QoxhY2N3Ywo50A28IrLwP9g6b1PAMSYTQAgsgAiC4DIAogsgMgCILIAIgsgsgCILIDIAogsACILILIAIguAyAKILIDIAiCyACILgMgCZCnjLWYAiFGvB0BQZJsZAFyyAC5ZAO6RXc0AILIAIguAyAKkRXYzA4DIAogsACILkBbZ3QwALlkAlywAIgsgsgAiC4DIArwVWf8uAHDJAogsACILILIAv4isH74AXLIALlkARBZAZAFEFoDnyPokOIDIAogsACILkBfZZgaAuMhWMwC4ZAE+p4x3mAEgxinAAJ+XBbPWGkwAAAAAAElFTkSuQmCC); 288 | position: absolute; 289 | bottom: 0; 290 | } 291 | .fullreverse { 292 | background: #000 !important; 293 | color: #fff !important; 294 | margin-left: -20px; 295 | padding-left: 20px; 296 | margin-right: -20px; 297 | padding-right: 20px; 298 | padding: 20px; 299 | margin-bottom: 0; 300 | } 301 | 302 | .sample_table td { 303 | padding-top: 3px; 304 | padding-bottom: 5px; 305 | padding-left: 5px; 306 | vertical-align: middle; 307 | line-height: 1.2em; 308 | } 309 | 310 | .sample_table td:first-child { 311 | background-color: #eee; 312 | text-align: right; 313 | padding-right: 5px; 314 | padding-left: 0; 315 | padding: 5px; 316 | font: 11px/12px 'Courier New', Courier, mono; 317 | } 318 | 319 | code { 320 | white-space: pre; 321 | background-color: #eee; 322 | display: block; 323 | padding: 10px; 324 | margin-bottom: 18px; 325 | overflow: auto; 326 | } 327 | 328 | .bottom, 329 | .last { 330 | margin-bottom: 0 !important; 331 | padding-bottom: 0 !important; 332 | } 333 | 334 | .box { 335 | padding: 18px; 336 | margin-bottom: 18px; 337 | background: #eee; 338 | } 339 | 340 | .reverse, 341 | .reversed { 342 | background: #000 !important; 343 | color: #fff !important; 344 | border: none !important; 345 | } 346 | 347 | #bodycomparison { 348 | position: relative; 349 | overflow: hidden; 350 | font-size: 72px; 351 | height: 90px; 352 | white-space: nowrap; 353 | } 354 | 355 | #bodycomparison div { 356 | font-size: 72px; 357 | line-height: 90px; 358 | display: inline; 359 | margin: 0 15px 0 0; 360 | padding: 0; 361 | } 362 | 363 | #bodycomparison div span { 364 | font: 10px Arial; 365 | position: absolute; 366 | left: 0; 367 | } 368 | #xheight { 369 | float: none; 370 | position: absolute; 371 | color: #d9f3ff; 372 | font-size: 72px; 373 | line-height: 90px; 374 | } 375 | 376 | .fontbody { 377 | position: relative; 378 | } 379 | .arialbody { 380 | font-family: Arial; 381 | position: relative; 382 | } 383 | .verdanabody { 384 | font-family: Verdana; 385 | position: relative; 386 | } 387 | .georgiabody { 388 | font-family: Georgia; 389 | position: relative; 390 | } 391 | 392 | /* @group Layout page 393 | */ 394 | 395 | #layout h1 { 396 | font-size: 36px; 397 | line-height: 42px; 398 | font-weight: normal; 399 | font-style: normal; 400 | } 401 | 402 | #layout h2 { 403 | font-size: 24px; 404 | line-height: 23px; 405 | font-weight: normal; 406 | font-style: normal; 407 | } 408 | 409 | #layout h3 { 410 | font-size: 22px; 411 | line-height: 1.4em; 412 | margin-top: 1em; 413 | font-weight: normal; 414 | font-style: normal; 415 | } 416 | 417 | #layout p.byline { 418 | font-size: 12px; 419 | margin-top: 18px; 420 | line-height: 12px; 421 | margin-bottom: 0; 422 | } 423 | #layout p { 424 | font-size: 14px; 425 | line-height: 21px; 426 | margin-bottom: 0.5em; 427 | } 428 | 429 | #layout p.large { 430 | font-size: 18px; 431 | line-height: 26px; 432 | } 433 | 434 | #layout .sidebar p { 435 | font-size: 12px; 436 | line-height: 1.4em; 437 | } 438 | 439 | #layout p.caption { 440 | font-size: 10px; 441 | margin-top: -16px; 442 | margin-bottom: 18px; 443 | } 444 | 445 | /* @end */ 446 | 447 | /* @group Glyphs */ 448 | 449 | #glyph_chart div { 450 | background-color: #d9f3ff; 451 | color: black; 452 | float: left; 453 | font-size: 36px; 454 | height: 1.2em; 455 | line-height: 1.2em; 456 | margin-bottom: 1px; 457 | margin-right: 1px; 458 | text-align: center; 459 | width: 1.2em; 460 | position: relative; 461 | padding: 0.6em 0.2em 0.2em; 462 | } 463 | 464 | #glyph_chart div p { 465 | position: absolute; 466 | left: 0; 467 | top: 0; 468 | display: block; 469 | text-align: center; 470 | font: bold 9px Arial, sans-serif; 471 | background-color: #3a768f; 472 | width: 100%; 473 | color: #fff; 474 | padding: 2px 0; 475 | } 476 | 477 | #glyphs h1 { 478 | font-family: Arial, sans-serif; 479 | } 480 | /* @end */ 481 | 482 | /* @group Installing */ 483 | 484 | #installing { 485 | font: 13px Arial, sans-serif; 486 | } 487 | 488 | #installing p, 489 | #glyphs p { 490 | line-height: 1.2em; 491 | margin-bottom: 18px; 492 | font: 13px Arial, sans-serif; 493 | } 494 | 495 | #installing h3 { 496 | font-size: 15px; 497 | margin-top: 18px; 498 | } 499 | 500 | /* @end */ 501 | 502 | #rendering h1 { 503 | font-family: Arial, sans-serif; 504 | } 505 | .render_table td { 506 | font: 11px 'Courier New', Courier, mono; 507 | vertical-align: middle; 508 | } 509 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_book_macroman/stylesheet.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Web Fonts from fontspring.com 3 | * 4 | * All OpenType features and all extended glyphs have been removed. 5 | * Fully installable fonts can be purchased at http://www.fontspring.com 6 | * 7 | * The fonts included in this stylesheet are subject to the End User License you purchased 8 | * from Fontspring. The fonts are protected under domestic and international trademark and 9 | * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or 10 | * distributing this font software. 11 | * 12 | * (c) 2010-2016 Fontspring 13 | * 14 | * 15 | * 16 | * 17 | * The fonts included are copyrighted by the vendor listed below. 18 | * 19 | * Vendor: ParaType 20 | * License URL: https://www.fontspring.com/licenses/paratype/webfont 21 | * 22 | * 23 | */ 24 | 25 | @font-face { 26 | font-family: 'Futura PT'; 27 | font-display: swap; 28 | src: url('./ftn45-webfont.woff2') format('woff2'), 29 | url('./ftn45-webfont.woff') format('woff'), 30 | url('./ftn45-webfont.ttf') format('truetype'); 31 | font-weight: normal; 32 | font-style: normal; 33 | } 34 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_bookitalic_macroman/ftn46-demo.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 17 | 18 | Futura PT Book Italic Specimen 19 | 20 | 21 | 26 | 27 | 28 | 29 |
30 | 32 | 39 | 40 |
41 | 42 | 43 |
44 | 45 |
46 |
47 |
AaBb
48 |
49 |
50 | 51 |
52 |
A​B​C​D​E​F​G​H​I​J​K​L​M​N​O​P​Q​R​S​T​U​V​W​X​Y​Z​a​b​c​d​e​f​g​h​i​j​k​l​m​n​o​p​q​r​s​t​u​v​w​x​y​z​1​2​3​4​5​6​7​8​9​0​&​.​,​?​!​@​(​)​#​$​%​*​+​-​=​:​;
53 |
54 |
55 |
56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 |
10abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
11abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
12abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
13abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
14abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
16abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
18abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
20abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
24abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
30abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
36abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
48abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
60abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
72abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
90abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
73 | 74 |
75 | 76 |
77 | 78 | 79 | 80 |
81 | 82 | 83 |
84 |
body
body
body
body
85 |
86 | bodyFutura PT Book Italic 87 |
88 |
89 | bodyArial 90 |
91 |
92 | bodyVerdana 93 |
94 |
95 | bodyGeorgia 96 |
97 | 98 | 99 | 100 |
101 | 102 | 103 |
104 | 105 |
106 |

10.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

107 | 108 |
109 |
110 |

11.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

111 | 112 |
113 |
114 |

12.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

115 | 116 |
117 |
118 |

13.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

119 | 120 |
121 |
122 | 123 |
124 |
125 |
126 |

14.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

127 | 128 |
129 |
130 |

16.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

131 | 132 |
133 |
134 |

18.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

135 | 136 |
137 | 138 |
139 | 140 |
141 | 142 |
143 |
144 |

20.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

145 |
146 |
147 |

24.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

148 |
149 | 150 |
151 | 152 |
153 | 154 |
155 |
156 |

30.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

157 |
158 |
159 | 160 |
161 | 162 | 163 | 164 |
165 |
166 |

10.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

167 | 168 |
169 |
170 |

11.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

171 | 172 |
173 |
174 |

12.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

175 | 176 |
177 |
178 |

13.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

179 | 180 |
181 |
182 | 183 |
184 | 185 |
186 |
187 |

14.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

188 | 189 |
190 |
191 |

16.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

192 | 193 |
194 |
195 |

18.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

196 | 197 |
198 |
199 | 200 |
201 | 202 |
203 |
204 |

20.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

205 |
206 |
207 |

24.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

208 |
209 | 210 |
211 | 212 |
213 | 214 |
215 |
216 |

30.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

217 |
218 |
219 | 220 |
221 | 222 | 223 | 224 | 225 |
226 | 227 |
228 | 229 |
230 | 231 |
232 |

Lorem Ipsum Dolor

233 |

Etiam porta sem malesuada magna mollis euismod

234 | 235 | 236 |
237 |
238 |
239 |
240 |

Donec sed odio dui. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

241 | 242 | 243 |

Pellentesque ornare sem

244 | 245 |

Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas faucibus mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam id dolor id nibh ultricies vehicula ut id elit.

246 | 247 |

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

248 | 249 |

Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Aenean lacinia bibendum nulla sed consectetur.

250 | 251 |

Nullam quis risus eget urna mollis ornare vel eu leo. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec ullamcorper nulla non metus auctor fringilla.

252 | 253 |

Cras mattis consectetur

254 | 255 |

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Aenean lacinia bibendum nulla sed consectetur. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras mattis consectetur purus sit amet fermentum.

256 | 257 |

Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam quis risus eget urna mollis ornare vel eu leo. Cras mattis consectetur purus sit amet fermentum.

258 |
259 | 260 | 277 |
278 | 279 |
280 | 281 | 282 | 283 | 284 | 285 | 286 |
287 |
288 |
289 | 290 |

Language Support

291 |

The subset of Futura PT Book Italic in this kit supports the following languages:
292 | 293 | Albanian, Alsatian, Aragonese, Arapaho, Aromanian, Arrernte, Asturian, Aymara, Azerbaijani (Cyrillic), Bashkir, Basque, Belarusian, Belarusian (Lacinka), Bislama, Bosnian, Breton, Buryat (Cyrillic), Catalan, Cebuano, Chamorro, Cheyenne, Chuvash, Cimbrian, Corsican, Croatian, Cyrillic, Czech, Danish, Demo, Dungan, Dutch, English, Esperanto, Estonian, Evenki (Cyrillic), Faroese, Fijian, Finnish, French, French Creole (Saint Lucia), Frisian, Friulian, Galician, Genoese, German, Gilbertese (Kiribati), Greenlandic, Haitian Creole, Hawaiian, Hiligaynon, Hill Mari, Hmong, Hopi, Hungarian, Ibanag, Iloko (Ilokano), Indonesian, Interglossa (Glosa), Interlingua, Irish (Gaelic), Islandic, Istro-Romanian, Italian, Jèrriais, Kalmyk (Cyrillic), Karachay (Cyrillic), Kashubian, Kazakh (Cyrillic), Khalkha, Khanty, Komi-Permyak, Kurdish (Kurmanji), Kyrgyz (Cyrillic), Ladin, Latin Basic, Latvian, Lithuanian, Lojban, Lombard, Low Saxon, Luxembourgian, Malagasy, Maltese, Manx, Maori, Meadow Mari, Megleno-Romanian, Mohawk, Moldovan, Nahuatl, Nenets, Norfolk/Pitcairnese, Northern Sotho (Pedi), Norwegian, Occitan, Oromo, Ossetian, Pangasinan, Papiamento, Piedmontese, Polish, Portuguese, Potawatomi, Quechua, Rhaeto-Romance, Romanian, Romansh (Rumantsch), Rotokas, Russian, Rusyn, Sami (Lule), Samoan, Sardinian (Sardu), Scots (Gaelic), Serbian (Cyrillic), Seychellois Creole (Seselwa), Shona, Sicilian, Slovak, Slovenian (Slovene), Somali, Southern Ndebele, Southern Sotho (Sesotho), Spanish, Swahili, Swati/Swazi, Swedish, Tagalog (Filipino/Pilipino), Tahitian, Tajik, Tatar (Cyrillic), Tausug, Tetum (Tetun), Tok Pisin, Tongan (Faka-Tonga), Tswana, Turkish, Turkmen, Turkmen (Cyrillic), Turkmen (Latinized), Tuvaluan, Tuvin, ubasic, Udmurt, Ukrainian, Uyghur (Cyrillic), Uyghur (Latinized), Uzbek (Cyrillic), Veps, Volapük, Votic (Cyrillic), Votic (Latinized), Walloon, Warlpiri, Xhosa, Yakut/Sakha, Yapese, Zulu

294 |

Glyph Chart

295 |

The subset of Futura PT Book Italic in this kit includes all the glyphs listed below. Unicode entities are included above each glyph to help you insert individual characters into your layout.

296 |
297 | 298 |
299 |
300 | 301 | 302 |
303 |
304 | 305 | 306 |
307 | 308 |
309 | 310 |
311 |
312 |
313 |

Installing Webfonts

314 | 315 |

Webfonts are supported by all major browser platforms but not all in the same way. There are currently four different font formats that must be included in order to target all browsers. This includes TTF, WOFF, EOT and SVG.

316 | 317 |

1. Upload your webfonts

318 |

You must upload your webfont kit to your website. They should be in or near the same directory as your CSS files.

319 | 320 |

2. Include the webfont stylesheet

321 |

A special CSS @font-face declaration helps the various browsers select the appropriate font it needs without causing you a bunch of headaches. Learn more about this syntax by reading the Fontspring blog post about it. The code for it is as follows:

322 | 323 | 324 | 325 | @font-face{ 326 | font-family: 'MyWebFont'; 327 | src: url('WebFont.eot'); 328 | src: url('WebFont.eot?#iefix') format('embedded-opentype'), 329 | url('WebFont.woff') format('woff'), 330 | url('WebFont.ttf') format('truetype'), 331 | url('WebFont.svg#webfont') format('svg'); 332 | } 333 | 334 | 335 |

We've already gone ahead and generated the code for you. All you have to do is link to the stylesheet in your HTML, like this:

336 | <link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" /> 337 | 338 |

3. Modify your own stylesheet

339 |

To take advantage of your new fonts, you must tell your stylesheet to use them. Look at the original @font-face declaration above and find the property called "font-family." The name linked there will be what you use to reference the font. Prepend that webfont name to the font stack in the "font-family" property, inside the selector you want to change. For example:

340 | p { font-family: 'MyWebFont', Arial, sans-serif; } 341 | 342 |

4. Test

343 |

Getting webfonts to work cross-browser can be tricky. Use the information in the sidebar to help you if you find that fonts aren't loading in a particular browser.

344 |
345 | 346 | 372 |
373 | 374 |
375 | 376 |
377 | 380 |
381 | 382 | 383 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_bookitalic_macroman/ftn46-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_bookitalic_macroman/ftn46-webfont.eot -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_bookitalic_macroman/ftn46-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_bookitalic_macroman/ftn46-webfont.ttf -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_bookitalic_macroman/ftn46-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_bookitalic_macroman/ftn46-webfont.woff -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_bookitalic_macroman/ftn46-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_bookitalic_macroman/ftn46-webfont.woff2 -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_bookitalic_macroman/specimen_files/grid_12-825-55-15.css: -------------------------------------------------------------------------------- 1 | /*Notes about grid: 2 | Columns: 12 3 | Grid Width: 825px 4 | Column Width: 55px 5 | Gutter Width: 15px 6 | -------------------------------*/ 7 | 8 | .section { 9 | margin-bottom: 18px; 10 | } 11 | .section:after { 12 | content: '.'; 13 | display: block; 14 | height: 0; 15 | clear: both; 16 | visibility: hidden; 17 | } 18 | .section { 19 | *zoom: 1; 20 | } 21 | 22 | .section .firstcolumn, 23 | .section .firstcol { 24 | margin-left: 0; 25 | } 26 | 27 | /* Border on left hand side of a column. */ 28 | .border { 29 | padding-left: 7px; 30 | margin-left: 7px; 31 | border-left: 1px solid #eee; 32 | } 33 | 34 | /* Border with more whitespace, spans one column. */ 35 | .colborder { 36 | padding-left: 42px; 37 | margin-left: 42px; 38 | border-left: 1px solid #eee; 39 | } 40 | 41 | /* The Grid Classes */ 42 | .grid1, 43 | .grid1_2cols, 44 | .grid1_3cols, 45 | .grid1_4cols, 46 | .grid2, 47 | .grid2_3cols, 48 | .grid2_4cols, 49 | .grid3, 50 | .grid3_2cols, 51 | .grid3_4cols, 52 | .grid4, 53 | .grid4_3cols, 54 | .grid5, 55 | .grid5_2cols, 56 | .grid5_3cols, 57 | .grid5_4cols, 58 | .grid6, 59 | .grid6_4cols, 60 | .grid7, 61 | .grid7_2cols, 62 | .grid7_3cols, 63 | .grid7_4cols, 64 | .grid8, 65 | .grid8_3cols, 66 | .grid9, 67 | .grid9_2cols, 68 | .grid9_4cols, 69 | .grid10, 70 | .grid10_3cols, 71 | .grid10_4cols, 72 | .grid11, 73 | .grid11_2cols, 74 | .grid11_3cols, 75 | .grid11_4cols, 76 | .grid12 { 77 | margin-left: 15px; 78 | float: left; 79 | display: inline; 80 | overflow: hidden; 81 | } 82 | 83 | .width1, 84 | .grid1, 85 | .span-1 { 86 | width: 55px; 87 | } 88 | .width1_2cols, 89 | .grid1_2cols { 90 | width: 20px; 91 | } 92 | .width1_3cols, 93 | .grid1_3cols { 94 | width: 8px; 95 | } 96 | .width1_4cols, 97 | .grid1_4cols { 98 | width: 2px; 99 | } 100 | .input_width1 { 101 | width: 49px; 102 | } 103 | 104 | .width2, 105 | .grid2, 106 | .span-2 { 107 | width: 125px; 108 | } 109 | .width2_3cols, 110 | .grid2_3cols { 111 | width: 31px; 112 | } 113 | .width2_4cols, 114 | .grid2_4cols { 115 | width: 20px; 116 | } 117 | .input_width2 { 118 | width: 119px; 119 | } 120 | 121 | .width3, 122 | .grid3, 123 | .span-3 { 124 | width: 195px; 125 | } 126 | .width3_2cols, 127 | .grid3_2cols { 128 | width: 90px; 129 | } 130 | .width3_4cols, 131 | .grid3_4cols { 132 | width: 37px; 133 | } 134 | .input_width3 { 135 | width: 189px; 136 | } 137 | 138 | .width4, 139 | .grid4, 140 | .span-4 { 141 | width: 265px; 142 | } 143 | .width4_3cols, 144 | .grid4_3cols { 145 | width: 78px; 146 | } 147 | .input_width4 { 148 | width: 259px; 149 | } 150 | 151 | .width5, 152 | .grid5, 153 | .span-5 { 154 | width: 335px; 155 | } 156 | .width5_2cols, 157 | .grid5_2cols { 158 | width: 160px; 159 | } 160 | .width5_3cols, 161 | .grid5_3cols { 162 | width: 101px; 163 | } 164 | .width5_4cols, 165 | .grid5_4cols { 166 | width: 72px; 167 | } 168 | .input_width5 { 169 | width: 329px; 170 | } 171 | 172 | .width6, 173 | .grid6, 174 | .span-6 { 175 | width: 405px; 176 | } 177 | .width6_4cols, 178 | .grid6_4cols { 179 | width: 90px; 180 | } 181 | .input_width6 { 182 | width: 399px; 183 | } 184 | 185 | .width7, 186 | .grid7, 187 | .span-7 { 188 | width: 475px; 189 | } 190 | .width7_2cols, 191 | .grid7_2cols { 192 | width: 230px; 193 | } 194 | .width7_3cols, 195 | .grid7_3cols { 196 | width: 148px; 197 | } 198 | .width7_4cols, 199 | .grid7_4cols { 200 | width: 107px; 201 | } 202 | .input_width7 { 203 | width: 469px; 204 | } 205 | 206 | .width8, 207 | .grid8, 208 | .span-8 { 209 | width: 545px; 210 | } 211 | .width8_3cols, 212 | .grid8_3cols { 213 | width: 171px; 214 | } 215 | .input_width8 { 216 | width: 539px; 217 | } 218 | 219 | .width9, 220 | .grid9, 221 | .span-9 { 222 | width: 615px; 223 | } 224 | .width9_2cols, 225 | .grid9_2cols { 226 | width: 300px; 227 | } 228 | .width9_4cols, 229 | .grid9_4cols { 230 | width: 142px; 231 | } 232 | .input_width9 { 233 | width: 609px; 234 | } 235 | 236 | .width10, 237 | .grid10, 238 | .span-10 { 239 | width: 685px; 240 | } 241 | .width10_3cols, 242 | .grid10_3cols { 243 | width: 218px; 244 | } 245 | .width10_4cols, 246 | .grid10_4cols { 247 | width: 160px; 248 | } 249 | .input_width10 { 250 | width: 679px; 251 | } 252 | 253 | .width11, 254 | .grid11, 255 | .span-11 { 256 | width: 755px; 257 | } 258 | .width11_2cols, 259 | .grid11_2cols { 260 | width: 370px; 261 | } 262 | .width11_3cols, 263 | .grid11_3cols { 264 | width: 241px; 265 | } 266 | .width11_4cols, 267 | .grid11_4cols { 268 | width: 177px; 269 | } 270 | .input_width11 { 271 | width: 749px; 272 | } 273 | 274 | .width12, 275 | .grid12, 276 | .span-12 { 277 | width: 825px; 278 | } 279 | .input_width12 { 280 | width: 819px; 281 | } 282 | 283 | /* Subdivided grid spaces */ 284 | .emptycols_left1, 285 | .prepend-1 { 286 | padding-left: 70px; 287 | } 288 | .emptycols_right1, 289 | .append-1 { 290 | padding-right: 70px; 291 | } 292 | .emptycols_left2, 293 | .prepend-2 { 294 | padding-left: 140px; 295 | } 296 | .emptycols_right2, 297 | .append-2 { 298 | padding-right: 140px; 299 | } 300 | .emptycols_left3, 301 | .prepend-3 { 302 | padding-left: 210px; 303 | } 304 | .emptycols_right3, 305 | .append-3 { 306 | padding-right: 210px; 307 | } 308 | .emptycols_left4, 309 | .prepend-4 { 310 | padding-left: 280px; 311 | } 312 | .emptycols_right4, 313 | .append-4 { 314 | padding-right: 280px; 315 | } 316 | .emptycols_left5, 317 | .prepend-5 { 318 | padding-left: 350px; 319 | } 320 | .emptycols_right5, 321 | .append-5 { 322 | padding-right: 350px; 323 | } 324 | .emptycols_left6, 325 | .prepend-6 { 326 | padding-left: 420px; 327 | } 328 | .emptycols_right6, 329 | .append-6 { 330 | padding-right: 420px; 331 | } 332 | .emptycols_left7, 333 | .prepend-7 { 334 | padding-left: 490px; 335 | } 336 | .emptycols_right7, 337 | .append-7 { 338 | padding-right: 490px; 339 | } 340 | .emptycols_left8, 341 | .prepend-8 { 342 | padding-left: 560px; 343 | } 344 | .emptycols_right8, 345 | .append-8 { 346 | padding-right: 560px; 347 | } 348 | .emptycols_left9, 349 | .prepend-9 { 350 | padding-left: 630px; 351 | } 352 | .emptycols_right9, 353 | .append-9 { 354 | padding-right: 630px; 355 | } 356 | .emptycols_left10, 357 | .prepend-10 { 358 | padding-left: 700px; 359 | } 360 | .emptycols_right10, 361 | .append-10 { 362 | padding-right: 700px; 363 | } 364 | .emptycols_left11, 365 | .prepend-11 { 366 | padding-left: 770px; 367 | } 368 | .emptycols_right11, 369 | .append-11 { 370 | padding-right: 770px; 371 | } 372 | .pull-1 { 373 | margin-left: -70px; 374 | } 375 | .push-1 { 376 | margin-right: -70px; 377 | margin-left: 18px; 378 | float: right; 379 | } 380 | .pull-2 { 381 | margin-left: -140px; 382 | } 383 | .push-2 { 384 | margin-right: -140px; 385 | margin-left: 18px; 386 | float: right; 387 | } 388 | .pull-3 { 389 | margin-left: -210px; 390 | } 391 | .push-3 { 392 | margin-right: -210px; 393 | margin-left: 18px; 394 | float: right; 395 | } 396 | .pull-4 { 397 | margin-left: -280px; 398 | } 399 | .push-4 { 400 | margin-right: -280px; 401 | margin-left: 18px; 402 | float: right; 403 | } 404 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_bookitalic_macroman/specimen_files/specimen_stylesheet.css: -------------------------------------------------------------------------------- 1 | @import url('grid_12-825-55-15.css'); 2 | 3 | /* 4 | CSS Reset by Eric Meyer - Released under Public Domain 5 | http://meyerweb.com/eric/tools/css/reset/ 6 | */ 7 | html, 8 | body, 9 | div, 10 | span, 11 | applet, 12 | object, 13 | iframe, 14 | h1, 15 | h2, 16 | h3, 17 | h4, 18 | h5, 19 | h6, 20 | p, 21 | blockquote, 22 | pre, 23 | a, 24 | abbr, 25 | acronym, 26 | address, 27 | big, 28 | cite, 29 | code, 30 | del, 31 | dfn, 32 | em, 33 | font, 34 | img, 35 | ins, 36 | kbd, 37 | q, 38 | s, 39 | samp, 40 | small, 41 | strike, 42 | strong, 43 | sub, 44 | sup, 45 | tt, 46 | var, 47 | b, 48 | u, 49 | i, 50 | center, 51 | dl, 52 | dt, 53 | dd, 54 | ol, 55 | ul, 56 | li, 57 | fieldset, 58 | form, 59 | label, 60 | legend, 61 | table, 62 | caption, 63 | tbody, 64 | tfoot, 65 | thead, 66 | tr, 67 | th, 68 | td { 69 | margin: 0; 70 | padding: 0; 71 | border: 0; 72 | outline: 0; 73 | font-size: 100%; 74 | vertical-align: baseline; 75 | background: transparent; 76 | } 77 | body { 78 | line-height: 1; 79 | } 80 | ol, 81 | ul { 82 | list-style: none; 83 | } 84 | blockquote, 85 | q { 86 | quotes: none; 87 | } 88 | blockquote:before, 89 | blockquote:after, 90 | q:before, 91 | q:after { 92 | content: ''; 93 | content: none; 94 | } 95 | :focus { 96 | outline: 0; 97 | } 98 | ins { 99 | text-decoration: none; 100 | } 101 | del { 102 | text-decoration: line-through; 103 | } 104 | table { 105 | border-collapse: collapse; 106 | border-spacing: 0; 107 | } 108 | 109 | body { 110 | color: #000; 111 | background-color: #dcdcdc; 112 | } 113 | 114 | a { 115 | text-decoration: none; 116 | color: #1883ba; 117 | } 118 | 119 | h1 { 120 | font-size: 32px; 121 | font-weight: normal; 122 | font-style: normal; 123 | margin-bottom: 18px; 124 | } 125 | 126 | h2 { 127 | font-size: 18px; 128 | } 129 | 130 | #container { 131 | width: 865px; 132 | margin: 0px auto; 133 | } 134 | 135 | #header { 136 | padding: 20px; 137 | font-size: 36px; 138 | background-color: #000; 139 | color: #fff; 140 | } 141 | 142 | #header span { 143 | color: #666; 144 | } 145 | #main_content { 146 | background-color: #fff; 147 | padding: 60px 20px 20px; 148 | } 149 | 150 | #footer p { 151 | margin: 0; 152 | padding-top: 10px; 153 | padding-bottom: 50px; 154 | color: #333; 155 | font: 10px Arial, sans-serif; 156 | } 157 | 158 | .tabs { 159 | width: 100%; 160 | height: 31px; 161 | background-color: #444; 162 | } 163 | .tabs li { 164 | float: left; 165 | margin: 0; 166 | overflow: hidden; 167 | background-color: #444; 168 | } 169 | .tabs li a { 170 | display: block; 171 | color: #fff; 172 | text-decoration: none; 173 | font: bold 11px/11px 'Arial'; 174 | text-transform: uppercase; 175 | padding: 10px 15px; 176 | border-right: 1px solid #fff; 177 | } 178 | 179 | .tabs li a:hover { 180 | background-color: #00b3ff; 181 | } 182 | 183 | .tabs li.active a { 184 | color: #000; 185 | background-color: #fff; 186 | } 187 | 188 | div.huge { 189 | font-size: 300px; 190 | line-height: 1em; 191 | padding: 0; 192 | letter-spacing: -0.02em; 193 | overflow: hidden; 194 | } 195 | div.glyph_range { 196 | font-size: 72px; 197 | line-height: 1.1em; 198 | } 199 | 200 | .size10 { 201 | font-size: 10px; 202 | } 203 | .size11 { 204 | font-size: 11px; 205 | } 206 | .size12 { 207 | font-size: 12px; 208 | } 209 | .size13 { 210 | font-size: 13px; 211 | } 212 | .size14 { 213 | font-size: 14px; 214 | } 215 | .size16 { 216 | font-size: 16px; 217 | } 218 | .size18 { 219 | font-size: 18px; 220 | } 221 | .size20 { 222 | font-size: 20px; 223 | } 224 | .size24 { 225 | font-size: 24px; 226 | } 227 | .size30 { 228 | font-size: 30px; 229 | } 230 | .size36 { 231 | font-size: 36px; 232 | } 233 | .size48 { 234 | font-size: 48px; 235 | } 236 | .size60 { 237 | font-size: 60px; 238 | } 239 | .size72 { 240 | font-size: 72px; 241 | } 242 | .size90 { 243 | font-size: 90px; 244 | } 245 | 246 | .psample_row1 { 247 | height: 120px; 248 | } 249 | .psample_row1 { 250 | height: 120px; 251 | } 252 | .psample_row2 { 253 | height: 160px; 254 | } 255 | .psample_row3 { 256 | height: 160px; 257 | } 258 | .psample_row4 { 259 | height: 160px; 260 | } 261 | 262 | .psample { 263 | overflow: hidden; 264 | position: relative; 265 | } 266 | .psample p { 267 | line-height: 1.3em; 268 | display: block; 269 | overflow: hidden; 270 | margin: 0; 271 | } 272 | 273 | .psample span { 274 | margin-right: 0.5em; 275 | } 276 | 277 | .white_blend { 278 | width: 100%; 279 | height: 61px; 280 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVkAAAA9CAYAAAAH4BojAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAO1JREFUeNrs3TsKgFAMRUE/eer+NxztxMYuEWQG3ECKwwUF58ycAKixOAGAyAKILAAiCyCyACILgMgCiCyAyAIgsgAiCyCyAIgsgMgCiCwAIgsgsgAiC4DIAogsACIL0CWuZ3UGgLrIhjMA1EV2OAOAJQtgyQLwjOzmDAAiCyCyAIgsQFtkd2cAEFkAkQVAZAHaIns4A4AlC2DJAiCyACILILIAiCzAV5H1dQGAJQsgsgCILIDIAvwisl58AViyAJYsACILILIAIgvAe2T9EhxAZAFEFgCRBeiL7HAGgLrIhjMAWLIAliwAt1OAAQDwygTBulLIlQAAAABJRU5ErkJggg==); 281 | position: absolute; 282 | bottom: 0; 283 | } 284 | .black_blend { 285 | width: 100%; 286 | height: 61px; 287 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVkAAAA9CAYAAAAH4BojAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPJJREFUeNrs3TEKhTAQRVGjibr/9QoxhY2N3Ywo50A28IrLwP9g6b1PAMSYTQAgsgAiC4DIAogsgMgCILIAIgsgsgCILIDIAogsACILILIAIguAyAKILIDIAiCyACILgMgCZCnjLWYAiFGvB0BQZJsZAFyyAC5ZAO6RXc0AILIAIguAyAKkRXYzA4DIAogsACILkBbZ3QwALlkAlywAIgsgsgAiC4DIArwVWf8uAHDJAogsACILILIAv4isH74AXLIALlkARBZAZAFEFoDnyPokOIDIAogsACILkBfZZgaAuMhWMwC4ZAE+p4x3mAEgxinAAJ+XBbPWGkwAAAAAAElFTkSuQmCC); 288 | position: absolute; 289 | bottom: 0; 290 | } 291 | .fullreverse { 292 | background: #000 !important; 293 | color: #fff !important; 294 | margin-left: -20px; 295 | padding-left: 20px; 296 | margin-right: -20px; 297 | padding-right: 20px; 298 | padding: 20px; 299 | margin-bottom: 0; 300 | } 301 | 302 | .sample_table td { 303 | padding-top: 3px; 304 | padding-bottom: 5px; 305 | padding-left: 5px; 306 | vertical-align: middle; 307 | line-height: 1.2em; 308 | } 309 | 310 | .sample_table td:first-child { 311 | background-color: #eee; 312 | text-align: right; 313 | padding-right: 5px; 314 | padding-left: 0; 315 | padding: 5px; 316 | font: 11px/12px 'Courier New', Courier, mono; 317 | } 318 | 319 | code { 320 | white-space: pre; 321 | background-color: #eee; 322 | display: block; 323 | padding: 10px; 324 | margin-bottom: 18px; 325 | overflow: auto; 326 | } 327 | 328 | .bottom, 329 | .last { 330 | margin-bottom: 0 !important; 331 | padding-bottom: 0 !important; 332 | } 333 | 334 | .box { 335 | padding: 18px; 336 | margin-bottom: 18px; 337 | background: #eee; 338 | } 339 | 340 | .reverse, 341 | .reversed { 342 | background: #000 !important; 343 | color: #fff !important; 344 | border: none !important; 345 | } 346 | 347 | #bodycomparison { 348 | position: relative; 349 | overflow: hidden; 350 | font-size: 72px; 351 | height: 90px; 352 | white-space: nowrap; 353 | } 354 | 355 | #bodycomparison div { 356 | font-size: 72px; 357 | line-height: 90px; 358 | display: inline; 359 | margin: 0 15px 0 0; 360 | padding: 0; 361 | } 362 | 363 | #bodycomparison div span { 364 | font: 10px Arial; 365 | position: absolute; 366 | left: 0; 367 | } 368 | #xheight { 369 | float: none; 370 | position: absolute; 371 | color: #d9f3ff; 372 | font-size: 72px; 373 | line-height: 90px; 374 | } 375 | 376 | .fontbody { 377 | position: relative; 378 | } 379 | .arialbody { 380 | font-family: Arial; 381 | position: relative; 382 | } 383 | .verdanabody { 384 | font-family: Verdana; 385 | position: relative; 386 | } 387 | .georgiabody { 388 | font-family: Georgia; 389 | position: relative; 390 | } 391 | 392 | /* @group Layout page 393 | */ 394 | 395 | #layout h1 { 396 | font-size: 36px; 397 | line-height: 42px; 398 | font-weight: normal; 399 | font-style: normal; 400 | } 401 | 402 | #layout h2 { 403 | font-size: 24px; 404 | line-height: 23px; 405 | font-weight: normal; 406 | font-style: normal; 407 | } 408 | 409 | #layout h3 { 410 | font-size: 22px; 411 | line-height: 1.4em; 412 | margin-top: 1em; 413 | font-weight: normal; 414 | font-style: normal; 415 | } 416 | 417 | #layout p.byline { 418 | font-size: 12px; 419 | margin-top: 18px; 420 | line-height: 12px; 421 | margin-bottom: 0; 422 | } 423 | #layout p { 424 | font-size: 14px; 425 | line-height: 21px; 426 | margin-bottom: 0.5em; 427 | } 428 | 429 | #layout p.large { 430 | font-size: 18px; 431 | line-height: 26px; 432 | } 433 | 434 | #layout .sidebar p { 435 | font-size: 12px; 436 | line-height: 1.4em; 437 | } 438 | 439 | #layout p.caption { 440 | font-size: 10px; 441 | margin-top: -16px; 442 | margin-bottom: 18px; 443 | } 444 | 445 | /* @end */ 446 | 447 | /* @group Glyphs */ 448 | 449 | #glyph_chart div { 450 | background-color: #d9f3ff; 451 | color: black; 452 | float: left; 453 | font-size: 36px; 454 | height: 1.2em; 455 | line-height: 1.2em; 456 | margin-bottom: 1px; 457 | margin-right: 1px; 458 | text-align: center; 459 | width: 1.2em; 460 | position: relative; 461 | padding: 0.6em 0.2em 0.2em; 462 | } 463 | 464 | #glyph_chart div p { 465 | position: absolute; 466 | left: 0; 467 | top: 0; 468 | display: block; 469 | text-align: center; 470 | font: bold 9px Arial, sans-serif; 471 | background-color: #3a768f; 472 | width: 100%; 473 | color: #fff; 474 | padding: 2px 0; 475 | } 476 | 477 | #glyphs h1 { 478 | font-family: Arial, sans-serif; 479 | } 480 | /* @end */ 481 | 482 | /* @group Installing */ 483 | 484 | #installing { 485 | font: 13px Arial, sans-serif; 486 | } 487 | 488 | #installing p, 489 | #glyphs p { 490 | line-height: 1.2em; 491 | margin-bottom: 18px; 492 | font: 13px Arial, sans-serif; 493 | } 494 | 495 | #installing h3 { 496 | font-size: 15px; 497 | margin-top: 18px; 498 | } 499 | 500 | /* @end */ 501 | 502 | #rendering h1 { 503 | font-family: Arial, sans-serif; 504 | } 505 | .render_table td { 506 | font: 11px 'Courier New', Courier, mono; 507 | vertical-align: middle; 508 | } 509 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_bookitalic_macroman/stylesheet.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Web Fonts from fontspring.com 3 | * 4 | * All OpenType features and all extended glyphs have been removed. 5 | * Fully installable fonts can be purchased at http://www.fontspring.com 6 | * 7 | * The fonts included in this stylesheet are subject to the End User License you purchased 8 | * from Fontspring. The fonts are protected under domestic and international trademark and 9 | * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or 10 | * distributing this font software. 11 | * 12 | * (c) 2010-2016 Fontspring 13 | * 14 | * 15 | * 16 | * 17 | * The fonts included are copyrighted by the vendor listed below. 18 | * 19 | * Vendor: ParaType 20 | * License URL: https://www.fontspring.com/licenses/paratype/webfont 21 | * 22 | * 23 | */ 24 | 25 | @font-face { 26 | font-family: 'Futura PT'; 27 | font-display: swap; 28 | src: url('ftn46-webfont.woff2') format('woff2'), 29 | url('ftn46-webfont.woff') format('woff'), 30 | url('ftn46-webfont.ttf') format('truetype'); 31 | font-weight: normal; 32 | font-style: italic; 33 | } 34 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demi_macroman/ftn65-demo.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 17 | 18 | Futura PT Demi Specimen 19 | 20 | 21 | 26 | 27 | 28 | 29 |
30 | 32 | 39 | 40 |
41 | 42 | 43 |
44 | 45 |
46 |
47 |
AaBb
48 |
49 |
50 | 51 |
52 |
A​B​C​D​E​F​G​H​I​J​K​L​M​N​O​P​Q​R​S​T​U​V​W​X​Y​Z​a​b​c​d​e​f​g​h​i​j​k​l​m​n​o​p​q​r​s​t​u​v​w​x​y​z​1​2​3​4​5​6​7​8​9​0​&​.​,​?​!​@​(​)​#​$​%​*​+​-​=​:​;
53 |
54 |
55 |
56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 |
10abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
11abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
12abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
13abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
14abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
16abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
18abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
20abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
24abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
30abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
36abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
48abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
60abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
72abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
90abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
73 | 74 |
75 | 76 |
77 | 78 | 79 | 80 |
81 | 82 | 83 |
84 |
body
body
body
body
85 |
86 | bodyFutura PT Demi 87 |
88 |
89 | bodyArial 90 |
91 |
92 | bodyVerdana 93 |
94 |
95 | bodyGeorgia 96 |
97 | 98 | 99 | 100 |
101 | 102 | 103 |
104 | 105 |
106 |

10.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

107 | 108 |
109 |
110 |

11.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

111 | 112 |
113 |
114 |

12.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

115 | 116 |
117 |
118 |

13.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

119 | 120 |
121 |
122 | 123 |
124 |
125 |
126 |

14.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

127 | 128 |
129 |
130 |

16.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

131 | 132 |
133 |
134 |

18.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

135 | 136 |
137 | 138 |
139 | 140 |
141 | 142 |
143 |
144 |

20.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

145 |
146 |
147 |

24.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

148 |
149 | 150 |
151 | 152 |
153 | 154 |
155 |
156 |

30.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

157 |
158 |
159 | 160 |
161 | 162 | 163 | 164 |
165 |
166 |

10.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

167 | 168 |
169 |
170 |

11.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

171 | 172 |
173 |
174 |

12.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

175 | 176 |
177 |
178 |

13.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

179 | 180 |
181 |
182 | 183 |
184 | 185 |
186 |
187 |

14.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

188 | 189 |
190 |
191 |

16.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

192 | 193 |
194 |
195 |

18.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

196 | 197 |
198 |
199 | 200 |
201 | 202 |
203 |
204 |

20.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

205 |
206 |
207 |

24.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

208 |
209 | 210 |
211 | 212 |
213 | 214 |
215 |
216 |

30.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

217 |
218 |
219 | 220 |
221 | 222 | 223 | 224 | 225 |
226 | 227 |
228 | 229 |
230 | 231 |
232 |

Lorem Ipsum Dolor

233 |

Etiam porta sem malesuada magna mollis euismod

234 | 235 | 236 |
237 |
238 |
239 |
240 |

Donec sed odio dui. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

241 | 242 | 243 |

Pellentesque ornare sem

244 | 245 |

Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas faucibus mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam id dolor id nibh ultricies vehicula ut id elit.

246 | 247 |

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

248 | 249 |

Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Aenean lacinia bibendum nulla sed consectetur.

250 | 251 |

Nullam quis risus eget urna mollis ornare vel eu leo. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec ullamcorper nulla non metus auctor fringilla.

252 | 253 |

Cras mattis consectetur

254 | 255 |

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Aenean lacinia bibendum nulla sed consectetur. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras mattis consectetur purus sit amet fermentum.

256 | 257 |

Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam quis risus eget urna mollis ornare vel eu leo. Cras mattis consectetur purus sit amet fermentum.

258 |
259 | 260 | 277 |
278 | 279 |
280 | 281 | 282 | 283 | 284 | 285 | 286 |
287 |
288 |
289 | 290 |

Language Support

291 |

The subset of Futura PT Demi in this kit supports the following languages:
292 | 293 | Albanian, Alsatian, Aragonese, Arapaho, Aromanian, Arrernte, Asturian, Aymara, Azerbaijani (Cyrillic), Bashkir, Basque, Belarusian, Belarusian (Lacinka), Bislama, Bosnian, Breton, Buryat (Cyrillic), Catalan, Cebuano, Chamorro, Cheyenne, Chuvash, Cimbrian, Corsican, Croatian, Cyrillic, Czech, Danish, Demo, Dungan, Dutch, English, Esperanto, Estonian, Evenki (Cyrillic), Faroese, Fijian, Finnish, French, French Creole (Saint Lucia), Frisian, Friulian, Galician, Genoese, German, Gilbertese (Kiribati), Greenlandic, Haitian Creole, Hawaiian, Hiligaynon, Hill Mari, Hmong, Hopi, Hungarian, Ibanag, Iloko (Ilokano), Indonesian, Interglossa (Glosa), Interlingua, Irish (Gaelic), Islandic, Istro-Romanian, Italian, Jèrriais, Kalmyk (Cyrillic), Karachay (Cyrillic), Kashubian, Kazakh (Cyrillic), Khalkha, Khanty, Komi-Permyak, Kurdish (Kurmanji), Kyrgyz (Cyrillic), Ladin, Latin Basic, Latvian, Lithuanian, Lojban, Lombard, Low Saxon, Luxembourgian, Malagasy, Maltese, Manx, Maori, Meadow Mari, Megleno-Romanian, Mohawk, Moldovan, Nahuatl, Nenets, Norfolk/Pitcairnese, Northern Sotho (Pedi), Norwegian, Occitan, Oromo, Ossetian, Pangasinan, Papiamento, Piedmontese, Polish, Portuguese, Potawatomi, Quechua, Rhaeto-Romance, Romanian, Romansh (Rumantsch), Rotokas, Russian, Rusyn, Sami (Lule), Samoan, Sardinian (Sardu), Scots (Gaelic), Serbian (Cyrillic), Seychellois Creole (Seselwa), Shona, Sicilian, Slovak, Slovenian (Slovene), Somali, Southern Ndebele, Southern Sotho (Sesotho), Spanish, Swahili, Swati/Swazi, Swedish, Tagalog (Filipino/Pilipino), Tahitian, Tajik, Tatar (Cyrillic), Tausug, Tetum (Tetun), Tok Pisin, Tongan (Faka-Tonga), Tswana, Turkish, Turkmen, Turkmen (Cyrillic), Turkmen (Latinized), Tuvaluan, Tuvin, ubasic, Udmurt, Ukrainian, Uyghur (Cyrillic), Uyghur (Latinized), Uzbek (Cyrillic), Veps, Volapük, Votic (Cyrillic), Votic (Latinized), Walloon, Warlpiri, Xhosa, Yakut/Sakha, Yapese, Zulu

294 |

Glyph Chart

295 |

The subset of Futura PT Demi in this kit includes all the glyphs listed below. Unicode entities are included above each glyph to help you insert individual characters into your layout.

296 |
297 | 298 |
299 |
300 | 301 | 302 |
303 |
304 | 305 | 306 |
307 | 308 |
309 | 310 |
311 |
312 |
313 |

Installing Webfonts

314 | 315 |

Webfonts are supported by all major browser platforms but not all in the same way. There are currently four different font formats that must be included in order to target all browsers. This includes TTF, WOFF, EOT and SVG.

316 | 317 |

1. Upload your webfonts

318 |

You must upload your webfont kit to your website. They should be in or near the same directory as your CSS files.

319 | 320 |

2. Include the webfont stylesheet

321 |

A special CSS @font-face declaration helps the various browsers select the appropriate font it needs without causing you a bunch of headaches. Learn more about this syntax by reading the Fontspring blog post about it. The code for it is as follows:

322 | 323 | 324 | 325 | @font-face{ 326 | font-family: 'MyWebFont'; 327 | src: url('WebFont.eot'); 328 | src: url('WebFont.eot?#iefix') format('embedded-opentype'), 329 | url('WebFont.woff') format('woff'), 330 | url('WebFont.ttf') format('truetype'), 331 | url('WebFont.svg#webfont') format('svg'); 332 | } 333 | 334 | 335 |

We've already gone ahead and generated the code for you. All you have to do is link to the stylesheet in your HTML, like this:

336 | <link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" /> 337 | 338 |

3. Modify your own stylesheet

339 |

To take advantage of your new fonts, you must tell your stylesheet to use them. Look at the original @font-face declaration above and find the property called "font-family." The name linked there will be what you use to reference the font. Prepend that webfont name to the font stack in the "font-family" property, inside the selector you want to change. For example:

340 | p { font-family: 'MyWebFont', Arial, sans-serif; } 341 | 342 |

4. Test

343 |

Getting webfonts to work cross-browser can be tricky. Use the information in the sidebar to help you if you find that fonts aren't loading in a particular browser.

344 |
345 | 346 | 372 |
373 | 374 |
375 | 376 |
377 | 380 |
381 | 382 | 383 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demi_macroman/ftn65-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_demi_macroman/ftn65-webfont.eot -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demi_macroman/ftn65-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_demi_macroman/ftn65-webfont.ttf -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demi_macroman/ftn65-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_demi_macroman/ftn65-webfont.woff -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demi_macroman/ftn65-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_demi_macroman/ftn65-webfont.woff2 -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demi_macroman/specimen_files/grid_12-825-55-15.css: -------------------------------------------------------------------------------- 1 | /*Notes about grid: 2 | Columns: 12 3 | Grid Width: 825px 4 | Column Width: 55px 5 | Gutter Width: 15px 6 | -------------------------------*/ 7 | 8 | .section { 9 | margin-bottom: 18px; 10 | } 11 | .section:after { 12 | content: '.'; 13 | display: block; 14 | height: 0; 15 | clear: both; 16 | visibility: hidden; 17 | } 18 | .section { 19 | *zoom: 1; 20 | } 21 | 22 | .section .firstcolumn, 23 | .section .firstcol { 24 | margin-left: 0; 25 | } 26 | 27 | /* Border on left hand side of a column. */ 28 | .border { 29 | padding-left: 7px; 30 | margin-left: 7px; 31 | border-left: 1px solid #eee; 32 | } 33 | 34 | /* Border with more whitespace, spans one column. */ 35 | .colborder { 36 | padding-left: 42px; 37 | margin-left: 42px; 38 | border-left: 1px solid #eee; 39 | } 40 | 41 | /* The Grid Classes */ 42 | .grid1, 43 | .grid1_2cols, 44 | .grid1_3cols, 45 | .grid1_4cols, 46 | .grid2, 47 | .grid2_3cols, 48 | .grid2_4cols, 49 | .grid3, 50 | .grid3_2cols, 51 | .grid3_4cols, 52 | .grid4, 53 | .grid4_3cols, 54 | .grid5, 55 | .grid5_2cols, 56 | .grid5_3cols, 57 | .grid5_4cols, 58 | .grid6, 59 | .grid6_4cols, 60 | .grid7, 61 | .grid7_2cols, 62 | .grid7_3cols, 63 | .grid7_4cols, 64 | .grid8, 65 | .grid8_3cols, 66 | .grid9, 67 | .grid9_2cols, 68 | .grid9_4cols, 69 | .grid10, 70 | .grid10_3cols, 71 | .grid10_4cols, 72 | .grid11, 73 | .grid11_2cols, 74 | .grid11_3cols, 75 | .grid11_4cols, 76 | .grid12 { 77 | margin-left: 15px; 78 | float: left; 79 | display: inline; 80 | overflow: hidden; 81 | } 82 | 83 | .width1, 84 | .grid1, 85 | .span-1 { 86 | width: 55px; 87 | } 88 | .width1_2cols, 89 | .grid1_2cols { 90 | width: 20px; 91 | } 92 | .width1_3cols, 93 | .grid1_3cols { 94 | width: 8px; 95 | } 96 | .width1_4cols, 97 | .grid1_4cols { 98 | width: 2px; 99 | } 100 | .input_width1 { 101 | width: 49px; 102 | } 103 | 104 | .width2, 105 | .grid2, 106 | .span-2 { 107 | width: 125px; 108 | } 109 | .width2_3cols, 110 | .grid2_3cols { 111 | width: 31px; 112 | } 113 | .width2_4cols, 114 | .grid2_4cols { 115 | width: 20px; 116 | } 117 | .input_width2 { 118 | width: 119px; 119 | } 120 | 121 | .width3, 122 | .grid3, 123 | .span-3 { 124 | width: 195px; 125 | } 126 | .width3_2cols, 127 | .grid3_2cols { 128 | width: 90px; 129 | } 130 | .width3_4cols, 131 | .grid3_4cols { 132 | width: 37px; 133 | } 134 | .input_width3 { 135 | width: 189px; 136 | } 137 | 138 | .width4, 139 | .grid4, 140 | .span-4 { 141 | width: 265px; 142 | } 143 | .width4_3cols, 144 | .grid4_3cols { 145 | width: 78px; 146 | } 147 | .input_width4 { 148 | width: 259px; 149 | } 150 | 151 | .width5, 152 | .grid5, 153 | .span-5 { 154 | width: 335px; 155 | } 156 | .width5_2cols, 157 | .grid5_2cols { 158 | width: 160px; 159 | } 160 | .width5_3cols, 161 | .grid5_3cols { 162 | width: 101px; 163 | } 164 | .width5_4cols, 165 | .grid5_4cols { 166 | width: 72px; 167 | } 168 | .input_width5 { 169 | width: 329px; 170 | } 171 | 172 | .width6, 173 | .grid6, 174 | .span-6 { 175 | width: 405px; 176 | } 177 | .width6_4cols, 178 | .grid6_4cols { 179 | width: 90px; 180 | } 181 | .input_width6 { 182 | width: 399px; 183 | } 184 | 185 | .width7, 186 | .grid7, 187 | .span-7 { 188 | width: 475px; 189 | } 190 | .width7_2cols, 191 | .grid7_2cols { 192 | width: 230px; 193 | } 194 | .width7_3cols, 195 | .grid7_3cols { 196 | width: 148px; 197 | } 198 | .width7_4cols, 199 | .grid7_4cols { 200 | width: 107px; 201 | } 202 | .input_width7 { 203 | width: 469px; 204 | } 205 | 206 | .width8, 207 | .grid8, 208 | .span-8 { 209 | width: 545px; 210 | } 211 | .width8_3cols, 212 | .grid8_3cols { 213 | width: 171px; 214 | } 215 | .input_width8 { 216 | width: 539px; 217 | } 218 | 219 | .width9, 220 | .grid9, 221 | .span-9 { 222 | width: 615px; 223 | } 224 | .width9_2cols, 225 | .grid9_2cols { 226 | width: 300px; 227 | } 228 | .width9_4cols, 229 | .grid9_4cols { 230 | width: 142px; 231 | } 232 | .input_width9 { 233 | width: 609px; 234 | } 235 | 236 | .width10, 237 | .grid10, 238 | .span-10 { 239 | width: 685px; 240 | } 241 | .width10_3cols, 242 | .grid10_3cols { 243 | width: 218px; 244 | } 245 | .width10_4cols, 246 | .grid10_4cols { 247 | width: 160px; 248 | } 249 | .input_width10 { 250 | width: 679px; 251 | } 252 | 253 | .width11, 254 | .grid11, 255 | .span-11 { 256 | width: 755px; 257 | } 258 | .width11_2cols, 259 | .grid11_2cols { 260 | width: 370px; 261 | } 262 | .width11_3cols, 263 | .grid11_3cols { 264 | width: 241px; 265 | } 266 | .width11_4cols, 267 | .grid11_4cols { 268 | width: 177px; 269 | } 270 | .input_width11 { 271 | width: 749px; 272 | } 273 | 274 | .width12, 275 | .grid12, 276 | .span-12 { 277 | width: 825px; 278 | } 279 | .input_width12 { 280 | width: 819px; 281 | } 282 | 283 | /* Subdivided grid spaces */ 284 | .emptycols_left1, 285 | .prepend-1 { 286 | padding-left: 70px; 287 | } 288 | .emptycols_right1, 289 | .append-1 { 290 | padding-right: 70px; 291 | } 292 | .emptycols_left2, 293 | .prepend-2 { 294 | padding-left: 140px; 295 | } 296 | .emptycols_right2, 297 | .append-2 { 298 | padding-right: 140px; 299 | } 300 | .emptycols_left3, 301 | .prepend-3 { 302 | padding-left: 210px; 303 | } 304 | .emptycols_right3, 305 | .append-3 { 306 | padding-right: 210px; 307 | } 308 | .emptycols_left4, 309 | .prepend-4 { 310 | padding-left: 280px; 311 | } 312 | .emptycols_right4, 313 | .append-4 { 314 | padding-right: 280px; 315 | } 316 | .emptycols_left5, 317 | .prepend-5 { 318 | padding-left: 350px; 319 | } 320 | .emptycols_right5, 321 | .append-5 { 322 | padding-right: 350px; 323 | } 324 | .emptycols_left6, 325 | .prepend-6 { 326 | padding-left: 420px; 327 | } 328 | .emptycols_right6, 329 | .append-6 { 330 | padding-right: 420px; 331 | } 332 | .emptycols_left7, 333 | .prepend-7 { 334 | padding-left: 490px; 335 | } 336 | .emptycols_right7, 337 | .append-7 { 338 | padding-right: 490px; 339 | } 340 | .emptycols_left8, 341 | .prepend-8 { 342 | padding-left: 560px; 343 | } 344 | .emptycols_right8, 345 | .append-8 { 346 | padding-right: 560px; 347 | } 348 | .emptycols_left9, 349 | .prepend-9 { 350 | padding-left: 630px; 351 | } 352 | .emptycols_right9, 353 | .append-9 { 354 | padding-right: 630px; 355 | } 356 | .emptycols_left10, 357 | .prepend-10 { 358 | padding-left: 700px; 359 | } 360 | .emptycols_right10, 361 | .append-10 { 362 | padding-right: 700px; 363 | } 364 | .emptycols_left11, 365 | .prepend-11 { 366 | padding-left: 770px; 367 | } 368 | .emptycols_right11, 369 | .append-11 { 370 | padding-right: 770px; 371 | } 372 | .pull-1 { 373 | margin-left: -70px; 374 | } 375 | .push-1 { 376 | margin-right: -70px; 377 | margin-left: 18px; 378 | float: right; 379 | } 380 | .pull-2 { 381 | margin-left: -140px; 382 | } 383 | .push-2 { 384 | margin-right: -140px; 385 | margin-left: 18px; 386 | float: right; 387 | } 388 | .pull-3 { 389 | margin-left: -210px; 390 | } 391 | .push-3 { 392 | margin-right: -210px; 393 | margin-left: 18px; 394 | float: right; 395 | } 396 | .pull-4 { 397 | margin-left: -280px; 398 | } 399 | .push-4 { 400 | margin-right: -280px; 401 | margin-left: 18px; 402 | float: right; 403 | } 404 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demi_macroman/specimen_files/specimen_stylesheet.css: -------------------------------------------------------------------------------- 1 | @import url('grid_12-825-55-15.css'); 2 | 3 | /* 4 | CSS Reset by Eric Meyer - Released under Public Domain 5 | http://meyerweb.com/eric/tools/css/reset/ 6 | */ 7 | html, 8 | body, 9 | div, 10 | span, 11 | applet, 12 | object, 13 | iframe, 14 | h1, 15 | h2, 16 | h3, 17 | h4, 18 | h5, 19 | h6, 20 | p, 21 | blockquote, 22 | pre, 23 | a, 24 | abbr, 25 | acronym, 26 | address, 27 | big, 28 | cite, 29 | code, 30 | del, 31 | dfn, 32 | em, 33 | font, 34 | img, 35 | ins, 36 | kbd, 37 | q, 38 | s, 39 | samp, 40 | small, 41 | strike, 42 | strong, 43 | sub, 44 | sup, 45 | tt, 46 | var, 47 | b, 48 | u, 49 | i, 50 | center, 51 | dl, 52 | dt, 53 | dd, 54 | ol, 55 | ul, 56 | li, 57 | fieldset, 58 | form, 59 | label, 60 | legend, 61 | table, 62 | caption, 63 | tbody, 64 | tfoot, 65 | thead, 66 | tr, 67 | th, 68 | td { 69 | margin: 0; 70 | padding: 0; 71 | border: 0; 72 | outline: 0; 73 | font-size: 100%; 74 | vertical-align: baseline; 75 | background: transparent; 76 | } 77 | body { 78 | line-height: 1; 79 | } 80 | ol, 81 | ul { 82 | list-style: none; 83 | } 84 | blockquote, 85 | q { 86 | quotes: none; 87 | } 88 | blockquote:before, 89 | blockquote:after, 90 | q:before, 91 | q:after { 92 | content: ''; 93 | content: none; 94 | } 95 | :focus { 96 | outline: 0; 97 | } 98 | ins { 99 | text-decoration: none; 100 | } 101 | del { 102 | text-decoration: line-through; 103 | } 104 | table { 105 | border-collapse: collapse; 106 | border-spacing: 0; 107 | } 108 | 109 | body { 110 | color: #000; 111 | background-color: #dcdcdc; 112 | } 113 | 114 | a { 115 | text-decoration: none; 116 | color: #1883ba; 117 | } 118 | 119 | h1 { 120 | font-size: 32px; 121 | font-weight: normal; 122 | font-style: normal; 123 | margin-bottom: 18px; 124 | } 125 | 126 | h2 { 127 | font-size: 18px; 128 | } 129 | 130 | #container { 131 | width: 865px; 132 | margin: 0px auto; 133 | } 134 | 135 | #header { 136 | padding: 20px; 137 | font-size: 36px; 138 | background-color: #000; 139 | color: #fff; 140 | } 141 | 142 | #header span { 143 | color: #666; 144 | } 145 | #main_content { 146 | background-color: #fff; 147 | padding: 60px 20px 20px; 148 | } 149 | 150 | #footer p { 151 | margin: 0; 152 | padding-top: 10px; 153 | padding-bottom: 50px; 154 | color: #333; 155 | font: 10px Arial, sans-serif; 156 | } 157 | 158 | .tabs { 159 | width: 100%; 160 | height: 31px; 161 | background-color: #444; 162 | } 163 | .tabs li { 164 | float: left; 165 | margin: 0; 166 | overflow: hidden; 167 | background-color: #444; 168 | } 169 | .tabs li a { 170 | display: block; 171 | color: #fff; 172 | text-decoration: none; 173 | font: bold 11px/11px 'Arial'; 174 | text-transform: uppercase; 175 | padding: 10px 15px; 176 | border-right: 1px solid #fff; 177 | } 178 | 179 | .tabs li a:hover { 180 | background-color: #00b3ff; 181 | } 182 | 183 | .tabs li.active a { 184 | color: #000; 185 | background-color: #fff; 186 | } 187 | 188 | div.huge { 189 | font-size: 300px; 190 | line-height: 1em; 191 | padding: 0; 192 | letter-spacing: -0.02em; 193 | overflow: hidden; 194 | } 195 | div.glyph_range { 196 | font-size: 72px; 197 | line-height: 1.1em; 198 | } 199 | 200 | .size10 { 201 | font-size: 10px; 202 | } 203 | .size11 { 204 | font-size: 11px; 205 | } 206 | .size12 { 207 | font-size: 12px; 208 | } 209 | .size13 { 210 | font-size: 13px; 211 | } 212 | .size14 { 213 | font-size: 14px; 214 | } 215 | .size16 { 216 | font-size: 16px; 217 | } 218 | .size18 { 219 | font-size: 18px; 220 | } 221 | .size20 { 222 | font-size: 20px; 223 | } 224 | .size24 { 225 | font-size: 24px; 226 | } 227 | .size30 { 228 | font-size: 30px; 229 | } 230 | .size36 { 231 | font-size: 36px; 232 | } 233 | .size48 { 234 | font-size: 48px; 235 | } 236 | .size60 { 237 | font-size: 60px; 238 | } 239 | .size72 { 240 | font-size: 72px; 241 | } 242 | .size90 { 243 | font-size: 90px; 244 | } 245 | 246 | .psample_row1 { 247 | height: 120px; 248 | } 249 | .psample_row1 { 250 | height: 120px; 251 | } 252 | .psample_row2 { 253 | height: 160px; 254 | } 255 | .psample_row3 { 256 | height: 160px; 257 | } 258 | .psample_row4 { 259 | height: 160px; 260 | } 261 | 262 | .psample { 263 | overflow: hidden; 264 | position: relative; 265 | } 266 | .psample p { 267 | line-height: 1.3em; 268 | display: block; 269 | overflow: hidden; 270 | margin: 0; 271 | } 272 | 273 | .psample span { 274 | margin-right: 0.5em; 275 | } 276 | 277 | .white_blend { 278 | width: 100%; 279 | height: 61px; 280 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVkAAAA9CAYAAAAH4BojAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAO1JREFUeNrs3TsKgFAMRUE/eer+NxztxMYuEWQG3ECKwwUF58ycAKixOAGAyAKILAAiCyCyACILgMgCiCyAyAIgsgAiCyCyAIgsgMgCiCwAIgsgsgAiC4DIAogsACIL0CWuZ3UGgLrIhjMA1EV2OAOAJQtgyQLwjOzmDAAiCyCyAIgsQFtkd2cAEFkAkQVAZAHaIns4A4AlC2DJAiCyACILILIAiCzAV5H1dQGAJQsgsgCILIDIAvwisl58AViyAJYsACILILIAIgvAe2T9EhxAZAFEFgCRBeiL7HAGgLrIhjMAWLIAliwAt1OAAQDwygTBulLIlQAAAABJRU5ErkJggg==); 281 | position: absolute; 282 | bottom: 0; 283 | } 284 | .black_blend { 285 | width: 100%; 286 | height: 61px; 287 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVkAAAA9CAYAAAAH4BojAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPJJREFUeNrs3TEKhTAQRVGjibr/9QoxhY2N3Ywo50A28IrLwP9g6b1PAMSYTQAgsgAiC4DIAogsgMgCILIAIgsgsgCILIDIAogsACILILIAIguAyAKILIDIAiCyACILgMgCZCnjLWYAiFGvB0BQZJsZAFyyAC5ZAO6RXc0AILIAIguAyAKkRXYzA4DIAogsACILkBbZ3QwALlkAlywAIgsgsgAiC4DIArwVWf8uAHDJAogsACILILIAv4isH74AXLIALlkARBZAZAFEFoDnyPokOIDIAogsACILkBfZZgaAuMhWMwC4ZAE+p4x3mAEgxinAAJ+XBbPWGkwAAAAAAElFTkSuQmCC); 288 | position: absolute; 289 | bottom: 0; 290 | } 291 | .fullreverse { 292 | background: #000 !important; 293 | color: #fff !important; 294 | margin-left: -20px; 295 | padding-left: 20px; 296 | margin-right: -20px; 297 | padding-right: 20px; 298 | padding: 20px; 299 | margin-bottom: 0; 300 | } 301 | 302 | .sample_table td { 303 | padding-top: 3px; 304 | padding-bottom: 5px; 305 | padding-left: 5px; 306 | vertical-align: middle; 307 | line-height: 1.2em; 308 | } 309 | 310 | .sample_table td:first-child { 311 | background-color: #eee; 312 | text-align: right; 313 | padding-right: 5px; 314 | padding-left: 0; 315 | padding: 5px; 316 | font: 11px/12px 'Courier New', Courier, mono; 317 | } 318 | 319 | code { 320 | white-space: pre; 321 | background-color: #eee; 322 | display: block; 323 | padding: 10px; 324 | margin-bottom: 18px; 325 | overflow: auto; 326 | } 327 | 328 | .bottom, 329 | .last { 330 | margin-bottom: 0 !important; 331 | padding-bottom: 0 !important; 332 | } 333 | 334 | .box { 335 | padding: 18px; 336 | margin-bottom: 18px; 337 | background: #eee; 338 | } 339 | 340 | .reverse, 341 | .reversed { 342 | background: #000 !important; 343 | color: #fff !important; 344 | border: none !important; 345 | } 346 | 347 | #bodycomparison { 348 | position: relative; 349 | overflow: hidden; 350 | font-size: 72px; 351 | height: 90px; 352 | white-space: nowrap; 353 | } 354 | 355 | #bodycomparison div { 356 | font-size: 72px; 357 | line-height: 90px; 358 | display: inline; 359 | margin: 0 15px 0 0; 360 | padding: 0; 361 | } 362 | 363 | #bodycomparison div span { 364 | font: 10px Arial; 365 | position: absolute; 366 | left: 0; 367 | } 368 | #xheight { 369 | float: none; 370 | position: absolute; 371 | color: #d9f3ff; 372 | font-size: 72px; 373 | line-height: 90px; 374 | } 375 | 376 | .fontbody { 377 | position: relative; 378 | } 379 | .arialbody { 380 | font-family: Arial; 381 | position: relative; 382 | } 383 | .verdanabody { 384 | font-family: Verdana; 385 | position: relative; 386 | } 387 | .georgiabody { 388 | font-family: Georgia; 389 | position: relative; 390 | } 391 | 392 | /* @group Layout page 393 | */ 394 | 395 | #layout h1 { 396 | font-size: 36px; 397 | line-height: 42px; 398 | font-weight: normal; 399 | font-style: normal; 400 | } 401 | 402 | #layout h2 { 403 | font-size: 24px; 404 | line-height: 23px; 405 | font-weight: normal; 406 | font-style: normal; 407 | } 408 | 409 | #layout h3 { 410 | font-size: 22px; 411 | line-height: 1.4em; 412 | margin-top: 1em; 413 | font-weight: normal; 414 | font-style: normal; 415 | } 416 | 417 | #layout p.byline { 418 | font-size: 12px; 419 | margin-top: 18px; 420 | line-height: 12px; 421 | margin-bottom: 0; 422 | } 423 | #layout p { 424 | font-size: 14px; 425 | line-height: 21px; 426 | margin-bottom: 0.5em; 427 | } 428 | 429 | #layout p.large { 430 | font-size: 18px; 431 | line-height: 26px; 432 | } 433 | 434 | #layout .sidebar p { 435 | font-size: 12px; 436 | line-height: 1.4em; 437 | } 438 | 439 | #layout p.caption { 440 | font-size: 10px; 441 | margin-top: -16px; 442 | margin-bottom: 18px; 443 | } 444 | 445 | /* @end */ 446 | 447 | /* @group Glyphs */ 448 | 449 | #glyph_chart div { 450 | background-color: #d9f3ff; 451 | color: black; 452 | float: left; 453 | font-size: 36px; 454 | height: 1.2em; 455 | line-height: 1.2em; 456 | margin-bottom: 1px; 457 | margin-right: 1px; 458 | text-align: center; 459 | width: 1.2em; 460 | position: relative; 461 | padding: 0.6em 0.2em 0.2em; 462 | } 463 | 464 | #glyph_chart div p { 465 | position: absolute; 466 | left: 0; 467 | top: 0; 468 | display: block; 469 | text-align: center; 470 | font: bold 9px Arial, sans-serif; 471 | background-color: #3a768f; 472 | width: 100%; 473 | color: #fff; 474 | padding: 2px 0; 475 | } 476 | 477 | #glyphs h1 { 478 | font-family: Arial, sans-serif; 479 | } 480 | /* @end */ 481 | 482 | /* @group Installing */ 483 | 484 | #installing { 485 | font: 13px Arial, sans-serif; 486 | } 487 | 488 | #installing p, 489 | #glyphs p { 490 | line-height: 1.2em; 491 | margin-bottom: 18px; 492 | font: 13px Arial, sans-serif; 493 | } 494 | 495 | #installing h3 { 496 | font-size: 15px; 497 | margin-top: 18px; 498 | } 499 | 500 | /* @end */ 501 | 502 | #rendering h1 { 503 | font-family: Arial, sans-serif; 504 | } 505 | .render_table td { 506 | font: 11px 'Courier New', Courier, mono; 507 | vertical-align: middle; 508 | } 509 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demi_macroman/stylesheet.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Web Fonts from fontspring.com 3 | * 4 | * All OpenType features and all extended glyphs have been removed. 5 | * Fully installable fonts can be purchased at http://www.fontspring.com 6 | * 7 | * The fonts included in this stylesheet are subject to the End User License you purchased 8 | * from Fontspring. The fonts are protected under domestic and international trademark and 9 | * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or 10 | * distributing this font software. 11 | * 12 | * (c) 2010-2016 Fontspring 13 | * 14 | * 15 | * 16 | * 17 | * The fonts included are copyrighted by the vendor listed below. 18 | * 19 | * Vendor: ParaType 20 | * License URL: https://www.fontspring.com/licenses/paratype/webfont 21 | * 22 | * 23 | */ 24 | 25 | @font-face { 26 | font-family: 'Futura PT'; 27 | font-display: swap; 28 | src: url('ftn65-webfont.woff2') format('woff2'), 29 | url('ftn65-webfont.woff') format('woff'), 30 | url('ftn65-webfont.ttf') format('truetype'); 31 | font-weight: bold; 32 | font-style: normal; 33 | } 34 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demiitalic_macroman/ftn66-demo.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 17 | 18 | Futura PT Demi Italic Specimen 19 | 20 | 21 | 26 | 27 | 28 | 29 |
30 | 32 | 39 | 40 |
41 | 42 | 43 |
44 | 45 |
46 |
47 |
AaBb
48 |
49 |
50 | 51 |
52 |
A​B​C​D​E​F​G​H​I​J​K​L​M​N​O​P​Q​R​S​T​U​V​W​X​Y​Z​a​b​c​d​e​f​g​h​i​j​k​l​m​n​o​p​q​r​s​t​u​v​w​x​y​z​1​2​3​4​5​6​7​8​9​0​&​.​,​?​!​@​(​)​#​$​%​*​+​-​=​:​;
53 |
54 |
55 |
56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 |
10abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
11abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
12abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
13abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
14abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
16abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
18abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
20abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
24abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
30abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
36abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
48abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
60abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
72abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
90abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
73 | 74 |
75 | 76 |
77 | 78 | 79 | 80 |
81 | 82 | 83 |
84 |
body
body
body
body
85 |
86 | bodyFutura PT Demi Italic 87 |
88 |
89 | bodyArial 90 |
91 |
92 | bodyVerdana 93 |
94 |
95 | bodyGeorgia 96 |
97 | 98 | 99 | 100 |
101 | 102 | 103 |
104 | 105 |
106 |

10.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

107 | 108 |
109 |
110 |

11.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

111 | 112 |
113 |
114 |

12.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

115 | 116 |
117 |
118 |

13.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

119 | 120 |
121 |
122 | 123 |
124 |
125 |
126 |

14.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

127 | 128 |
129 |
130 |

16.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

131 | 132 |
133 |
134 |

18.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

135 | 136 |
137 | 138 |
139 | 140 |
141 | 142 |
143 |
144 |

20.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

145 |
146 |
147 |

24.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

148 |
149 | 150 |
151 | 152 |
153 | 154 |
155 |
156 |

30.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

157 |
158 |
159 | 160 |
161 | 162 | 163 | 164 |
165 |
166 |

10.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

167 | 168 |
169 |
170 |

11.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

171 | 172 |
173 |
174 |

12.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

175 | 176 |
177 |
178 |

13.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

179 | 180 |
181 |
182 | 183 |
184 | 185 |
186 |
187 |

14.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

188 | 189 |
190 |
191 |

16.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

192 | 193 |
194 |
195 |

18.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

196 | 197 |
198 |
199 | 200 |
201 | 202 |
203 |
204 |

20.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

205 |
206 |
207 |

24.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

208 |
209 | 210 |
211 | 212 |
213 | 214 |
215 |
216 |

30.Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.

217 |
218 |
219 | 220 |
221 | 222 | 223 | 224 | 225 |
226 | 227 |
228 | 229 |
230 | 231 |
232 |

Lorem Ipsum Dolor

233 |

Etiam porta sem malesuada magna mollis euismod

234 | 235 | 236 |
237 |
238 |
239 |
240 |

Donec sed odio dui. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

241 | 242 | 243 |

Pellentesque ornare sem

244 | 245 |

Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas faucibus mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam id dolor id nibh ultricies vehicula ut id elit.

246 | 247 |

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

248 | 249 |

Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Aenean lacinia bibendum nulla sed consectetur.

250 | 251 |

Nullam quis risus eget urna mollis ornare vel eu leo. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec ullamcorper nulla non metus auctor fringilla.

252 | 253 |

Cras mattis consectetur

254 | 255 |

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Aenean lacinia bibendum nulla sed consectetur. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras mattis consectetur purus sit amet fermentum.

256 | 257 |

Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam quis risus eget urna mollis ornare vel eu leo. Cras mattis consectetur purus sit amet fermentum.

258 |
259 | 260 | 277 |
278 | 279 |
280 | 281 | 282 | 283 | 284 | 285 | 286 |
287 |
288 |
289 | 290 |

Language Support

291 |

The subset of Futura PT Demi Italic in this kit supports the following languages:
292 | 293 | Albanian, Alsatian, Aragonese, Arapaho, Aromanian, Arrernte, Asturian, Aymara, Azerbaijani (Cyrillic), Bashkir, Basque, Belarusian, Belarusian (Lacinka), Bislama, Bosnian, Breton, Buryat (Cyrillic), Catalan, Cebuano, Chamorro, Cheyenne, Chuvash, Cimbrian, Corsican, Croatian, Cyrillic, Czech, Danish, Demo, Dungan, Dutch, English, Esperanto, Estonian, Evenki (Cyrillic), Faroese, Fijian, Finnish, French, French Creole (Saint Lucia), Frisian, Friulian, Galician, Genoese, German, Gilbertese (Kiribati), Greenlandic, Haitian Creole, Hawaiian, Hiligaynon, Hill Mari, Hmong, Hopi, Hungarian, Ibanag, Iloko (Ilokano), Indonesian, Interglossa (Glosa), Interlingua, Irish (Gaelic), Islandic, Istro-Romanian, Italian, Jèrriais, Kalmyk (Cyrillic), Karachay (Cyrillic), Kashubian, Kazakh (Cyrillic), Khalkha, Khanty, Komi-Permyak, Kurdish (Kurmanji), Kyrgyz (Cyrillic), Ladin, Latin Basic, Latvian, Lithuanian, Lojban, Lombard, Low Saxon, Luxembourgian, Malagasy, Maltese, Manx, Maori, Meadow Mari, Megleno-Romanian, Mohawk, Moldovan, Nahuatl, Nenets, Norfolk/Pitcairnese, Northern Sotho (Pedi), Norwegian, Occitan, Oromo, Ossetian, Pangasinan, Papiamento, Piedmontese, Polish, Portuguese, Potawatomi, Quechua, Rhaeto-Romance, Romanian, Romansh (Rumantsch), Rotokas, Russian, Rusyn, Sami (Lule), Samoan, Sardinian (Sardu), Scots (Gaelic), Serbian (Cyrillic), Seychellois Creole (Seselwa), Shona, Sicilian, Slovak, Slovenian (Slovene), Somali, Southern Ndebele, Southern Sotho (Sesotho), Spanish, Swahili, Swati/Swazi, Swedish, Tagalog (Filipino/Pilipino), Tahitian, Tajik, Tatar (Cyrillic), Tausug, Tetum (Tetun), Tok Pisin, Tongan (Faka-Tonga), Tswana, Turkish, Turkmen, Turkmen (Cyrillic), Turkmen (Latinized), Tuvaluan, Tuvin, ubasic, Udmurt, Ukrainian, Uyghur (Cyrillic), Uyghur (Latinized), Uzbek (Cyrillic), Veps, Volapük, Votic (Cyrillic), Votic (Latinized), Walloon, Warlpiri, Xhosa, Yakut/Sakha, Yapese, Zulu

294 |

Glyph Chart

295 |

The subset of Futura PT Demi Italic in this kit includes all the glyphs listed below. Unicode entities are included above each glyph to help you insert individual characters into your layout.

296 |
297 | 298 |
299 |
300 | 301 | 302 |
303 |
304 | 305 | 306 |
307 | 308 |
309 | 310 |
311 |
312 |
313 |

Installing Webfonts

314 | 315 |

Webfonts are supported by all major browser platforms but not all in the same way. There are currently four different font formats that must be included in order to target all browsers. This includes TTF, WOFF, EOT and SVG.

316 | 317 |

1. Upload your webfonts

318 |

You must upload your webfont kit to your website. They should be in or near the same directory as your CSS files.

319 | 320 |

2. Include the webfont stylesheet

321 |

A special CSS @font-face declaration helps the various browsers select the appropriate font it needs without causing you a bunch of headaches. Learn more about this syntax by reading the Fontspring blog post about it. The code for it is as follows:

322 | 323 | 324 | 325 | @font-face{ 326 | font-family: 'MyWebFont'; 327 | src: url('WebFont.eot'); 328 | src: url('WebFont.eot?#iefix') format('embedded-opentype'), 329 | url('WebFont.woff') format('woff'), 330 | url('WebFont.ttf') format('truetype'), 331 | url('WebFont.svg#webfont') format('svg'); 332 | } 333 | 334 | 335 |

We've already gone ahead and generated the code for you. All you have to do is link to the stylesheet in your HTML, like this:

336 | <link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" /> 337 | 338 |

3. Modify your own stylesheet

339 |

To take advantage of your new fonts, you must tell your stylesheet to use them. Look at the original @font-face declaration above and find the property called "font-family." The name linked there will be what you use to reference the font. Prepend that webfont name to the font stack in the "font-family" property, inside the selector you want to change. For example:

340 | p { font-family: 'MyWebFont', Arial, sans-serif; } 341 | 342 |

4. Test

343 |

Getting webfonts to work cross-browser can be tricky. Use the information in the sidebar to help you if you find that fonts aren't loading in a particular browser.

344 |
345 | 346 | 372 |
373 | 374 |
375 | 376 |
377 | 380 |
381 | 382 | 383 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demiitalic_macroman/ftn66-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_demiitalic_macroman/ftn66-webfont.eot -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demiitalic_macroman/ftn66-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_demiitalic_macroman/ftn66-webfont.ttf -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demiitalic_macroman/ftn66-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_demiitalic_macroman/ftn66-webfont.woff -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demiitalic_macroman/ftn66-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gatsbyjs/mdx-deck-theme/807a01c09044430e73a363e60221375dbf5b4365/example/fonts/Webfonts/futurapt_demiitalic_macroman/ftn66-webfont.woff2 -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demiitalic_macroman/specimen_files/grid_12-825-55-15.css: -------------------------------------------------------------------------------- 1 | /*Notes about grid: 2 | Columns: 12 3 | Grid Width: 825px 4 | Column Width: 55px 5 | Gutter Width: 15px 6 | -------------------------------*/ 7 | 8 | .section { 9 | margin-bottom: 18px; 10 | } 11 | .section:after { 12 | content: '.'; 13 | display: block; 14 | height: 0; 15 | clear: both; 16 | visibility: hidden; 17 | } 18 | .section { 19 | *zoom: 1; 20 | } 21 | 22 | .section .firstcolumn, 23 | .section .firstcol { 24 | margin-left: 0; 25 | } 26 | 27 | /* Border on left hand side of a column. */ 28 | .border { 29 | padding-left: 7px; 30 | margin-left: 7px; 31 | border-left: 1px solid #eee; 32 | } 33 | 34 | /* Border with more whitespace, spans one column. */ 35 | .colborder { 36 | padding-left: 42px; 37 | margin-left: 42px; 38 | border-left: 1px solid #eee; 39 | } 40 | 41 | /* The Grid Classes */ 42 | .grid1, 43 | .grid1_2cols, 44 | .grid1_3cols, 45 | .grid1_4cols, 46 | .grid2, 47 | .grid2_3cols, 48 | .grid2_4cols, 49 | .grid3, 50 | .grid3_2cols, 51 | .grid3_4cols, 52 | .grid4, 53 | .grid4_3cols, 54 | .grid5, 55 | .grid5_2cols, 56 | .grid5_3cols, 57 | .grid5_4cols, 58 | .grid6, 59 | .grid6_4cols, 60 | .grid7, 61 | .grid7_2cols, 62 | .grid7_3cols, 63 | .grid7_4cols, 64 | .grid8, 65 | .grid8_3cols, 66 | .grid9, 67 | .grid9_2cols, 68 | .grid9_4cols, 69 | .grid10, 70 | .grid10_3cols, 71 | .grid10_4cols, 72 | .grid11, 73 | .grid11_2cols, 74 | .grid11_3cols, 75 | .grid11_4cols, 76 | .grid12 { 77 | margin-left: 15px; 78 | float: left; 79 | display: inline; 80 | overflow: hidden; 81 | } 82 | 83 | .width1, 84 | .grid1, 85 | .span-1 { 86 | width: 55px; 87 | } 88 | .width1_2cols, 89 | .grid1_2cols { 90 | width: 20px; 91 | } 92 | .width1_3cols, 93 | .grid1_3cols { 94 | width: 8px; 95 | } 96 | .width1_4cols, 97 | .grid1_4cols { 98 | width: 2px; 99 | } 100 | .input_width1 { 101 | width: 49px; 102 | } 103 | 104 | .width2, 105 | .grid2, 106 | .span-2 { 107 | width: 125px; 108 | } 109 | .width2_3cols, 110 | .grid2_3cols { 111 | width: 31px; 112 | } 113 | .width2_4cols, 114 | .grid2_4cols { 115 | width: 20px; 116 | } 117 | .input_width2 { 118 | width: 119px; 119 | } 120 | 121 | .width3, 122 | .grid3, 123 | .span-3 { 124 | width: 195px; 125 | } 126 | .width3_2cols, 127 | .grid3_2cols { 128 | width: 90px; 129 | } 130 | .width3_4cols, 131 | .grid3_4cols { 132 | width: 37px; 133 | } 134 | .input_width3 { 135 | width: 189px; 136 | } 137 | 138 | .width4, 139 | .grid4, 140 | .span-4 { 141 | width: 265px; 142 | } 143 | .width4_3cols, 144 | .grid4_3cols { 145 | width: 78px; 146 | } 147 | .input_width4 { 148 | width: 259px; 149 | } 150 | 151 | .width5, 152 | .grid5, 153 | .span-5 { 154 | width: 335px; 155 | } 156 | .width5_2cols, 157 | .grid5_2cols { 158 | width: 160px; 159 | } 160 | .width5_3cols, 161 | .grid5_3cols { 162 | width: 101px; 163 | } 164 | .width5_4cols, 165 | .grid5_4cols { 166 | width: 72px; 167 | } 168 | .input_width5 { 169 | width: 329px; 170 | } 171 | 172 | .width6, 173 | .grid6, 174 | .span-6 { 175 | width: 405px; 176 | } 177 | .width6_4cols, 178 | .grid6_4cols { 179 | width: 90px; 180 | } 181 | .input_width6 { 182 | width: 399px; 183 | } 184 | 185 | .width7, 186 | .grid7, 187 | .span-7 { 188 | width: 475px; 189 | } 190 | .width7_2cols, 191 | .grid7_2cols { 192 | width: 230px; 193 | } 194 | .width7_3cols, 195 | .grid7_3cols { 196 | width: 148px; 197 | } 198 | .width7_4cols, 199 | .grid7_4cols { 200 | width: 107px; 201 | } 202 | .input_width7 { 203 | width: 469px; 204 | } 205 | 206 | .width8, 207 | .grid8, 208 | .span-8 { 209 | width: 545px; 210 | } 211 | .width8_3cols, 212 | .grid8_3cols { 213 | width: 171px; 214 | } 215 | .input_width8 { 216 | width: 539px; 217 | } 218 | 219 | .width9, 220 | .grid9, 221 | .span-9 { 222 | width: 615px; 223 | } 224 | .width9_2cols, 225 | .grid9_2cols { 226 | width: 300px; 227 | } 228 | .width9_4cols, 229 | .grid9_4cols { 230 | width: 142px; 231 | } 232 | .input_width9 { 233 | width: 609px; 234 | } 235 | 236 | .width10, 237 | .grid10, 238 | .span-10 { 239 | width: 685px; 240 | } 241 | .width10_3cols, 242 | .grid10_3cols { 243 | width: 218px; 244 | } 245 | .width10_4cols, 246 | .grid10_4cols { 247 | width: 160px; 248 | } 249 | .input_width10 { 250 | width: 679px; 251 | } 252 | 253 | .width11, 254 | .grid11, 255 | .span-11 { 256 | width: 755px; 257 | } 258 | .width11_2cols, 259 | .grid11_2cols { 260 | width: 370px; 261 | } 262 | .width11_3cols, 263 | .grid11_3cols { 264 | width: 241px; 265 | } 266 | .width11_4cols, 267 | .grid11_4cols { 268 | width: 177px; 269 | } 270 | .input_width11 { 271 | width: 749px; 272 | } 273 | 274 | .width12, 275 | .grid12, 276 | .span-12 { 277 | width: 825px; 278 | } 279 | .input_width12 { 280 | width: 819px; 281 | } 282 | 283 | /* Subdivided grid spaces */ 284 | .emptycols_left1, 285 | .prepend-1 { 286 | padding-left: 70px; 287 | } 288 | .emptycols_right1, 289 | .append-1 { 290 | padding-right: 70px; 291 | } 292 | .emptycols_left2, 293 | .prepend-2 { 294 | padding-left: 140px; 295 | } 296 | .emptycols_right2, 297 | .append-2 { 298 | padding-right: 140px; 299 | } 300 | .emptycols_left3, 301 | .prepend-3 { 302 | padding-left: 210px; 303 | } 304 | .emptycols_right3, 305 | .append-3 { 306 | padding-right: 210px; 307 | } 308 | .emptycols_left4, 309 | .prepend-4 { 310 | padding-left: 280px; 311 | } 312 | .emptycols_right4, 313 | .append-4 { 314 | padding-right: 280px; 315 | } 316 | .emptycols_left5, 317 | .prepend-5 { 318 | padding-left: 350px; 319 | } 320 | .emptycols_right5, 321 | .append-5 { 322 | padding-right: 350px; 323 | } 324 | .emptycols_left6, 325 | .prepend-6 { 326 | padding-left: 420px; 327 | } 328 | .emptycols_right6, 329 | .append-6 { 330 | padding-right: 420px; 331 | } 332 | .emptycols_left7, 333 | .prepend-7 { 334 | padding-left: 490px; 335 | } 336 | .emptycols_right7, 337 | .append-7 { 338 | padding-right: 490px; 339 | } 340 | .emptycols_left8, 341 | .prepend-8 { 342 | padding-left: 560px; 343 | } 344 | .emptycols_right8, 345 | .append-8 { 346 | padding-right: 560px; 347 | } 348 | .emptycols_left9, 349 | .prepend-9 { 350 | padding-left: 630px; 351 | } 352 | .emptycols_right9, 353 | .append-9 { 354 | padding-right: 630px; 355 | } 356 | .emptycols_left10, 357 | .prepend-10 { 358 | padding-left: 700px; 359 | } 360 | .emptycols_right10, 361 | .append-10 { 362 | padding-right: 700px; 363 | } 364 | .emptycols_left11, 365 | .prepend-11 { 366 | padding-left: 770px; 367 | } 368 | .emptycols_right11, 369 | .append-11 { 370 | padding-right: 770px; 371 | } 372 | .pull-1 { 373 | margin-left: -70px; 374 | } 375 | .push-1 { 376 | margin-right: -70px; 377 | margin-left: 18px; 378 | float: right; 379 | } 380 | .pull-2 { 381 | margin-left: -140px; 382 | } 383 | .push-2 { 384 | margin-right: -140px; 385 | margin-left: 18px; 386 | float: right; 387 | } 388 | .pull-3 { 389 | margin-left: -210px; 390 | } 391 | .push-3 { 392 | margin-right: -210px; 393 | margin-left: 18px; 394 | float: right; 395 | } 396 | .pull-4 { 397 | margin-left: -280px; 398 | } 399 | .push-4 { 400 | margin-right: -280px; 401 | margin-left: 18px; 402 | float: right; 403 | } 404 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demiitalic_macroman/specimen_files/specimen_stylesheet.css: -------------------------------------------------------------------------------- 1 | @import url('grid_12-825-55-15.css'); 2 | 3 | /* 4 | CSS Reset by Eric Meyer - Released under Public Domain 5 | http://meyerweb.com/eric/tools/css/reset/ 6 | */ 7 | html, 8 | body, 9 | div, 10 | span, 11 | applet, 12 | object, 13 | iframe, 14 | h1, 15 | h2, 16 | h3, 17 | h4, 18 | h5, 19 | h6, 20 | p, 21 | blockquote, 22 | pre, 23 | a, 24 | abbr, 25 | acronym, 26 | address, 27 | big, 28 | cite, 29 | code, 30 | del, 31 | dfn, 32 | em, 33 | font, 34 | img, 35 | ins, 36 | kbd, 37 | q, 38 | s, 39 | samp, 40 | small, 41 | strike, 42 | strong, 43 | sub, 44 | sup, 45 | tt, 46 | var, 47 | b, 48 | u, 49 | i, 50 | center, 51 | dl, 52 | dt, 53 | dd, 54 | ol, 55 | ul, 56 | li, 57 | fieldset, 58 | form, 59 | label, 60 | legend, 61 | table, 62 | caption, 63 | tbody, 64 | tfoot, 65 | thead, 66 | tr, 67 | th, 68 | td { 69 | margin: 0; 70 | padding: 0; 71 | border: 0; 72 | outline: 0; 73 | font-size: 100%; 74 | vertical-align: baseline; 75 | background: transparent; 76 | } 77 | body { 78 | line-height: 1; 79 | } 80 | ol, 81 | ul { 82 | list-style: none; 83 | } 84 | blockquote, 85 | q { 86 | quotes: none; 87 | } 88 | blockquote:before, 89 | blockquote:after, 90 | q:before, 91 | q:after { 92 | content: ''; 93 | content: none; 94 | } 95 | :focus { 96 | outline: 0; 97 | } 98 | ins { 99 | text-decoration: none; 100 | } 101 | del { 102 | text-decoration: line-through; 103 | } 104 | table { 105 | border-collapse: collapse; 106 | border-spacing: 0; 107 | } 108 | 109 | body { 110 | color: #000; 111 | background-color: #dcdcdc; 112 | } 113 | 114 | a { 115 | text-decoration: none; 116 | color: #1883ba; 117 | } 118 | 119 | h1 { 120 | font-size: 32px; 121 | font-weight: normal; 122 | font-style: normal; 123 | margin-bottom: 18px; 124 | } 125 | 126 | h2 { 127 | font-size: 18px; 128 | } 129 | 130 | #container { 131 | width: 865px; 132 | margin: 0px auto; 133 | } 134 | 135 | #header { 136 | padding: 20px; 137 | font-size: 36px; 138 | background-color: #000; 139 | color: #fff; 140 | } 141 | 142 | #header span { 143 | color: #666; 144 | } 145 | #main_content { 146 | background-color: #fff; 147 | padding: 60px 20px 20px; 148 | } 149 | 150 | #footer p { 151 | margin: 0; 152 | padding-top: 10px; 153 | padding-bottom: 50px; 154 | color: #333; 155 | font: 10px Arial, sans-serif; 156 | } 157 | 158 | .tabs { 159 | width: 100%; 160 | height: 31px; 161 | background-color: #444; 162 | } 163 | .tabs li { 164 | float: left; 165 | margin: 0; 166 | overflow: hidden; 167 | background-color: #444; 168 | } 169 | .tabs li a { 170 | display: block; 171 | color: #fff; 172 | text-decoration: none; 173 | font: bold 11px/11px 'Arial'; 174 | text-transform: uppercase; 175 | padding: 10px 15px; 176 | border-right: 1px solid #fff; 177 | } 178 | 179 | .tabs li a:hover { 180 | background-color: #00b3ff; 181 | } 182 | 183 | .tabs li.active a { 184 | color: #000; 185 | background-color: #fff; 186 | } 187 | 188 | div.huge { 189 | font-size: 300px; 190 | line-height: 1em; 191 | padding: 0; 192 | letter-spacing: -0.02em; 193 | overflow: hidden; 194 | } 195 | div.glyph_range { 196 | font-size: 72px; 197 | line-height: 1.1em; 198 | } 199 | 200 | .size10 { 201 | font-size: 10px; 202 | } 203 | .size11 { 204 | font-size: 11px; 205 | } 206 | .size12 { 207 | font-size: 12px; 208 | } 209 | .size13 { 210 | font-size: 13px; 211 | } 212 | .size14 { 213 | font-size: 14px; 214 | } 215 | .size16 { 216 | font-size: 16px; 217 | } 218 | .size18 { 219 | font-size: 18px; 220 | } 221 | .size20 { 222 | font-size: 20px; 223 | } 224 | .size24 { 225 | font-size: 24px; 226 | } 227 | .size30 { 228 | font-size: 30px; 229 | } 230 | .size36 { 231 | font-size: 36px; 232 | } 233 | .size48 { 234 | font-size: 48px; 235 | } 236 | .size60 { 237 | font-size: 60px; 238 | } 239 | .size72 { 240 | font-size: 72px; 241 | } 242 | .size90 { 243 | font-size: 90px; 244 | } 245 | 246 | .psample_row1 { 247 | height: 120px; 248 | } 249 | .psample_row1 { 250 | height: 120px; 251 | } 252 | .psample_row2 { 253 | height: 160px; 254 | } 255 | .psample_row3 { 256 | height: 160px; 257 | } 258 | .psample_row4 { 259 | height: 160px; 260 | } 261 | 262 | .psample { 263 | overflow: hidden; 264 | position: relative; 265 | } 266 | .psample p { 267 | line-height: 1.3em; 268 | display: block; 269 | overflow: hidden; 270 | margin: 0; 271 | } 272 | 273 | .psample span { 274 | margin-right: 0.5em; 275 | } 276 | 277 | .white_blend { 278 | width: 100%; 279 | height: 61px; 280 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVkAAAA9CAYAAAAH4BojAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAO1JREFUeNrs3TsKgFAMRUE/eer+NxztxMYuEWQG3ECKwwUF58ycAKixOAGAyAKILAAiCyCyACILgMgCiCyAyAIgsgAiCyCyAIgsgMgCiCwAIgsgsgAiC4DIAogsACIL0CWuZ3UGgLrIhjMA1EV2OAOAJQtgyQLwjOzmDAAiCyCyAIgsQFtkd2cAEFkAkQVAZAHaIns4A4AlC2DJAiCyACILILIAiCzAV5H1dQGAJQsgsgCILIDIAvwisl58AViyAJYsACILILIAIgvAe2T9EhxAZAFEFgCRBeiL7HAGgLrIhjMAWLIAliwAt1OAAQDwygTBulLIlQAAAABJRU5ErkJggg==); 281 | position: absolute; 282 | bottom: 0; 283 | } 284 | .black_blend { 285 | width: 100%; 286 | height: 61px; 287 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVkAAAA9CAYAAAAH4BojAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPJJREFUeNrs3TEKhTAQRVGjibr/9QoxhY2N3Ywo50A28IrLwP9g6b1PAMSYTQAgsgAiC4DIAogsgMgCILIAIgsgsgCILIDIAogsACILILIAIguAyAKILIDIAiCyACILgMgCZCnjLWYAiFGvB0BQZJsZAFyyAC5ZAO6RXc0AILIAIguAyAKkRXYzA4DIAogsACILkBbZ3QwALlkAlywAIgsgsgAiC4DIArwVWf8uAHDJAogsACILILIAv4isH74AXLIALlkARBZAZAFEFoDnyPokOIDIAogsACILkBfZZgaAuMhWMwC4ZAE+p4x3mAEgxinAAJ+XBbPWGkwAAAAAAElFTkSuQmCC); 288 | position: absolute; 289 | bottom: 0; 290 | } 291 | .fullreverse { 292 | background: #000 !important; 293 | color: #fff !important; 294 | margin-left: -20px; 295 | padding-left: 20px; 296 | margin-right: -20px; 297 | padding-right: 20px; 298 | padding: 20px; 299 | margin-bottom: 0; 300 | } 301 | 302 | .sample_table td { 303 | padding-top: 3px; 304 | padding-bottom: 5px; 305 | padding-left: 5px; 306 | vertical-align: middle; 307 | line-height: 1.2em; 308 | } 309 | 310 | .sample_table td:first-child { 311 | background-color: #eee; 312 | text-align: right; 313 | padding-right: 5px; 314 | padding-left: 0; 315 | padding: 5px; 316 | font: 11px/12px 'Courier New', Courier, mono; 317 | } 318 | 319 | code { 320 | white-space: pre; 321 | background-color: #eee; 322 | display: block; 323 | padding: 10px; 324 | margin-bottom: 18px; 325 | overflow: auto; 326 | } 327 | 328 | .bottom, 329 | .last { 330 | margin-bottom: 0 !important; 331 | padding-bottom: 0 !important; 332 | } 333 | 334 | .box { 335 | padding: 18px; 336 | margin-bottom: 18px; 337 | background: #eee; 338 | } 339 | 340 | .reverse, 341 | .reversed { 342 | background: #000 !important; 343 | color: #fff !important; 344 | border: none !important; 345 | } 346 | 347 | #bodycomparison { 348 | position: relative; 349 | overflow: hidden; 350 | font-size: 72px; 351 | height: 90px; 352 | white-space: nowrap; 353 | } 354 | 355 | #bodycomparison div { 356 | font-size: 72px; 357 | line-height: 90px; 358 | display: inline; 359 | margin: 0 15px 0 0; 360 | padding: 0; 361 | } 362 | 363 | #bodycomparison div span { 364 | font: 10px Arial; 365 | position: absolute; 366 | left: 0; 367 | } 368 | #xheight { 369 | float: none; 370 | position: absolute; 371 | color: #d9f3ff; 372 | font-size: 72px; 373 | line-height: 90px; 374 | } 375 | 376 | .fontbody { 377 | position: relative; 378 | } 379 | .arialbody { 380 | font-family: Arial; 381 | position: relative; 382 | } 383 | .verdanabody { 384 | font-family: Verdana; 385 | position: relative; 386 | } 387 | .georgiabody { 388 | font-family: Georgia; 389 | position: relative; 390 | } 391 | 392 | /* @group Layout page 393 | */ 394 | 395 | #layout h1 { 396 | font-size: 36px; 397 | line-height: 42px; 398 | font-weight: normal; 399 | font-style: normal; 400 | } 401 | 402 | #layout h2 { 403 | font-size: 24px; 404 | line-height: 23px; 405 | font-weight: normal; 406 | font-style: normal; 407 | } 408 | 409 | #layout h3 { 410 | font-size: 22px; 411 | line-height: 1.4em; 412 | margin-top: 1em; 413 | font-weight: normal; 414 | font-style: normal; 415 | } 416 | 417 | #layout p.byline { 418 | font-size: 12px; 419 | margin-top: 18px; 420 | line-height: 12px; 421 | margin-bottom: 0; 422 | } 423 | #layout p { 424 | font-size: 14px; 425 | line-height: 21px; 426 | margin-bottom: 0.5em; 427 | } 428 | 429 | #layout p.large { 430 | font-size: 18px; 431 | line-height: 26px; 432 | } 433 | 434 | #layout .sidebar p { 435 | font-size: 12px; 436 | line-height: 1.4em; 437 | } 438 | 439 | #layout p.caption { 440 | font-size: 10px; 441 | margin-top: -16px; 442 | margin-bottom: 18px; 443 | } 444 | 445 | /* @end */ 446 | 447 | /* @group Glyphs */ 448 | 449 | #glyph_chart div { 450 | background-color: #d9f3ff; 451 | color: black; 452 | float: left; 453 | font-size: 36px; 454 | height: 1.2em; 455 | line-height: 1.2em; 456 | margin-bottom: 1px; 457 | margin-right: 1px; 458 | text-align: center; 459 | width: 1.2em; 460 | position: relative; 461 | padding: 0.6em 0.2em 0.2em; 462 | } 463 | 464 | #glyph_chart div p { 465 | position: absolute; 466 | left: 0; 467 | top: 0; 468 | display: block; 469 | text-align: center; 470 | font: bold 9px Arial, sans-serif; 471 | background-color: #3a768f; 472 | width: 100%; 473 | color: #fff; 474 | padding: 2px 0; 475 | } 476 | 477 | #glyphs h1 { 478 | font-family: Arial, sans-serif; 479 | } 480 | /* @end */ 481 | 482 | /* @group Installing */ 483 | 484 | #installing { 485 | font: 13px Arial, sans-serif; 486 | } 487 | 488 | #installing p, 489 | #glyphs p { 490 | line-height: 1.2em; 491 | margin-bottom: 18px; 492 | font: 13px Arial, sans-serif; 493 | } 494 | 495 | #installing h3 { 496 | font-size: 15px; 497 | margin-top: 18px; 498 | } 499 | 500 | /* @end */ 501 | 502 | #rendering h1 { 503 | font-family: Arial, sans-serif; 504 | } 505 | .render_table td { 506 | font: 11px 'Courier New', Courier, mono; 507 | vertical-align: middle; 508 | } 509 | -------------------------------------------------------------------------------- /example/fonts/Webfonts/futurapt_demiitalic_macroman/stylesheet.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Web Fonts from fontspring.com 3 | * 4 | * All OpenType features and all extended glyphs have been removed. 5 | * Fully installable fonts can be purchased at http://www.fontspring.com 6 | * 7 | * The fonts included in this stylesheet are subject to the End User License you purchased 8 | * from Fontspring. The fonts are protected under domestic and international trademark and 9 | * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or 10 | * distributing this font software. 11 | * 12 | * (c) 2010-2016 Fontspring 13 | * 14 | * 15 | * 16 | * 17 | * The fonts included are copyrighted by the vendor listed below. 18 | * 19 | * Vendor: ParaType 20 | * License URL: https://www.fontspring.com/licenses/paratype/webfont 21 | * 22 | * 23 | */ 24 | 25 | @font-face { 26 | font-family: 'Futura PT'; 27 | font-display: swap; 28 | src: url('ftn66-webfont.woff2') format('woff2'), 29 | url('ftn66-webfont.woff') format('woff'), 30 | url('ftn66-webfont.ttf') format('truetype'); 31 | font-weight: bold; 32 | font-style: italic; 33 | } 34 | -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@gatsby/webinar-presentation", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "license": "MIT", 6 | "scripts": { 7 | "build": "mdx-deck build deck.js --webpack webpack.config.js", 8 | "postbuild": "npm run build:pdf", 9 | "build:pdf": "mdx-deck pdf deck.js", 10 | "start": "mdx-deck deck.js --webpack webpack.config.js" 11 | }, 12 | "devDependencies": { 13 | "css-loader": "^1.0.0", 14 | "file-loader": "^2.0.0", 15 | "mdx-deck": "^1.7.4", 16 | "style-loader": "^0.23.0" 17 | }, 18 | "dependencies": { 19 | "gatsby-mdx-theme": "^0.0.4", 20 | "typeface-space-mono": "^0.0.54", 21 | "typeface-spectral": "^0.0.54" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /example/topics/conclusion.mdx: -------------------------------------------------------------------------------- 1 | import { Main } from 'gatsby-mdx-theme' 2 | 3 | export default Main 4 | 5 | # Conclusion 6 | 7 | ## Thanks for your time! 8 | -------------------------------------------------------------------------------- /example/topics/demo.mdx: -------------------------------------------------------------------------------- 1 | import { FullScreenCode, Main, Section, SectionInverted } from 'gatsby-mdx-theme' 2 | 3 | export default Section 4 | 5 | # Demos! 6 | 7 | ## Kyle Mathews 8 | -------------------------------------------------------------------------------- /example/topics/gatsby-overview.mdx: -------------------------------------------------------------------------------- 1 | import { FullScreenCode, Main, Section, SectionInverted } from 'gatsby-mdx-theme' 2 | 3 | export default Section 4 | 5 | # Gatsby Overview 6 | ## Kyle Mathews 7 | -------------------------------------------------------------------------------- /example/topics/intro.mdx: -------------------------------------------------------------------------------- 1 | import { Head } from 'mdx-deck' 2 | import { 3 | FullScreenCode, 4 | Main, 5 | Section, 6 | SectionInverted 7 | } from 'gatsby-mdx-theme' 8 | 9 | export default Main 10 | 11 | # Gatsby v2 12 | 13 | ## Faster build times, Guess.js, and more! 14 | 15 | 16 | Gatsby v2: Faster build times, Guess.js, and more! 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | --- 30 | export default Section 31 | 32 | # Introductions 33 | 34 | ## Linda Watkins 35 | -------------------------------------------------------------------------------- /example/topics/new-features.mdx: -------------------------------------------------------------------------------- 1 | import { FullScreenCode, Main, Section, SectionInverted } from 'gatsby-mdx-theme' 2 | 3 | export default Section 4 | 5 | # New Features 6 | 7 | --- 8 | > Hello World 9 | > 10 | > -- Dustin Schau 11 | --- 12 | 13 | ## List items 14 | 15 | - first 16 | - second 17 | - third 18 | 19 | --- 20 | 21 | export default SectionInverted 22 | 23 | ## Keeping Gatsby Fast 24 | 25 | ### Dustin Schau 26 | 27 | --- 28 | export default SectionInverted 29 | 30 | ## Updating Gatsby's Core Dependencies 31 | 32 | ### Kyle Mathews -------------------------------------------------------------------------------- /example/topics/q-and-a.mdx: -------------------------------------------------------------------------------- 1 | import { FullScreenCode, Main, Section, SectionInverted } from 'gatsby-mdx-theme' 2 | 3 | export default Section 4 | 5 | # Q & A 6 | 7 | ## Kyle, Sam, & Dustin 8 | -------------------------------------------------------------------------------- /example/webpack.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | module: { 3 | rules: [ 4 | { 5 | test: /\.css$/, 6 | use: ['style-loader', 'css-loader'] 7 | }, 8 | { 9 | test: /\.(woff(2)?|ttf|eot|svg)/, 10 | use: ['file-loader'] 11 | } 12 | ] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | base = "example/" 3 | publish = "example/dist" 4 | command = "yarn build" 5 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gatsby-mdx-theme", 3 | "version": "0.0.6", 4 | "main": "cjs/gatsby-mdx-theme.js", 5 | "module": "es/gatsby-mdx-theme.js", 6 | "author": "Dustin Schau ", 7 | "license": "MIT", 8 | "scripts": { 9 | "precommit": "pretty-quick --staged", 10 | "prepare": "cross-env NODE_ENV=production npm run build", 11 | "build": "rollup -c rollup.config.js && npm run babel", 12 | "babel": "babel src --out-dir es --source-maps", 13 | "babel:watch": "npm run babel -- --watch" 14 | }, 15 | "files": [ 16 | "cjs/*", 17 | "es/*" 18 | ], 19 | "devDependencies": { 20 | "@babel/cli": "^7.1.0", 21 | "@babel/core": "^7.1.0", 22 | "@babel/plugin-syntax-object-rest-spread": "^7.0.0", 23 | "@babel/preset-env": "^7.1.0", 24 | "@babel/preset-react": "^7.0.0", 25 | "cross-env": "^5.2.0", 26 | "husky": "^0.14.3", 27 | "prettier": "^1.14.3", 28 | "pretty-quick": "^1.7.0", 29 | "rollup": "^0.66.2", 30 | "rollup-plugin-babel": "^4.0.3", 31 | "rollup-plugin-commonjs": "^9.1.8", 32 | "rollup-plugin-node-resolve": "^3.4.0", 33 | "rollup-plugin-peer-deps-external": "^2.2.0" 34 | }, 35 | "peerDependencies": { 36 | "mdx-deck": "1.x.x", 37 | "prop-types": "15.x.x", 38 | "react": "16.x.x", 39 | "react-syntax-highlighter": "8.x.x", 40 | "styled-components": "3.x.x", 41 | "styled-system": "^3.1.4" 42 | }, 43 | "dependencies": {} 44 | } 45 | -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- 1 | import babel from 'rollup-plugin-babel' 2 | import peerDeps from 'rollup-plugin-peer-deps-external' 3 | import nodeResolve from 'rollup-plugin-node-resolve' 4 | 5 | export default { 6 | input: 'src/gatsby-mdx-theme.js', 7 | output: { 8 | exports: 'named', 9 | file: 'cjs/gatsby-mdx-theme.js', 10 | format: 'cjs', 11 | sourcemap: true 12 | }, 13 | plugins: [nodeResolve(), peerDeps(), babel()] 14 | } 15 | -------------------------------------------------------------------------------- /src/colors.js: -------------------------------------------------------------------------------- 1 | const colors = { 2 | // original palette by @SachaG 3 | // @see https://www.figma.com/file/J6IYJEtdRmwJQOrcZ2DfvxDD/Gatsby 4 | gatsby: `#663399`, // was #744c9e 5 | lilac: `#8c65b3`, 6 | // accent color from the "bolder palette" by @ArchieHicklin 7 | // @see https://github.com/gatsbyjs/gatsby/issues/1173#issuecomment-309415650 8 | accent: `#ffb238`, // "Mustard", 9 | success: `#37b635`, 10 | warning: `#ec1818`, 11 | ui: { 12 | border: `#ede7f3`, 13 | bright: `#e0d6eb`, 14 | light: `#f5f3f7`, 15 | whisper: `#fbfafc` 16 | }, 17 | code: { 18 | bg: `#fdfaf6`, 19 | border: `#faede5`, 20 | text: `#866c5b`, 21 | remove: `#e45c5c`, 22 | add: `#4a9c59`, 23 | selector: `#b3568b`, 24 | tag: `#4084a1`, 25 | keyword: `#538eb6`, 26 | comment: `#6f8f39`, 27 | punctuation: `#53450e`, 28 | regex: `#d88489`, 29 | cssString: `#a2466c`, 30 | invisibles: `#e0d7d1`, 31 | scrollbarThumb: `#f4d1c6`, 32 | lineHighlightBorder: `#f1beb6` 33 | } 34 | } 35 | 36 | export default colors 37 | -------------------------------------------------------------------------------- /src/components/boxes.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components' 3 | 4 | import colors from '../colors' 5 | 6 | const Container = styled.div` 7 | display: flex; 8 | flex-direction: column; 9 | align-items: center; 10 | justify-content: center; 11 | ` 12 | 13 | const Layers = styled.div` 14 | height: 25vh; 15 | width: 25vw; 16 | position: relative; 17 | ` 18 | 19 | const Layer = styled.div` 20 | background-color: #f5f3f7; 21 | height: 100%; 22 | width: 15vw; 23 | 24 | position: absolute; 25 | top: 0; 26 | left: 0; 27 | 28 | clip-path: polygon(0 0, 100% 0, 100% 0, 0% 100%); 29 | ` 30 | 31 | const Center = styled.div` 32 | position: absolute; 33 | top: 50%; 34 | left: 50%; 35 | 36 | transform: translateX(-25%) translateY(-75%); 37 | 38 | @media only screen and (min-width: 1024px) { 39 | transform: translateX(-100%) translateY(-100%); // hack 40 | } 41 | ` 42 | 43 | export function Boxes({ children, inverted }) { 44 | let layers = [colors.code.bg, colors.lilac, colors.gatsby] 45 | 46 | if (inverted) { 47 | layers = layers.reverse() 48 | } 49 | 50 | return ( 51 | 52 | 53 | {layers.map((color, index) => ( 54 | 62 | ))} 63 | 64 |
{children}
65 |
66 | ) 67 | } 68 | -------------------------------------------------------------------------------- /src/components/center.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components' 3 | 4 | export const Center = styled.div` 5 | display: flex; 6 | align-items: center; 7 | justify-content: center; 8 | ` 9 | -------------------------------------------------------------------------------- /src/components/index.js: -------------------------------------------------------------------------------- 1 | export * from './boxes' 2 | export * from './center' 3 | export * from './logo' 4 | export * from './logo-boxes' 5 | -------------------------------------------------------------------------------- /src/components/logo-boxes.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | import { Logo } from './logo' 4 | import { Boxes } from './boxes' 5 | 6 | export function LogoBoxes({ inverted }) { 7 | return 8 | } 9 | 10 | LogoBoxes.defaultProps = { 11 | inverted: false 12 | } 13 | -------------------------------------------------------------------------------- /src/components/logo.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components' 3 | 4 | const Svg = styled.svg` 5 | min-height: 50px; 6 | min-width: 150px; 7 | ` 8 | 9 | export const Logo = ({ inverted, ...rest }) => { 10 | const colors = inverted 11 | ? { 12 | fill: '#639', 13 | background: 'white' 14 | } 15 | : { 16 | fill: 'white', 17 | background: '#639' 18 | } 19 | return ( 20 | 21 | 25 | 26 | 31 | 35 | 36 | 37 | ) 38 | } 39 | -------------------------------------------------------------------------------- /src/fonts.js: -------------------------------------------------------------------------------- 1 | export const header = [ 2 | `Futura PT`, 3 | `-apple-system`, 4 | `BlinkMacSystemFont`, 5 | `Segoe UI`, 6 | `Roboto`, 7 | `Oxygen`, 8 | `Ubuntu`, 9 | `Cantarell`, 10 | `Fira Sans`, 11 | `Droid Sans`, 12 | `Helvetica Neue`, 13 | `Arial`, 14 | `sans-serif` 15 | ] 16 | 17 | export const body = [`Spectral`, `Georgia`, `Times New Roman`, `Times`, `serif`] 18 | 19 | export const code = [ 20 | `Space Mono`, 21 | `SFMono-Regular`, 22 | `Menlo`, 23 | `Monaco`, 24 | `Consolas`, 25 | `Liberation Mono`, 26 | `Courier New`, 27 | `monospace` 28 | ] 29 | -------------------------------------------------------------------------------- /src/gatsby-code-theme.js: -------------------------------------------------------------------------------- 1 | import colors from './colors' 2 | 3 | const preStyle = { 4 | color: colors.code.text, 5 | background: colors.code.bg, 6 | textShadow: '0 1px rgba(0, 0, 0, 0.3)', 7 | fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", 8 | textAlign: 'left', 9 | whiteSpace: 'pre', 10 | wordSpacing: 'normal', 11 | wordBreak: 'normal', 12 | wordWrap: 'normal', 13 | lineHeight: '1.5', 14 | MozTabSize: '4', 15 | OTabSize: '4', 16 | tabSize: '4', 17 | WebkitHyphens: 'none', 18 | MozHyphens: 'none', 19 | msHyphens: 'none', 20 | hyphens: 'none' 21 | } 22 | 23 | export default { 24 | 'code[class*="language-"]': preStyle, 25 | 'pre[class*="language-"]': preStyle, 26 | ':not(pre) > code[class*="language-"]': { 27 | background: '#272822', 28 | padding: '.1em', 29 | borderRadius: '.3em', 30 | whiteSpace: 'normal' 31 | }, 32 | comment: { 33 | color: colors.code.comment 34 | }, 35 | punctuation: { 36 | color: colors.code.punctuation 37 | }, 38 | property: { 39 | color: colors.code.tag 40 | }, 41 | tag: { 42 | color: colors.code.tag 43 | }, 44 | boolean: { 45 | color: colors.code.tag 46 | }, 47 | number: { 48 | color: colors.code.tag 49 | }, 50 | 'function-name': { 51 | color: colors.code.tag 52 | }, 53 | constant: { 54 | color: colors.code.tag 55 | }, 56 | symbol: { 57 | color: colors.code.tag 58 | }, 59 | selector: { 60 | color: colors.code.selector 61 | }, 62 | 'attr-name': { 63 | color: colors.code.selector 64 | }, 65 | string: { 66 | color: colors.code.selector 67 | }, 68 | char: { 69 | color: colors.code.selector 70 | }, 71 | function: { 72 | color: colors.code.selector 73 | }, 74 | builtin: { 75 | color: colors.code.selector 76 | }, 77 | 'atrule, keyword, class-name': { 78 | color: colors.code.keyword 79 | }, 80 | 'attr-value': { 81 | color: colors.code.keyword 82 | }, 83 | keyword: { 84 | color: colors.code.keyword 85 | }, 86 | 'class-name': { 87 | color: colors.code.keyword 88 | }, 89 | inserted: { 90 | color: colors.code.add 91 | }, 92 | deleted: { 93 | color: colors.code.remove 94 | }, 95 | regex: { 96 | color: colors.code.regex 97 | }, 98 | important: { 99 | color: colors.code.regex, 100 | fontWeight: `normal` 101 | }, 102 | bold: { 103 | fontWeight: `bold` 104 | }, 105 | italic: { 106 | fontStyle: `italic` 107 | }, 108 | entity: { 109 | cursor: `help` 110 | }, 111 | '.namespace': { 112 | opacity: 0.7 113 | }, 114 | '.language-css string, .style string': { 115 | color: colors.code.cssString 116 | } 117 | } 118 | -------------------------------------------------------------------------------- /src/gatsby-mdx-theme.js: -------------------------------------------------------------------------------- 1 | import theme from 'mdx-deck/themes' 2 | 3 | import { code, header } from './fonts' 4 | import colors from './colors' 5 | import codeTheme from './gatsby-code-theme' 6 | 7 | export * from './layouts' 8 | 9 | export default { 10 | ...theme, 11 | font: header.join(','), 12 | monospace: code.join(','), 13 | transitionTimingFunction: 'linear', 14 | transitionDuration: '0s', 15 | colors: { 16 | background: 'white', 17 | heading: colors.gatsby 18 | }, 19 | blockquote: { 20 | color: colors.gatsby, 21 | paddingLeft: '2rem', 22 | borderLeft: `5px solid ${colors.gatsby}` 23 | }, 24 | paragraph: { 25 | color: colors.gatsby 26 | }, 27 | li: { 28 | color: colors.gatsby 29 | }, 30 | prism: { 31 | style: codeTheme 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/layouts/full-screen-code.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled from 'styled-components' 3 | 4 | import colors from '../colors' 5 | 6 | const FullCode = styled.div([], { 7 | width: '100vw', 8 | height: '100vh', 9 | textAlign: 'left', 10 | backgroundColor: colors.code.bg, 11 | '& pre': { 12 | display: `flex`, 13 | alignItems: `center`, 14 | justifyContent: `center`, 15 | // needed to override inline styles from syntax highlighting 16 | margin: '0 !important', 17 | width: '100vw', 18 | height: '100vh' 19 | } 20 | }) 21 | 22 | export default FullCode 23 | -------------------------------------------------------------------------------- /src/layouts/index.js: -------------------------------------------------------------------------------- 1 | export { default as FullScreenCode } from './full-screen-code' 2 | export { default as Main } from './main' 3 | export { default as Section } from './section' 4 | export { default as SectionInverted } from './section-inverted' 5 | -------------------------------------------------------------------------------- /src/layouts/main.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import PropTypes from 'prop-types' 3 | import styled from 'styled-components' 4 | 5 | import { Center } from '../components' 6 | import colors from '../colors' 7 | 8 | const Container = styled.div` 9 | display: flex; 10 | flex-direction: column 11 | align-items: center; 12 | justify-content: space-between; 13 | width: 100vw; 14 | height: 100vh; 15 | background-color: white; 16 | 17 | align-items: flex-start; 18 | 19 | h1 { 20 | text-align: left; 21 | } 22 | 23 | h2 { 24 | color: grey; 25 | font-weight: 400; 26 | text-align: left; 27 | } 28 | ` 29 | 30 | const CenteredHalf = styled(Center)` 31 | flex-direction: column; 32 | height: 50vh; 33 | 34 | padding-left: 15vw; 35 | ` 36 | 37 | const PurpleBg = styled.div` 38 | width: 100vw; 39 | height: 50vh; 40 | background-color: ${colors.gatsby}; 41 | ` 42 | 43 | export default function Main({ children }) { 44 | return ( 45 | 46 | {children} 47 | 48 | 49 | ) 50 | } 51 | 52 | Main.propTypes = { 53 | children: PropTypes.node.isRequired 54 | } 55 | -------------------------------------------------------------------------------- /src/layouts/section-inverted.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | import Section from './section' 4 | 5 | export default function SectionInverted({ children, ...rest }) { 6 | return ( 7 |
8 | {children} 9 |
10 | ) 11 | } 12 | -------------------------------------------------------------------------------- /src/layouts/section.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | import styled, { css } from 'styled-components' 3 | 4 | import { Center, LogoBoxes } from '../components' 5 | import colors from '../colors' 6 | 7 | const Container = styled(Center)` 8 | height: 100vh; 9 | width: 100vw; 10 | 11 | position: relative; 12 | background-color: ${props => (props.inverted ? colors.gatsby : 'white')}; 13 | 14 | h1 { 15 | text-align: left; 16 | } 17 | 18 | h2 { 19 | color: grey; 20 | font-weight: 400; 21 | text-align: left; 22 | } 23 | 24 | ${props => 25 | props.inverted && 26 | css` 27 | h1, 28 | h2, 29 | h3, 30 | h4, 31 | h5, 32 | h6, 33 | ul, 34 | li, 35 | p { 36 | color: white; 37 | } 38 | `}; 39 | ` 40 | 41 | const LogoContainer = styled.div` 42 | position: absolute; 43 | 44 | top: 0; 45 | left: 0; 46 | ` 47 | 48 | export default function Section({ children, inverted, ...rest }) { 49 | return ( 50 | 51 | 52 | 53 | 54 | {children} 55 | 56 | ) 57 | } 58 | --------------------------------------------------------------------------------