2019/lib/functional/font.css (37 lines of code) (raw):
/**
* @license
* Copyright 2018 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@font-face {
font-family: 'WOFF Dancing Script';
font-style: normal;
font-weight: 400;
src: url(fonts/dancing-script.woff) format('woff');
}
@font-face {
font-family: 'WOFF2 Dancing Script';
font-style: normal;
font-weight: 400;
src: url(fonts/dancing-script.woff2) format('woff2');
}
@font-face {
font-family: 'TTF Dancing Script';
font-style: normal;
font-weight: 400;
src: url(fonts/dancing-script.ttf) format('truetype');
}
.font-block {
font-family: serif;
font-size: 40px;
display: inline-block;
word-break: break-all;
word-wrap: break-word;
width: 390px;
line-height: 110% !important;
margin-left: 20px;
}
.dancing-script-woff {
font-family: 'WOFF Dancing Script', monospace;
}
.dancing-script-woff2 {
font-family: 'WOFF2 Dancing Script', monospace;
}
.dancing-script-ttf {
font-family: 'TTF Dancing Script', sans-serif;
}