diff --git a/static/css/blog.css b/static/css/blog.css index 265198d..40f6c54 100644 --- a/static/css/blog.css +++ b/static/css/blog.css @@ -7,6 +7,20 @@ margin: 60px 0 20px 0; text-align: center } +.blog-root .blog-detaile{ + color: #2f2f2f; +} +.blog-root .blog-detaile pre{ + /*color: #d2e8b9;*/ + border: 1px #d2e8b9 solid; + box-shadow:1px 1px 2px 2px #d2e8b9; + margin: 5px 0; +} + +.blog-root .blog-detaile h4{ + font-size: 20px; + font-weight: 500; +} .blog-user{ position: fixed; @@ -17,6 +31,10 @@ background-color: #f9f9f9; } +.blog-info{ + padding: 15px; +} + .blog-info .blog-author{ display: flex; } @@ -92,4 +110,8 @@ img { } .blog-referral p{ padding: 3px 0; +} + +.layui-code-view .layui-code-ol li{ + margin-left: 0px !important; } \ No newline at end of file diff --git a/static/css/blogs.css b/static/css/blogs.css index 69d26d5..b248dc0 100644 --- a/static/css/blogs.css +++ b/static/css/blogs.css @@ -1,6 +1,6 @@ .home-container{ height: 100%; - margin: 50px 4% 0 4%; + margin: 50px 5% 0 5%; } .home-container hr{ margin: 0; @@ -12,7 +12,20 @@ height: 30px; line-height: 30px; } - +.home-hearder .m-select{ + width: 150px; + display: inline-block; + height: 32px; + border-radius: 3px; + padding: 4px 14px; +} +.home-hearder .layui-btn-group .active a{ + color: #fff; +} +.home-hearder .layui-btn-group a{ + color: #333; + text-decoration: none; +} .nelson-btn{ color: #ec6149 !important; border-radius: 15px; diff --git a/static/css/common.css b/static/css/common.css index baa83d4..f005111 100644 --- a/static/css/common.css +++ b/static/css/common.css @@ -16,12 +16,6 @@ a{ border-color: #f8d9ea !important; } -.img-circle{ - width: 36px; - height: 36px; - margin-top: 2px; -} - .img-circle-large{ width: 110px; height: 110px; diff --git a/static/css/login.css b/static/css/login.css index c94f37a..68137dc 100644 --- a/static/css/login.css +++ b/static/css/login.css @@ -1,6 +1,5 @@ .login-root { - background: #f0e7db url("/static/img/login.png") no-repeat; - padding-top: 50px; + background: url("/static/img/login.png") no-repeat; position: absolute; min-height: 100%; width: 100%; @@ -25,12 +24,37 @@ .login-root .input-container .input-root .inputs-class{ padding: 0 50px; } +.login-root .input-container .input-root .input-group{ + display: table; + border-collapse: separate; +} .login-root .input-container .input-root .inputs-class .input-class{ - height: 35px; - margin: 18px 0 + height: 32px; + margin: 18px 0; + display: flex; } .login-root .input-container .input-root .inputs-class .input-class input{ - height: 35px !important; + flex: 1; + height: 26px !important; + padding: 2px 14px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + display: table-cell; + border: 1px solid #ccc; +} +.login-root .input-container .input-root .inputs-class .input-class .input-group-addon{ + color: #555; + line-height: 26px !important; + font-size: 12px; + padding: 2px 14px; + line-height: 1.5; + border-radius: 3px; + display: table-cell; + border: 1px solid #ccc; + border-right: none; } .login-footer{ diff --git a/views/T.header.tpl b/views/T.header.tpl index fe43f96..56da05c 100644 --- a/views/T.header.tpl +++ b/views/T.header.tpl @@ -8,11 +8,8 @@ {{else}} {{end}} - - - diff --git a/views/blog.html b/views/blog.html index c3fd16d..6d1c93b 100644 --- a/views/blog.html +++ b/views/blog.html @@ -3,6 +3,10 @@ {{.Blog.Title}} - 云悦 + + + +
@@ -25,12 +29,13 @@
-
+
{{str2html .Blog.BlogHtml}}
- + +
@@ -78,6 +83,8 @@
*/}} 我的笔记 - 云悦 + + - +