Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
data-view
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c249a32b
authored
Jun 30, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加字体
1 parent
acfb3f29
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
src/assets/css/index.scss
src/assets/font/PingFang-Regular.ttf
src/assets/css/index.scss
View file @
c249a32
@import
'./normalize.scss'
;
@import
'./normalize.scss'
;
@import
'./sprite.scss'
;
@import
'./sprite.scss'
;
@font-face
{
font-family
:
'PingFangSC-Regular'
;
src
:
url('../font/PingFang-Regular.ttf')
;
}
html
,
html
,
body
.app
{
body
.app
{
color
:
#333333
;
color
:
#333333
;
font-family
:
Arial
,
Helvetica
,
'STHeiti STXihei'
,
'Microsoft YaHei'
,
Tohoma
,
sans-serif
;
font-family
:
'PingFangSC-Regular'
,
Arial
,
Helvetica
,
'STHeiti STXihei'
,
'Microsoft YaHei'
,
Tohoma
,
sans-serif
;
background-color
:
#fff
;
background-color
:
#fff
;
-webkit-overflow-scrolling
:
touch
;
-webkit-overflow-scrolling
:
touch
;
height
:
100%
;
height
:
100%
;
...
@@ -74,9 +79,11 @@ img {
...
@@ -74,9 +79,11 @@ img {
background
:
#1d1c1c
;
background
:
#1d1c1c
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.inline
{
.inline
{
display
:
inline-block
;
display
:
inline-block
;
}
}
.title
{
.title
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#e8e8e8
;
color
:
#e8e8e8
;
...
@@ -85,9 +92,11 @@ img {
...
@@ -85,9 +92,11 @@ img {
padding
:
0
.5vh
8px
;
padding
:
0
.5vh
8px
;
user-select
:
none
;
user-select
:
none
;
}
}
.title-icon
{
.title-icon
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.icon
{
.icon
{
display
:
inline-block
;
display
:
inline-block
;
width
:
4px
;
width
:
4px
;
...
@@ -98,8 +107,9 @@ img {
...
@@ -98,8 +107,9 @@ img {
margin-right
:
6px
;
margin-right
:
6px
;
}
}
}
}
.container
{
margin
:
0
8px
;
.container
{
margin
:
0
8px
;
}
}
.empty
{
.empty
{
...
@@ -108,6 +118,7 @@ img {
...
@@ -108,6 +118,7 @@ img {
height
:
calc
(
100%
-
4
.1vh
);
height
:
calc
(
100%
-
4
.1vh
);
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
img
{
img
{
width
:
20vh
;
width
:
20vh
;
height
:
9
.5vh
;
height
:
9
.5vh
;
...
...
src/assets/font/PingFang-Regular.ttf
0 → 100644
View file @
c249a32
No preview for this file type
Write
Preview
Markdown
is supported
Attach a file
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 post a comment