Skip to content

Commit

Permalink
feat(home): add disclaimer under social links on home page (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq authored Mar 16, 2020
1 parent 41c2d3a commit 0ca8a4c
Show file tree
Hide file tree
Showing 14 changed files with 642 additions and 610 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ I hope you will LoveIt ❤️!

* **Gravatar** supported by [Gravatar](https://gravatar.com)
* Local **Avatar** support
* Up to **59** social sites supported
* Up to **61** social sites supported
* Up to **28** share sites support
* **Disqus** comment system supported by [Disqus](https://disqus.com)
* **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
Expand Down
2 changes: 1 addition & 1 deletion README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

* 支持 **[Gravatar](https://gravatar.com)** 头像
* 支持本地**头像**
* 支持多达 **59** 种社交链接
* 支持多达 **61** 种社交链接
* 支持多达 **28** 种网站分享
* 支持 **[Disqus](https://disqus.com)** 评论系统
* 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
Expand Down
21 changes: 17 additions & 4 deletions assets/css/_page/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
-ms-transform: translateY(if($posts, 0, 16vh));
-o-transform: translateY(if($posts, 0, 16vh));
transform: translateY(if($posts, 0, 16vh));
padding: if($posts, 2rem, 0) 0;
padding: if($posts, 2rem, 0) 0 .5rem;
text-align: center;

.home-avatar {
Expand Down Expand Up @@ -43,15 +43,15 @@
}
}

.home-description {
.home-subtitle {
font-size: 1rem;
font-weight: normal;
margin: 0;
padding: .4rem;
}

.home-social-links {
padding: .6rem 0;
.social-links {
padding: .4rem 0;

a, i {
font-size: 1.6rem;
Expand All @@ -63,6 +63,19 @@
padding: 0 .25rem;
}
}

.home-disclaimer {
font-size: 1rem;
line-height: 1.4rem;
font-weight: normal;
margin: 0;
padding: .4rem;
color: $global-font-secondary-color;

.dark-theme & {
color: $global-font-secondary-color-dark;
}
}
}
}

Expand Down
Loading

0 comments on commit 0ca8a4c

Please sign in to comment.