Fix fonts
This commit is contained in:
parent
a498c4e822
commit
05acf08e5b
@ -1,28 +0,0 @@
|
||||
@font-face{
|
||||
font-family: 'Fira Code';
|
||||
src: url('woff2/FiraCode-Light.woff2') format('woff2');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face{
|
||||
font-family: 'Fira Code';
|
||||
src: url('eot/FiraCode-Regular.eot');
|
||||
src: url('woff2/FiraCode-Regular.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face{
|
||||
font-family: 'Fira Code';
|
||||
src: url('woff2/FiraCode-Medium.woff2') format('woff2');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face{
|
||||
font-family: 'Fira Code';
|
||||
src: url('woff2/FiraCode-Bold.woff2') format('woff2'),
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,26 +0,0 @@
|
||||
/* raleway-300 - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: local('Raleway Light'), local('Raleway-Light'),
|
||||
url('raleway-v13-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
}
|
||||
|
||||
/* raleway-regular - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Raleway'), local('Raleway-Regular'),
|
||||
url('raleway-v13-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
}
|
||||
|
||||
/* raleway-700 - latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Raleway Bold'), local('Raleway-Bold'),
|
||||
url('raleway-v13-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
||||
}
|
@ -20,12 +20,11 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.png">
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="%PUBLIC_URL%/fonts/raleway/raleway.css">
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="%PUBLIC_URL%/fonts/FiraCode@1.206/fira_code.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="theme-color" content="#50D367">
|
||||
<meta property="og:title" content="Maubot Manager"/>
|
||||
<meta property="og:description" content="Maubot management interface"/>
|
||||
<meta property="og:image" content="%PUBLIC_URL%/favicon.png"/>
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
|
||||
<title>Maubot Manager</title>
|
||||
</head>
|
||||
|
30
maubot/management/frontend/src/style/base/fonts.sass
Normal file
30
maubot/management/frontend/src/style/base/fonts.sass
Normal file
@ -0,0 +1,30 @@
|
||||
@font-face
|
||||
font-family: 'Raleway'
|
||||
font-style: normal
|
||||
font-weight: 300
|
||||
src: local('Raleway Light'), local('Raleway-Light'), url('../fonts/raleway-light.woff2') format('woff2')
|
||||
|
||||
@font-face
|
||||
font-family: 'Raleway'
|
||||
font-style: normal
|
||||
font-weight: 400
|
||||
src: local('Raleway'), local('Raleway-Regular'), url('../fonts/raleway-regular.woff2') format('woff2')
|
||||
|
||||
@font-face
|
||||
font-family: 'Raleway'
|
||||
font-style: normal
|
||||
font-weight: 700
|
||||
src: local('Raleway Bold'), local('Raleway-Bold'), url('../fonts/raleway-bold.woff2') format('woff2')
|
||||
|
||||
|
||||
@font-face
|
||||
font-family: 'Fira Code'
|
||||
src: url('../fonts/firacode-regular.woff2') format('woff2')
|
||||
font-weight: 400
|
||||
font-style: normal
|
||||
|
||||
@font-face
|
||||
font-family: 'Fira Code'
|
||||
src: url('../fonts/firacode-bold.woff2') format('woff2')
|
||||
font-weight: 700
|
||||
font-style: normal
|
@ -16,6 +16,7 @@
|
||||
@import lib/spinner
|
||||
@import lib/contextmenu
|
||||
|
||||
@import base/fonts
|
||||
@import base/vars
|
||||
@import base/body
|
||||
@import base/elements
|
||||
|
Loading…
Reference in New Issue
Block a user