diff --git a/shablon/css/main.css b/shablon/css/main.css index ddcfd43e5..cec46f8fd 100644 --- a/shablon/css/main.css +++ b/shablon/css/main.css @@ -2514,7 +2514,7 @@ li { } .category_block { - padding-top: 100px; + padding-top: 40px; } .main_title { @@ -2641,8 +2641,16 @@ li { font-weight: 600; line-height: 1.4; color: var(--blue); + min-height: 84px; font-family: 'Poppins', sans-serif; + + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; } .news_box-item-date { @@ -3242,8 +3250,8 @@ li { .news_aside-item-title { color: #000; - font-weight: 500; - font-size: 15px; + font-weight: 600; + font-size: 16px; line-height: 20px; margin: 10px 0 0 0; display: block; @@ -3253,9 +3261,16 @@ li { -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; + + transition: all .1s linear; + -ms-transition: all .1s linear; + -webkit-transition: all .1s linear; } - +.news_aside-item-title:hover { + color: #003197; + text-decoration: underline; +} /* New post end ============================ */