MyCrypto/common/sass/fonts/social-media.scss

51 lines
1021 B
SCSS

@font-face {
font-family: 'social-media';
src: url('../assets/fonts/social-media.woff2') format('woff2'),
url('../assets/fonts/social-media.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.sm-icon {
display: inline-block;
font: normal normal normal 32px/1 'social-media';
text-transform: none;
/* Better Font Rendering */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
&.sm-16px {
font-size: 16px;
}
&.sm-24px {
font-size: 24px;
}
&.sm-32px {
font-size: 32px;
}
&.sm-48px {
font-size: 48px;
}
// Refer to docs for updating icon-fonts
&.sm-logo-facebook:before {
content: '\ea02';
}
&.sm-logo-reddit:before {
content: '\ea03';
}
&.sm-logo-github:before {
content: '\ea04';
}
&.sm-logo-twitter:before {
content: '\ea05';
}
&.sm-logo-linkedin:before {
content: '\ea06';
}
&.sm-logo-slack:before {
content: '\ea07';
}
&.sm-logo-medium:before {
content: '\ea08';
}
}