File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,28 @@ ul.nav.nav-tabs li a { line-height: 24px; } // or 1.714285716
110
110
// 7.07 on E1E1E1: https://webaim.org/resources/contrastchecker/?fcolor=204A6F&bcolor=E1E1E1&api (tab panels)
111
111
a { color : #204A6F ; }
112
112
113
+ // .yt-wrapper2 can be used for limiting maximum width of YouTube iframes only
114
+ .yt-wrapper2 { max-width : 100% ; margin : 0 auto ; }
115
+
116
+ // Use full width on small displays
117
+ @media only screen and (max-width : 600px ) { .yt-wrapper2 { max-width : 100% ; } }
118
+
119
+ .yt-wrapper {
120
+ height : 0 ;
121
+ margin-top : 10px ;
122
+ padding-bottom : 56.25% ;
123
+ position : relative ;
124
+ width : 100% ;
125
+ }
126
+
127
+ .yt-frame {
128
+ height : 100% ;
129
+ left : 0 ;
130
+ position : absolute ;
131
+ top : 0 ;
132
+ width : 100% ;
133
+ }
134
+
113
135
// ----------------------------------------
114
136
// Specialized blockquote environments for learning objectives, callouts, etc.
115
137
// ----------------------------------------
You can’t perform that action at this time.
0 commit comments