forked from rianadon/CheckPCR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
font.sass
61 lines (56 loc) · 2.33 KB
/
font.sass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
$roboto-font-path: "/font/roboto/"
$icons-font-path: "/font/material-design-icons/"
@font-face
font-family: "Roboto"
src: url("#{$roboto-font-path}Roboto-Thin.woff2") format("woff2"),url("#{$roboto-font-path}Roboto-Thin.woff") format("woff"),url("#{$roboto-font-path}Roboto-Thin.ttf") format("truetype")
font-weight: 200
@font-face
font-family: "Roboto"
src: url("#{$roboto-font-path}Roboto-Light.woff2") format("woff2"),url("#{$roboto-font-path}Roboto-Light.woff") format("woff"),url("#{$roboto-font-path}Roboto-Light.ttf") format("truetype")
font-weight: 300
@font-face
font-family: "Roboto"
src: url("#{$roboto-font-path}Roboto-Regular.woff2") format("woff2"),url("#{$roboto-font-path}Roboto-Regular.woff") format("woff"),url("#{$roboto-font-path}Roboto-Regular.ttf") format("truetype")
font-weight: 400
@font-face
font-family: "Roboto"
src: url("#{$roboto-font-path}Roboto-Medium.woff2") format("woff2"),url("#{$roboto-font-path}Roboto-Medium.woff") format("woff"),url("#{$roboto-font-path}Roboto-Medium.ttf") format("truetype")
font-weight: 500
@font-face
font-family: "Roboto"
src: url("#{$roboto-font-path}Roboto-Bold.woff2") format("woff2"),url("#{$roboto-font-path}Roboto-Bold.woff") format("woff"),url("#{$roboto-font-path}Roboto-Bold.ttf") format("truetype")
font-weight: 700
@font-face
font-family: 'Material Icons'
font-style: normal
font-weight: 400
src: url(https://example.com/MaterialIcons-Regular.eot)
src: local('Material Icons'),local('MaterialIcons-Regular'),url("#{$icons-font-path}MaterialIcons-Regular.woff2") format('woff2'),url("#{$icons-font-path}MaterialIcons-Regular.woff") format('woff'), url("#{$icons-font-path}MaterialIcons-Regular.ttf") format('truetype')
.material-icons
font-family: 'Material Icons'
font-weight: normal
font-style: normal
font-size: 24px
display: inline-block
width: 1em
height: 1em
line-height: 1
text-transform: none
letter-spacing: normal
word-wrap: normal
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale
/* Support for IE. */
font-feature-settings: 'liga'
.svg-icons
display: inline-block
width: 24px
height: 24px
background-size: 24px 24px
background-repeat: no-repeat
background-position: 50% 50%
opacity: 0.54