From df145c8064a43218def12ed05d1398977f042744 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 22 Apr 2021 10:43:34 +0300 Subject: * cdm: render enclosures into content element * deprecate cdm.intermediate * implement lazy-load for rendered enclosures * simplify pack/unpack logic for articles --- themes/light/cdm.less | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'themes/light/cdm.less') diff --git a/themes/light/cdm.less b/themes/light/cdm.less index a89ceed27..5641a0380 100644 --- a/themes/light/cdm.less +++ b/themes/light/cdm.less @@ -103,35 +103,26 @@ } } - .intermediate { - margin-top : 10px; - margin-left : 10px; - line-height : 1.5; - } - .content-inner { margin : 10px; line-height : 1.5; font-size : 16px; } - .intermediate, .content-inner { iframe { max-width : 98%; width : auto; height : auto; } - } - .intermediate img, - .intermediate video, - .content-inner img, - .content-inner video { - border-width : 0px; - max-width : 98%; - width : auto; - height : auto; + img, + video { + border-width : 0px; + max-width : 98%; + width : auto; + height : auto; + } } &.expanded { @@ -210,7 +201,6 @@ } } - .intermediate, .content-inner { .embed-responsive { overflow : hidden; -- cgit v1.2.3