mirror of
https://github.com/lnbits/lnbits.git
synced 2025-08-03 07:22:28 +02:00
fix: self host icon fonts
This commit is contained in:
@@ -33,10 +33,6 @@ Talisman(
|
|||||||
"'unsafe-inline'",
|
"'unsafe-inline'",
|
||||||
"blob:",
|
"blob:",
|
||||||
"api.opennode.co",
|
"api.opennode.co",
|
||||||
"fonts.googleapis.com",
|
|
||||||
"fonts.gstatic.com",
|
|
||||||
"github.com",
|
|
||||||
"avatars2.githubusercontent.com",
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
@@ -45,3 +45,24 @@ a.inherit {
|
|||||||
|
|
||||||
video {
|
video {
|
||||||
border-radius: 3px; }
|
border-radius: 3px; }
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Material Icons';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url(../fonts/material-icons-v50.woff2) format('woff2'); }
|
||||||
|
|
||||||
|
.material-icons {
|
||||||
|
font-family: 'Material Icons';
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 1;
|
||||||
|
letter-spacing: normal;
|
||||||
|
text-transform: none;
|
||||||
|
display: inline-block;
|
||||||
|
white-space: nowrap;
|
||||||
|
word-wrap: normal;
|
||||||
|
direction: ltr;
|
||||||
|
-moz-font-feature-settings: 'liga';
|
||||||
|
-moz-osx-font-smoothing: grayscale; }
|
||||||
|
BIN
lnbits/static/fonts/material-icons-v50.woff2
Normal file
BIN
lnbits/static/fonts/material-icons-v50.woff2
Normal file
Binary file not shown.
@@ -76,3 +76,28 @@ a.inherit {
|
|||||||
video {
|
video {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Material icons font
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Material Icons';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url(../fonts/material-icons-v50.woff2) format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
.material-icons {
|
||||||
|
font-family: 'Material Icons';
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 1;
|
||||||
|
letter-spacing: normal;
|
||||||
|
text-transform: none;
|
||||||
|
display: inline-block;
|
||||||
|
white-space: nowrap;
|
||||||
|
word-wrap: normal;
|
||||||
|
direction: ltr;
|
||||||
|
-moz-font-feature-settings: 'liga';
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Material+Icons" type="text/css">
|
|
||||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='vendor/quasar@1.9.15/quasar.min.css') }}">
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='vendor/quasar@1.9.15/quasar.min.css') }}">
|
||||||
{% assets 'base_css' %}
|
{% assets 'base_css' %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ ASSET_URL }}">
|
<link rel="stylesheet" type="text/css" href="{{ ASSET_URL }}">
|
||||||
|
Reference in New Issue
Block a user