Blame view

bower_components/paper-styles/typography.html 5.72 KB
73bcce88   luigser   COMPONENTS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  <!--
  @license
  Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
  The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
  Code distributed by Google as part of the polymer project is also
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
  -->
  
  <link rel="import" href="../polymer/polymer.html">
  <link rel="import" href="../font-roboto/roboto.html">
  
  <style is="custom-style">
  
    :root {
  
      /* Shared Styles */
c5169e0e   Renato De Donato   a new hope
19
20
21
22
23
  
      /*
      Unfortunately, we can't use nested rules
      See https://github.com/Polymer/polymer/issues/1399
      */
73bcce88   luigser   COMPONENTS
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
      --paper-font-common-base: {
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
      };
  
      --paper-font-common-code: {
        font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
        -webkit-font-smoothing: antialiased;
      };
  
      --paper-font-common-expensive-kerning: {
        text-rendering: optimizeLegibility;
      };
  
      --paper-font-common-nowrap: {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      };
  
      /* Material Font Styles */
  
      --paper-font-display4: {
c5169e0e   Renato De Donato   a new hope
47
48
49
50
51
52
53
54
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
  
        /* @apply(--paper-font-common-nowrap); */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
73bcce88   luigser   COMPONENTS
55
56
57
58
59
60
61
62
  
        font-size: 112px;
        font-weight: 300;
        letter-spacing: -.044em;
        line-height: 120px;
      };
  
      --paper-font-display3: {
c5169e0e   Renato De Donato   a new hope
63
64
65
66
67
68
69
70
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
  
        /* @apply(--paper-font-common-nowrap); */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
73bcce88   luigser   COMPONENTS
71
72
73
74
75
76
77
78
  
        font-size: 56px;
        font-weight: 400;
        letter-spacing: -.026em;
        line-height: 60px;
      };
  
      --paper-font-display2: {
c5169e0e   Renato De Donato   a new hope
79
80
81
82
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
  
73bcce88   luigser   COMPONENTS
83
84
85
86
87
88
89
90
  
        font-size: 45px;
        font-weight: 400;
        letter-spacing: -.018em;
        line-height: 48px;
      };
  
      --paper-font-display1: {
c5169e0e   Renato De Donato   a new hope
91
92
93
94
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
  
73bcce88   luigser   COMPONENTS
95
96
97
98
99
100
101
102
  
        font-size: 34px;
        font-weight: 400;
        letter-spacing: -.01em;
        line-height: 40px;
      };
  
      --paper-font-headline: {
c5169e0e   Renato De Donato   a new hope
103
104
105
106
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
  
73bcce88   luigser   COMPONENTS
107
108
109
110
111
112
113
114
  
        font-size: 24px;
        font-weight: 400;
        letter-spacing: -.012em;
        line-height: 32px;
      };
  
      --paper-font-title: {
c5169e0e   Renato De Donato   a new hope
115
116
117
118
119
120
121
122
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
  
        /* @apply(--paper-font-common-nowrap); */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
73bcce88   luigser   COMPONENTS
123
124
125
126
127
128
129
  
        font-size: 20px;
        font-weight: 500;
        line-height: 28px;
      };
  
      --paper-font-subhead: {
c5169e0e   Renato De Donato   a new hope
130
131
132
133
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
  
73bcce88   luigser   COMPONENTS
134
135
136
137
138
139
140
  
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
      };
  
      --paper-font-body2: {
c5169e0e   Renato De Donato   a new hope
141
142
143
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
73bcce88   luigser   COMPONENTS
144
145
146
147
148
149
150
  
        font-size: 14px;
        font-weight: 500;
        line-height: 24px;
      };
  
      --paper-font-body1: {
c5169e0e   Renato De Donato   a new hope
151
152
153
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
73bcce88   luigser   COMPONENTS
154
155
156
157
158
159
160
  
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
      };
  
      --paper-font-caption: {
c5169e0e   Renato De Donato   a new hope
161
162
163
164
165
166
167
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
        /* @apply(--paper-font-common-nowrap); */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
73bcce88   luigser   COMPONENTS
168
169
170
171
172
173
174
175
  
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0.011em;
        line-height: 20px;
      };
  
      --paper-font-menu: {
c5169e0e   Renato De Donato   a new hope
176
177
178
179
180
181
182
183
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
  
        /* @apply(--paper-font-common-nowrap); */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
73bcce88   luigser   COMPONENTS
184
185
186
187
188
189
190
  
        font-size: 13px;
        font-weight: 500;
        line-height: 24px;
      };
  
      --paper-font-button: {
c5169e0e   Renato De Donato   a new hope
191
192
193
194
195
196
197
198
        /* @apply(--paper-font-common-base) */
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
  
        /* @apply(--paper-font-common-nowrap); */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
73bcce88   luigser   COMPONENTS
199
200
201
202
203
204
205
206
207
  
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.018em;
        line-height: 24px;
        text-transform: uppercase;
      };
  
      --paper-font-code2: {
c5169e0e   Renato De Donato   a new hope
208
209
210
        /* @apply(--paper-font-common-code); */
        font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
        -webkit-font-smoothing: antialiased;
73bcce88   luigser   COMPONENTS
211
212
213
214
215
216
217
  
        font-size: 14px;
        font-weight: 700;
        line-height: 20px;
      };
  
      --paper-font-code1: {
c5169e0e   Renato De Donato   a new hope
218
219
220
        /* @apply(--paper-font-common-code); */
        font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
        -webkit-font-smoothing: antialiased;
73bcce88   luigser   COMPONENTS
221
222
223
224
225
226
227
228
229
  
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
      };
  
    }
  
  </style>