Eased custom font configuration

This commit is contained in:
Sheng
2020-01-23 16:50:14 +08:00
parent 359a91b5e8
commit b805605278
5 changed files with 46 additions and 3 deletions
+10
View File
@@ -24,6 +24,16 @@
.btn-danger {
margin-left: 5px;
}
{% if font_filename %}
@font-face {
font-family: '{{font_family}}';
src: url('static/css/fonts/{{font_filename}}');
}
body {
font-family: '{{font_family}}';
}
{% end %}
</style>
</head>
<body>