From 451bad02f05cb2d9c303fdbd62becccbdbefc746 Mon Sep 17 00:00:00 2001 From: Alexandr Danilov Date: Mon, 14 Sep 2015 02:12:39 +0300 Subject: improved display pictures --- .../views/themes/material/public/css/main.css | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/public') diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css index 5e1ae8bd..144e259f 100755 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css @@ -221,15 +221,11 @@ main ul.row { padding: 0px 0.75rem; } -.data .card .card-content { +.data .card .card-body { height: 22em; overflow: hidden; } -img.preview { - max-width: 100%; -} - .card .card-content .card-title { line-height: 32px; } @@ -262,6 +258,21 @@ img.preview { margin-right: auto; } +.mdi-card-close:before { + content: "\e8aa"; +} + +.card .card-image { + height: 14em; +} + +.card .card-image .preview { + height: 14em; + background-size: cover; + background-repeat: no-repeat; + background-position: 50%; +} + /* ========================================================================== 5 = Article ========================================================================== */ -- cgit v1.2.3