mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
💄 tweak site font color
This commit is contained in:
parent
4f47fd2372
commit
fa31150bc1
@ -2,7 +2,6 @@ body {
|
||||
color: @site-text-color;
|
||||
font-size: 14px;
|
||||
font-family: @font-family;
|
||||
line-height: 1.5;
|
||||
background: @body-background;
|
||||
transition: background 1s cubic-bezier(0.075, 0.82, 0.165, 1);
|
||||
}
|
||||
|
@ -82,7 +82,7 @@
|
||||
background: #fff;
|
||||
|
||||
&:hover {
|
||||
color: #1890ff;
|
||||
color: @primary-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -101,17 +101,15 @@
|
||||
line-height: @header-height;
|
||||
white-space: nowrap;
|
||||
text-decoration: none;
|
||||
color: @site-heading-color;
|
||||
font-size: 18px;
|
||||
font-family: Avenir, @font-family, sans-serif;
|
||||
|
||||
img {
|
||||
height: 32px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
svg {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
display: inline;
|
||||
margin-right: 16px;
|
||||
vertical-align: middle;
|
||||
border-style: none;
|
||||
top: -1.5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
@site-heading-color: @heading-color;
|
||||
@site-text-color: @text-color;
|
||||
@site-text-color: @heading-color;
|
||||
@site-text-color-secondary: @text-color-secondary;
|
||||
@site-border-color-split: @border-color-split;
|
||||
@site-header-box-shadow: 0 2px 8px rgba(240, 241, 242, 65);
|
||||
|
File diff suppressed because one or more lines are too long
@ -7,7 +7,6 @@ import classNames from 'classnames';
|
||||
import { SearchOutlined, MenuOutlined } from '@ant-design/icons';
|
||||
import { Select, Menu, Row, Col, Popover, Input, Button, Badge } from 'antd';
|
||||
|
||||
import AntdText from './AntdText';
|
||||
import * as utils from '../utils';
|
||||
import { version as antdVersion } from '../../../../package.json';
|
||||
|
||||
@ -271,13 +270,15 @@ class Header extends React.Component {
|
||||
)}
|
||||
<Row>
|
||||
<Col xxl={4} xl={5} lg={5} md={5} sm={24} xs={24}>
|
||||
<Link to={utils.getLocalizedPathname('/', isZhCN)} id="logo">
|
||||
<img
|
||||
alt="logo"
|
||||
src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
|
||||
/>
|
||||
<AntdText />
|
||||
</Link>
|
||||
<h1>
|
||||
<Link to={utils.getLocalizedPathname('/', isZhCN)} id="logo">
|
||||
<img
|
||||
alt="logo"
|
||||
src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
|
||||
/>
|
||||
Ant Design
|
||||
</Link>
|
||||
</h1>
|
||||
</Col>
|
||||
<Col xxl={20} xl={19} lg={19} md={19} sm={0} xs={0}>
|
||||
<div id="search-box">
|
||||
|
Loading…
Reference in New Issue
Block a user