From 1e1f42630a9fecaba38c54e21d4cb1171e62b235 Mon Sep 17 00:00:00 2001 From: "mail_yanpeng@163.com" Date: Mon, 22 Apr 2019 10:04:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=20&=20=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E5=BA=95=E9=83=A8=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/blog.css | 11 ++++++----- views/blog.html | 11 ++++++----- views/ublogs.html | 5 +---- views/uinfo.html | 5 +---- views/ulike.html | 5 +---- views/unote.html | 5 +---- 6 files changed, 16 insertions(+), 26 deletions(-) diff --git a/static/css/blog.css b/static/css/blog.css index 0f08f6a..8b2aedb 100644 --- a/static/css/blog.css +++ b/static/css/blog.css @@ -27,16 +27,17 @@ } .blog-info .blog-author .blog-label{ flex: 1; - height: 28px; - line-height: 28px; + height: 22px; + line-height: 22px; text-align: right; - padding-top: 20px; + padding-top: 26px; } .blog-info .blog-author .blog-label label{ color: #888; border:1px dotted #aaa; padding: 0 5px; - border-radius: 5px ; + border-radius: 5px; + font-size: 10px; } .blog-info .blog-author .author-headimg .img-circle{ width: 48px !important; @@ -86,6 +87,6 @@ img { } .blog-referral{ - width: 65%; + width: 100%; margin: 40px auto; } \ No newline at end of file diff --git a/views/blog.html b/views/blog.html index 6e846ae..6f8ca3e 100644 --- a/views/blog.html +++ b/views/blog.html @@ -59,20 +59,21 @@ {{end}} - -
- {{template "footer"}} -
{{range .Top}}

+ style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"> {{.Title}}

{{end}}
+ +
+ {{template "footer"}} +
+ diff --git a/views/ublogs.html b/views/ublogs.html index c1de499..477a6b3 100644 --- a/views/ublogs.html +++ b/views/ublogs.html @@ -2,7 +2,7 @@ 博客 - 云悦 - +
{{template "nav" .}} {{template "memenu" .}} @@ -49,9 +49,6 @@
- diff --git a/views/uinfo.html b/views/uinfo.html index 71c6112..21b2f2f 100644 --- a/views/uinfo.html +++ b/views/uinfo.html @@ -3,7 +3,7 @@ - +
{{template "nav" .}} {{template "memenu" .}} @@ -50,9 +50,6 @@
- diff --git a/views/ulike.html b/views/ulike.html index 9c13584..86673ce 100644 --- a/views/ulike.html +++ b/views/ulike.html @@ -2,7 +2,7 @@ 博客 - 云悦 - +
{{template "nav" .}} {{template "memenu" .}} @@ -48,9 +48,6 @@
- diff --git a/views/unote.html b/views/unote.html index cc9726f..a8e45f3 100644 --- a/views/unote.html +++ b/views/unote.html @@ -2,7 +2,7 @@ 博客 - 云悦 - +
{{template "nav" .}} {{template "memenu" .}} @@ -30,9 +30,6 @@
{{end}} -