Browse Source

site: update heading font

pull/12184/head
afc163 6 years ago
parent
commit
8fee0fd567
  1. 2
      site/theme/static/common.less
  2. 2
      site/theme/static/header.less
  3. 4
      site/theme/static/markdown.less

2
site/theme/static/common.less

@ -44,7 +44,7 @@ a {
.aside-container { .aside-container {
padding-bottom: 50px; padding-bottom: 50px;
font-family: Lato, @font-family; font-family: Avenir, @font-family;
&.ant-menu-inline .ant-menu-submenu-title h4, &.ant-menu-inline .ant-menu-submenu-title h4,
&.ant-menu-inline > .ant-menu-item, &.ant-menu-inline > .ant-menu-item,

2
site/theme/static/header.less

@ -92,7 +92,7 @@
border: 0; border: 0;
float: right; float: right;
font-size: 14px; font-size: 14px;
font-family: Lato, @font-family; font-family: Avenir, @font-family;
font-variant: tabular-nums; font-variant: tabular-nums;
&.ant-menu-horizontal { &.ant-menu-horizontal {
border-bottom: none; border-bottom: none;

4
site/theme/static/markdown.less

@ -22,7 +22,7 @@
font-weight: 500; font-weight: 500;
margin-bottom: 20px; margin-bottom: 20px;
margin-top: 8px; margin-top: 8px;
font-family: Lato, @font-family; font-family: Avenir, @font-family;
font-size: 30px; font-size: 30px;
font-variant: tabular-nums; font-variant: tabular-nums;
line-height: 38px; line-height: 38px;
@ -43,7 +43,7 @@
.markdown h5, .markdown h5,
.markdown h6 { .markdown h6 {
color: @site-heading-color; color: @site-heading-color;
font-family: Lato, @font-family; font-family: Avenir, @font-family;
font-variant: tabular-nums; font-variant: tabular-nums;
margin: 1.6em 0 0.6em; margin: 1.6em 0 0.6em;
font-weight: 500; font-weight: 500;

Loading…
Cancel
Save