mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
chore: new Ant Design logo font family (#31135)
* chore: new Ant Design logo font family * fix stylelint * update logo
This commit is contained in:
parent
e4b3a7c0f6
commit
bb91bb3abb
@ -1,3 +1,21 @@
|
||||
@font-face {
|
||||
font-weight: normal;
|
||||
font-family: PuHuiTi;
|
||||
src: url('//at.alicdn.com/t/webfont_6e11e43nfj.woff2') format('woff2'),
|
||||
url('//at.alicdn.com/t/webfont_6e11e43nfj.woff') format('woff'),
|
||||
/* chrome、firefox */ url('//at.alicdn.com/t/webfont_6e11e43nfj.ttf') format('truetype'); /* chrome、firefox、opera、Safari, Android, iOS 4.2+ */
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-weight: bold;
|
||||
font-family: PuHuiTi;
|
||||
src: url('//at.alicdn.com/t/webfont_exesdog9toj.woff2') format('woff2'),
|
||||
url('//at.alicdn.com/t/webfont_exesdog9toj.woff') format('woff'),
|
||||
/* chrome、firefox */ url('//at.alicdn.com/t/webfont_exesdog9toj.ttf') format('truetype'); /* chrome、firefox、opera、Safari, Android, iOS 4.2+ */
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
html {
|
||||
&.rtl {
|
||||
direction: rtl;
|
||||
|
@ -3,14 +3,14 @@
|
||||
.home-card-logo {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
max-width: 490px;
|
||||
max-width: 500px;
|
||||
margin: 0 32px;
|
||||
cursor: pointer;
|
||||
|
||||
.home-card-logo-icon {
|
||||
position: absolute;
|
||||
top: -35px;
|
||||
left: 334px;
|
||||
top: -38px;
|
||||
left: 339px;
|
||||
display: none;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
|
@ -71,10 +71,10 @@ export default function Logo() {
|
||||
className="home-banner-mini"
|
||||
/>
|
||||
<img
|
||||
width="490"
|
||||
width="500"
|
||||
height="87"
|
||||
alt="Ant Design"
|
||||
src="https://gw.alipayobjects.com/zos/basement_prod/5b153736-dfe3-4a73-9454-68607c8103e4.svg"
|
||||
src="https://gw.alipayobjects.com/zos/antfincdn/6UYtAUYPXE/AntDesign.svg"
|
||||
className="home-banner-normal"
|
||||
/>
|
||||
<Hitu
|
||||
|
@ -7,9 +7,11 @@
|
||||
padding-left: 40px;
|
||||
overflow: hidden;
|
||||
color: @site-heading-color;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
font-family: Avenir, @font-family, sans-serif;
|
||||
font-family: PuHuiTi, @font-family, sans-serif;
|
||||
line-height: @header-height;
|
||||
letter-spacing: -0.18px;
|
||||
white-space: nowrap;
|
||||
text-decoration: none;
|
||||
|
||||
@ -20,10 +22,8 @@
|
||||
}
|
||||
|
||||
img {
|
||||
position: relative;
|
||||
top: -1.5px;
|
||||
height: 32px;
|
||||
margin-right: 16px;
|
||||
margin-right: 12px;
|
||||
|
||||
.ant-row-rtl & {
|
||||
margin-right: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user