File tree Expand file tree Collapse file tree 3 files changed +19
-6
lines changed Expand file tree Collapse file tree 3 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,10 @@ body.cid-casestudies {
70
70
background-repeat : no-repeat ;
71
71
}
72
72
73
+ .banner h2 {
74
+ color : #fff ;
75
+ }
76
+
73
77
.banner * {
74
78
position : relative ;
75
79
}
@@ -213,15 +217,16 @@ body.td-section.cid-casestudies {
213
217
}
214
218
215
219
.video-quote , .case-study-video {
216
- max-width : calc (clamp (40em , 50vw + 20em , 100vw - 4em ));
217
- margin-left : auto ;
218
- margin-right : auto ;
220
+ width : 50% ;
219
221
padding-top : 1em ;
220
222
padding-bottom : 1em ;
223
+ box-sizing : border-box ;
224
+ text-align : center ;
221
225
iframe {
222
226
display : block ;
223
227
margin-left : auto ;
224
- margin-top : 1.5em ;
228
+ width : 90% ;
229
+ aspect-ratio : 16 / 9 ;
225
230
}
226
231
}
227
232
@@ -269,12 +274,17 @@ body.td-section.cid-casestudies {
269
274
}
270
275
}
271
276
272
- @media (max-width : 1000 px ) {
277
+ @media (max-width : 1200 px ) {
273
278
body .td-section.cid-casestudies {
274
279
.case-study {
275
280
width : initial ;
276
281
flex-basis : 90vw ;
277
282
margin-bottom : 40px ;
278
283
}
284
+
285
+ .video-quote , .case-study-video {
286
+ width : initial ;
287
+ flex-basis : 90% ;
288
+ }
279
289
}
280
290
}
Original file line number Diff line number Diff line change 2
2
< section class ="case-study-header ">
3
3
< div class ="banner {{ if .Params.use_gradient_overlay }}overlay{{ end }} " {{ if isset .Params "heading_background" }}style="background-image: url({{ .Params.heading_background }}); "{{ end }} >
4
4
< h2 >
5
- {{ .Params.title_prefix | default ( T "case_study_prefix" ) }}
5
+ {{- .Params.title_prefix | default ( T "case_study_prefix" ) -}}
6
6
{{- if isset .Params "heading_title_logo" -}}
7
7
< img class ="heading-logo " src ="{{ .Params.heading_title_logo}} " />
8
8
{{- else if isset .Params "heading_title_text" -}}
Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ p.attrib {
74
74
background : # f9f9f9 ;
75
75
height : auto;
76
76
/*height: 340px;*/
77
+ display : flex;
78
+ flex-wrap : wrap;
79
+ align-items : center;
77
80
}
78
81
79
82
.gridPage # video .main-section {
You can’t perform that action at this time.
0 commit comments