move material icons into the font directory, merge its style with the main font style

This commit is contained in:
Lynne Megido 2020-04-05 19:00:21 +10:00
parent 9928950255
commit fc6d0d186b
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90
4 changed files with 103 additions and 101 deletions

View File

@ -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');
}

View File

@ -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;
}

View File

@ -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;
}