33 font-family : "Open Sans" , sans-serif;
44}
55
6- .mdl-layout__title a , .mdl-navigation__link , .hero-container {
6+ .mdl-layout__title a ,
7+ .mdl-navigation__link ,
8+ .hero-container {
79 font-family : "Manrope" ;
810}
911
@@ -28,15 +30,19 @@ a:hover {
2830 text-decoration : underline;
2931}
3032
31- a , a : visited , a : hover , a : active {
33+ a ,
34+ a : visited ,
35+ a : hover ,
36+ a : active {
3237 color : # 07a3ba ;
3338}
3439
3540.spacer {
3641 width : 100% ;
3742}
3843
39- .link-out , .resource-card-cta-button a {
44+ .link-out ,
45+ .resource-card-cta-button a {
4046 font-family : "Manrope" ;
4147 font-weight : 600 ;
4248 font-size : 20px ;
@@ -134,11 +140,13 @@ h5 {
134140 color : black;
135141}
136142
137- .mdl-layout__title a : visited , .mdl-layout__title a : active {
143+ .mdl-layout__title a : visited ,
144+ .mdl-layout__title a : active {
138145 color : inherit;
139146}
140147
141- .sub-hero-container , .tutorial-hero-container {
148+ .sub-hero-container ,
149+ .tutorial-hero-container {
142150 width : 100% ;
143151 height : 225px ;
144152 background-size : cover;
@@ -180,7 +188,11 @@ h5 {
180188 margin-left : 5px ;
181189}
182190
183- .hero-container , .main-page-container , .sub-page-container , .tutorial-page-container , .footer-container {
191+ .hero-container ,
192+ .main-page-container ,
193+ .sub-page-container ,
194+ .tutorial-page-container ,
195+ .footer-container {
184196 margin : 0 auto;
185197 max-width : 950px ;
186198}
209221 border-radius : 8px ;
210222}
211223
212- .home-card-action , .section-action {
224+ .home-card-action ,
225+ .section-action {
213226 font-weight : 600 ;
214227 font-size : 16px ;
215228 line-height : 22px ;
@@ -250,11 +263,15 @@ h5 {
250263 margin-bottom : 50px ;
251264}
252265
253- .home-card-cta-button a : link , .link-out a : link {
266+ .home-card-cta-button a : link ,
267+ .link-out a : link {
254268 text-decoration : none;
255269}
256270
257- .home-card-cta-button a : visited , .home-card-cta-button a : active , .link-out a : visited , .link-out a : active {
271+ .home-card-cta-button a : visited ,
272+ .home-card-cta-button a : active ,
273+ .link-out a : visited ,
274+ .link-out a : active {
258275 color : # 07a3ba ;
259276}
260277
270287 overflow : hidden;
271288}
272289
273- .video-container iframe , .video-container object , .video-container embed {
290+ .video-container iframe ,
291+ .video-container object ,
292+ .video-container embed {
274293 position : absolute;
275294 top : 0 ;
276295 left : 0 ;
315334 color : # 3C4043 ;
316335}
317336
318-
319- .sub-title , . tutorial-title {
337+ . sub-title ,
338+ .tutorial-title {
320339 color : white;
321340 font-size : 32px ;
322341 line-height : 40px ;
@@ -330,22 +349,27 @@ h5 {
330349 line-height : 28px ;
331350}
332351
333-
334- .capability-element , . tutorial-link-element {
352+ . capability-element ,
353+ .tutorial-link-element {
335354 margin-top : 48px ;
336355 border-bottom : 1px solid # A4B7C8 ;
337356}
338357
339- .capability-title a , .tutorial-link-title a {
358+ .capability-title a ,
359+ .tutorial-link-title a {
340360 text-decoration : none;
341361 color : inherit;
342362}
343363
344- .capability-title a : hover , .tutorial-link-title a : hover {
364+ .capability-title a : hover ,
365+ .tutorial-link-title a : hover {
345366 text-decoration : underline;
346367}
347368
348- .capability-title a : visited , .tutorial-link-title a : visited , .capability-title a : active , .tutorial-link-title a : active {
369+ .capability-title a : visited ,
370+ .tutorial-link-title a : visited ,
371+ .capability-title a : active ,
372+ .tutorial-link-title a : active {
349373 color : inherit;
350374}
351375
365389 margin : 25px 0px ;
366390}
367391
368- .capability-copy , .tutorial-link-copy {
392+ .capability-copy ,
393+ .tutorial-link-copy {
369394 margin-bottom : 15px ;
370395}
371396
375400 padding : 12px ;
376401}
377402
378- .resource-card-title , .demo-card-title {
403+ .resource-card-title ,
404+ .demo-card-title {
379405 font-size : 22px ;
380406 line-height : 28px ;
381407 color : # 8230cd ;
391417 text-decoration : underline;
392418}
393419
394- .demo-card-title a : visited , .demo-card-title a : active {
420+ .demo-card-title a : visited ,
421+ .demo-card-title a : active {
395422 color : inherit;
396423}
397424
417444 margin-bottom : 25px ;
418445}
419446
420- .resource-card-copy , .demo-card-copy {
447+ .resource-card-copy ,
448+ .demo-card-copy {
421449 font-size : 16px ;
422450 line-height : 20px ;
423451 letter-spacing : 0.2px ;
@@ -455,19 +483,47 @@ h5 {
455483 display : inline-block;
456484}
457485
458-
459486.tutorial-image {
460487 width : 100% ;
488+ cursor : zoom-in;
489+ }
490+
491+ .tutorial-image-popover {
492+ border : 0 ;
493+ padding : 0 ;
494+ background : transparent;
495+ pointer-events : none; /* click to close image */
496+ }
497+
498+ .tutorial-image-popover .tutorial-image {
499+ max-width : calc (100vw - 80px );
500+ max-height : calc (100vh - 80px );
501+
502+ cursor : zoom-out;
503+ /* block the default popover close; we'll use js instead */
504+ pointer-events : all;
505+ /* in case image itself has transparency */
506+ background : white;
461507}
462508
463- .tutorial-page-container p , .tutorial-page-container ul , .tutorial-page-container ol {
509+ .tutorial-image-popover ::backdrop {
510+ background : rgba (0 , 0 , 0 , 0.60 );
511+ }
512+
513+ .tutorial-page-container p ,
514+ .tutorial-page-container ul ,
515+ .tutorial-page-container ol {
464516 font-family : "Open Sans" ;
465517 font-size : 18px ;
466518 line-height : 24px ;
467519 letter-spacing : 0.1px ;
468520 color : # 0E0F12 ;
469521}
470522
523+ .tutorial-page-container p > code {
524+ color : # c26412 ;
525+ }
526+
471527.tutorial-breadcrumbs {
472528 margin : 72px 0 24px 0 ;
473529 font-family : "Manrope" ;
488544 text-decoration : underline;
489545}
490546
491- .tutorial-breadcrumbs a : active , .tutorial-breadcrumbs a : visited {
547+ .tutorial-breadcrumbs a : active ,
548+ .tutorial-breadcrumbs a : visited {
492549 color : inherit;
493550}
494551
@@ -544,6 +601,18 @@ h5 {
544601 margin-bottom : 20px ;
545602}
546603
604+ details : not ([open ]) .info-box-title {
605+ margin-bottom : 0 ;
606+ }
607+
608+ summary {
609+ cursor : pointer;
610+ }
611+
612+ summary ::marker {
613+ color : # 0B6F7A ;
614+ }
615+
547616.info-box-text ,
548617.info-box-text p ,
549618.info-box-text ul {
@@ -627,7 +696,11 @@ h5 {
627696 display : none;
628697 }
629698
630- .hero-container , .main-page-container , .sub-page-container , .tutorial-page-container , .footer-container {
699+ .hero-container ,
700+ .main-page-container ,
701+ .sub-page-container ,
702+ .tutorial-page-container ,
703+ .footer-container {
631704 margin : 0 16px ;
632705 }
633706
0 commit comments