Skip to content

Commit

Permalink
feat(detail): update Antv home update dumi-theme-antv -3
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-qing-hai committed Nov 14, 2023
1 parent 23d15af commit 3ad0499
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions site/components/Banner/Banner.module.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @font-face {
// font-family: AlibabaPuHuiTiRHeavy;
// src: url(../../public/Alibaba-PuHuiTi-Heavy.otf);
// }
@font-face {
font-family: AlibabaPuHuiTiRHeavy;
src: url(../../font/Alibaba-PuHuiTi-Heavy.otf);
}

.commonFlexConfig {
display: flex;
Expand All @@ -19,22 +19,22 @@
width: 765px;
height: 100%;
position: absolute;
top: 80px;
background-repeat: no-repeat;
background-size: contain;
}

.leftBackground {
left: 0;
top: 40px;
background-image: url(https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*gNDhS5nDO4sAAAAAAAAAAAAADmJ7AQ/original);
}

.rightBackground {
top: 80px;
right: 0;
background-image: url(https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*OXF7QbWURnMAAAAAAAAAAAAADmJ7AQ/original);
}


.header {
height: 670px;
position: relative;
Expand All @@ -56,7 +56,7 @@
color: #000;
text-align: center;
margin-top: 138px;
// font-family: AlibabaPuHuiTiRHeavy;
font-family: AlibabaPuHuiTiRHeavy;

>span {
color: #691EFF;
Expand Down Expand Up @@ -94,7 +94,7 @@
font-size: 18px;
font-weight: bold;
cursor: pointer;
box-shadow: 0 8px 28px 0 rgba(0, 0, 0, 0.10);
box-shadow: 0 8px 28px 0 #f2f2f2;
margin: 0 11.5px;

>img {
Expand Down
4 changes: 2 additions & 2 deletions site/components/ComplexCharts/index.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
width: calc(100vw - 360px);
max-width: 1680px;
min-width: 1040px;
height: 370px;
height: 530px;
border-radius: 16px;
box-sizing: border-box;
background-image: linear-gradient(111deg, #332F4F 0%, #28243F 100%);
Expand All @@ -66,7 +66,7 @@
>video {
width: 100%;
height: 100%;
background-size: cover ;
background-size: cover;
}
}
}
2 changes: 1 addition & 1 deletion site/components/FamousPersons/index.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

.name {
margin: 4px 0;
font-size: 24px;
font-size: 20px;
color: #1D2129;
font-weight: 500;
font-family: PingFangSC;
Expand Down
Binary file added site/font/Alibaba-PuHuiTi-Heavy.otf
Binary file not shown.

0 comments on commit 3ad0499

Please sign in to comment.