summaryrefslogtreecommitdiff
path: root/themes/light/cdm.less
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-22 10:43:34 +0300
committerAndrew Dolgov <[email protected]>2021-04-22 10:45:27 +0300
commitdf145c8064a43218def12ed05d1398977f042744 (patch)
tree310b64766fdab013e2f899eb5e1d7ceda61d5391 /themes/light/cdm.less
parentc6befcddb74c6a4b507d6b8b687c43e5ad0c4d82 (diff)
* cdm: render enclosures into content element
* deprecate cdm.intermediate * implement lazy-load for rendered enclosures * simplify pack/unpack logic for articles
Diffstat (limited to 'themes/light/cdm.less')
-rw-r--r--themes/light/cdm.less24
1 files changed, 7 insertions, 17 deletions
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;