增加字体

This commit is contained in:
张宁 2024-05-22 10:52:34 +08:00
parent 07ad7062a9
commit 658c40dae2
3 changed files with 13 additions and 8 deletions

View File

@ -7,6 +7,10 @@ html,body{
color: #d3d6dd;
}
}
@font-face {
font-family: 'YouSheBiaoTiHei';
src: url(../font/YouSheBiaoTiHei-2.ttf);
}
html .el-message {
--yh-bg-color-container:#242424;

Binary file not shown.

View File

@ -54,20 +54,21 @@ const returnHome = () => {
line-height: 46px;
.title-text {
font-family: 'YouSheBiaoTiHei';
font-size: 38px;
font-weight: 900;
font-weight: 400;
letter-spacing: 6px;
width: 100%;
color: #ECEDEE;
text-shadow: 0px 4px 1px rgba(50, 81, 140, 0.66);
background: linear-gradient(
0deg, rgba(141, 185, 253, 0.45) 0%,
rgba(237, 247, 255, 0.45) 73.3154296875%,
rgba(255, 255, 255, 0.45) 100%);
opacity: 0.89;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
// background: linear-gradient(
// 0deg, rgba(141, 185, 253, 0.45) 0%,
// rgba(237, 247, 255, 0.45) 73.3154296875%,
// rgba(255, 255, 255, 0.45) 100%);
// opacity: 0.89;
// -webkit-background-clip: text;
// -webkit-text-fill-color: transparent;
}
}
</style>