3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10 <link rel=
"import" href=
"../../font-roboto/roboto.html">
13 Typographic styles are provided matching the Material Design standard styles:
14 http://www.google.com/design/spec/style/typography.html#typography-standard-styles
16 To make use of them, apply a `paper-font-<style>` class to elements, matching
17 the font style you wish it to inherit.
19 <header class="paper-font-display2">Hey there!</header>
21 Note that these are English/Latin centric styles. You may need to further adjust
22 line heights and weights for CJK typesetting. See the notes in the Material
23 Design typography section.
39 font-family: 'Roboto', 'Noto', sans-serif;
40 -webkit-font-smoothing: antialiased; /* OS X subpixel AA bleed bug */
45 font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
46 -webkit-font-smoothing: antialiased; /* OS X subpixel AA bleed bug */
49 /* Opt for better kerning for headers & other short labels. */
59 text-rendering: optimizeLegibility;
63 "Line wrapping only applies to Body, Subhead, Headline, and the smaller Display
64 styles. All other styles should exist as single lines."
74 text-overflow: ellipsis;
77 .paper-font-display4 {
80 letter-spacing: -
.044em;
84 .paper-font-display3 {
87 letter-spacing: -
.026em;
91 .paper-font-display2 {
94 letter-spacing: -
.018em;
98 .paper-font-display1 {
101 letter-spacing: -
.01em;
105 .paper-font-headline {
108 letter-spacing: -
.012em;
118 .paper-font-subhead {
136 .paper-font-caption {
139 letter-spacing:
0.011em;
152 letter-spacing:
0.018em;
154 text-transform: uppercase;