move material icons into the font directory, merge its style with the main font style
This commit is contained in:
parent
9928950255
commit
fc6d0d186b
4 changed files with 103 additions and 101 deletions
|
@ -106,3 +106,12 @@
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Material Icons'),
|
||||
local('MaterialIcons-Regular'),
|
||||
url(/assets/material/MaterialIcons-Regular.woff2) format('woff2');
|
||||
}
|
||||
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Material Icons'),
|
||||
local('MaterialIcons-Regular'),
|
||||
url(/assets/material/MaterialIcons-Regular.woff2) format('woff2');
|
||||
}
|
||||
|
||||
.material-icons {
|
||||
font-family: 'Material Icons';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px; /* Preferred icon size */
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
word-wrap: normal;
|
||||
white-space: nowrap;
|
||||
direction: ltr;
|
||||
text-rendering: optimizeLegibility;
|
||||
|
||||
/* Support for IE. */
|
||||
font-feature-settings: 'liga';
|
||||
|
||||
/* my own changes */
|
||||
vertical-align: bottom;
|
||||
}
|
|
@ -65,3 +65,25 @@ main {
|
|||
width: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* material icons */
|
||||
.material-icons {
|
||||
font-family: 'Material Icons';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px; /* Preferred icon size */
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
word-wrap: normal;
|
||||
white-space: nowrap;
|
||||
direction: ltr;
|
||||
text-rendering: optimizeLegibility;
|
||||
|
||||
/* Support for IE. */
|
||||
font-feature-settings: 'liga';
|
||||
|
||||
/* my own changes */
|
||||
vertical-align: bottom;
|
||||
}
|
Loading…
Reference in a new issue