diff options
author | vvveiii <cntrump@gmail.com> | 2020-05-02 08:53:09 +0300 |
---|---|---|
committer | vvveiii <cntrump@gmail.com> | 2020-05-02 08:53:09 +0300 |
commit | ff0cad14f955a0099885172b4bf38b9d03e95651 (patch) | |
tree | 3dda5b53fd62dd2c013c2edda9d9a4b3c112023c /assets | |
parent | 04960a49eb9cd55509e488fed9c4f1d3679b2805 (diff) |
add iconfont and show profile at article bottom.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/iconfont.css | 38 | ||||
-rw-r--r-- | assets/css/style.css | 33 |
2 files changed, 69 insertions, 2 deletions
diff --git a/assets/css/iconfont.css b/assets/css/iconfont.css new file mode 100644 index 0000000..5d05d4c --- /dev/null +++ b/assets/css/iconfont.css @@ -0,0 +1,38 @@ +@font-face { + font-family: "iconfont"; + src: url('/assets/fonts/iconfont.ttf?t=1588390362269') format('truetype'); +} + +.iconfont { + font-family: "iconfont" !important; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-pagenext:before { + content: "\e66b"; +} + +.icon-pagepreview:before { + content: "\e66c"; +} + +.icon-twitter:before { + content: "\e655"; +} + +.icon-github:before { + content: "\e732"; +} + +.icon-email:before { + content: "\e651"; +} + +.icon-article:before { + content: "\e67d"; +} + +.icon-docker:before { + content: "\e521"; +}
\ No newline at end of file diff --git a/assets/css/style.css b/assets/css/style.css index b573d7c..81965ac 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -422,6 +422,7 @@ b { .article.labels, .article.license, +.article.author, .article.navigation, .article.discussion, .article.share { @@ -447,8 +448,6 @@ b { .article.navigation .li { display: inline-block; - font-size: 85%; - opacity: .5; margin-right: 5px; } @@ -460,6 +459,36 @@ b { border: 2px dashed #ddd; } +.article.author { + text-align: center; +} + +.article.author>* { + margin-top: 16px; +} + +.article.author .avatar { + display: block; + max-width: 260px; + margin: auto; + border-radius: 3px; +} + +.article.author .name { + font-size: 1.125em; +} + +.article.author .bio { + color: #999; +} + +.article.author .details .item { + display: inline-block; + font-size: 1.375em; + margin-left: 10px; + margin-right: 10px; +} + .slogan, .date, .license { |