summaryrefslogtreecommitdiff
path: root/themes/light/cdm.less
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-21 18:47:49 +0300
committerAndrew Dolgov <[email protected]>2021-04-21 18:47:49 +0300
commit5a71426ea5bc387f362d700fbceb277516d41375 (patch)
treea17f385f489f1dbe21cd365f3c3b1b7476699793 /themes/light/cdm.less
parent0f61675cd02ac53549fda33cbdb9551cb0fb70b2 (diff)
youtube_embed: use embed-responsive
Diffstat (limited to 'themes/light/cdm.less')
-rw-r--r--themes/light/cdm.less41
1 files changed, 23 insertions, 18 deletions
diff --git a/themes/light/cdm.less b/themes/light/cdm.less
index 41d789a09..a89ceed27 100644
--- a/themes/light/cdm.less
+++ b/themes/light/cdm.less
@@ -115,11 +115,13 @@
font-size : 16px;
}
- .intermediate iframe,
- .content-inner iframe {
- max-width : 98%;
- width : auto;
- height : auto;
+ .intermediate,
+ .content-inner {
+ iframe {
+ max-width : 98%;
+ width : auto;
+ height : auto;
+ }
}
.intermediate img,
@@ -208,19 +210,22 @@
}
}
- .content-inner .embed-responsive {
- overflow : hidden;
- padding-bottom : @embed-responsive-padding;
- position : relative;
-
- iframe {
- border : 0;
- bottom : 0;
- height : 100%;
- left : 0;
- position : absolute;
- top : 0;
- width : 100%;
+ .intermediate,
+ .content-inner {
+ .embed-responsive {
+ overflow : hidden;
+ padding-bottom : @embed-responsive-padding;
+ position : relative;
+
+ iframe {
+ border : 0;
+ bottom : 0;
+ height : 100%;
+ left : 0;
+ position : absolute;
+ top : 0;
+ width : 100%;
+ }
}
}