使用google font替换本地字体

This commit is contained in:
cebgcontract 2022-03-01 16:03:20 +08:00
parent b3765945dc
commit 809923f056
10 changed files with 17 additions and 20 deletions

Binary file not shown.

Binary file not shown.

View File

@ -9,24 +9,16 @@
<meta name="format-detection" content="telephone=no, email=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&display=swap" rel="stylesheet">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>CEBG: CRYPTO ELITES BATTLEGROUNDS</title>
<style>
@font-face {
font-family: title;
src: url('/assets/fonts/title.ttf');
}
@font-face {
font-family: zitic;
src: url('/assets/fonts/zitic.ttf');
}
@font-face {
font-family: zitic-r;
src: url('/assets/fonts/zitic-regular.ttf');
}
html *
{
font-family: zitic,serif;
font-family: 'Rajdhani',serif;
font-weight: bold;
}
body{
overflow-x: hidden;

View File

@ -75,10 +75,10 @@ export default class extends Vue {
}
.desc p{
color: #ffffff;
font-family: zitic-r,serif;
font-family: 'Rajdhani',serif;
font-size: 16px;
line-height: 16px;
font-weight: 400;
font-weight: 500;
}
}
}

View File

@ -158,7 +158,8 @@ export default class extends Vue {
}
p{
font-size: 18px;
font-family: zitic-r,serif;
font-family: 'Rajdhani',serif;
font-weight: 500;
}
}

View File

@ -59,7 +59,8 @@ export default class extends Vue {
}
.desc{
color: #FDFDFD;
font-family: zitic-r,serif;
font-family: 'Rajdhani',serif;
font-weight: 500;
font-size: 14px;
}
}

View File

@ -159,7 +159,8 @@ export default class extends Vue {
margin-left: 84px;
}
.desc p {
font-family: zitic-r,serif;
font-family: 'Rajdhani',serif;
font-weight: 500;
}
}
.nft-info.mobile {

View File

@ -81,7 +81,8 @@ export default class RoadDeck extends Vue {
}
.desc{
color: #5A5A5A;
font-family: zitic-r,serif;
font-family: 'Rajdhani',serif;
font-weight: 500;
font-size: 14px;
}
}

View File

@ -63,7 +63,8 @@ export default class TeamMember extends Vue {
line-height: 25px;
}
.intro p {
font-family: zitic-r,serif;
font-family: 'Rajdhani',serif;
font-weight: 500;
}
}
.root.mobile{