Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
ww_text
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
ww_text
Commits
5cd3cb95
Commit
5cd3cb95
authored
Aug 24, 2020
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 字体加载问题
parent
41532440
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
form.component.scss
src/app/form/form.component.scss
+5
-1
play.component.scss
src/app/play/play.component.scss
+5
-1
styles.scss
src/styles.scss
+0
-5
No files found.
src/app/form/form.component.scss
View file @
5cd3cb95
@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
;
...
...
src/app/play/play.component.scss
View file @
5cd3cb95
@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
);
...
...
src/styles.scss
View file @
5cd3cb95
...
@@ -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%
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment