Commit 5cd3cb95 authored by liujiangnan's avatar liujiangnan

fix: 字体加载问题

parent 41532440
@import '../style/mixin'; @import '../style/mixin';
@import '../../styles.scss';
@mixin tool-btn { @mixin tool-btn {
border: 1px solid #ddd; border: 1px solid #ddd;
display: flex; display: flex;
...@@ -11,6 +10,11 @@ ...@@ -11,6 +10,11 @@
color: #555; color: #555;
} }
@font-face {
font-family: ChalkboardSE-Regular;
src: url('../../assets/font/ChalkboardSE-Regular.woff') format('WOFF');
}
.p-title-box { .p-title-box {
.p-title { .p-title {
font-size: 20px; font-size: 20px;
......
@import '../style/mixin'; @import '../style/mixin';
@import '../../styles.scss';
.body-bg { .body-bg {
position: absolute; position: absolute;
top: 0px; top: 0px;
...@@ -10,6 +9,11 @@ ...@@ -10,6 +9,11 @@
background-size: 100%; background-size: 100%;
} }
@font-face {
font-family: ChalkboardSE-Regular;
src: url('../../assets/font/ChalkboardSE-Regular.woff') format('WOFF');
}
.player-border{ .player-border{
position: absolute; position: absolute;
left: calc((100% - 100vh * 1.36)/ 2); left: calc((100% - 100vh * 1.36)/ 2);
......
...@@ -18,11 +18,6 @@ body { ...@@ -18,11 +18,6 @@ body {
outline: none; outline: none;
} }
@font-face {
font-family: ChalkboardSE-Regular;
src: url('../assets/font/ChalkboardSE-Regular.woff') format('WOFF');
}
.k-16-9 { .k-16-9 {
position: relative; position: relative;
width: 100%; width: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment