@@ -211,15 +211,22 @@ body.docs-ndl .widget .sectionbody {
211211 column-gap : 0 ;
212212}
213213
214- body .docs-ndl .widget2 .sectionbody {
214+ body .docs-ndl .widget . banner .sectionbody {
215215 background : rgba (var (--colors-baltic-60 ));
216+ background-repeat : no-repeat;
217+ background-position : right;
218+ background-size : contain;
216219 border-radius : 1rem ;
217220 border : none;
218- padding : 0 ;
221+ padding : 2 rem ;
219222 row-gap : 0 ;
220223 column-gap : 0 ;
221224}
222225
226+ body .docs-ndl .widget .banner .start .sectionbody {
227+ background-image : url(../ img/start.svg);
228+ }
229+
223230body .docs-ndl .widget3 .sectionbody {
224231 background : rgba (var (--colors-neutral-10 ));
225232 border-radius : 1rem ;
@@ -237,7 +244,7 @@ body.docs-ndl.sub .widget .sectionbody {
237244 column-gap : 1rem ;
238245}
239246
240- body .docs-ndl .sub .widget2 .sectionbody {
247+ body .docs-ndl .sub .widget . banner .sectionbody {
241248 background : transparent;
242249 padding : 0 ;
243250 justify-content : flex-start;
@@ -391,6 +398,9 @@ body.docs-ndl .paragraph.caption {
391398 padding : 1rem ;
392399 margin : 0 ;
393400 color : var (--neutral-color );
401+ font-family : var (--header-font-family );
402+ font-size : var (--doc-font-size-h2 );
403+ font-weight : var (--font-weight-normal );
394404}
395405
396406body .docs-ndl .paragraph .footer-link {
@@ -399,26 +409,20 @@ body.docs-ndl .paragraph.footer-link {
399409 padding : 0 ;
400410 margin : 0 ;
401411 color : var (--neutral-color );
412+ justify-content : flex-end;
413+ padding-right : 0 ;
402414}
403415
404- body .docs-ndl .paragraph .caption {
405- font-family : var (--header-font-family );
406- font-size : var (--doc-font-size-h2 );
407- font-weight : var (--font-weight-normal );
408- }
409-
410- body .docs-ndl .paragraph .caption2 {
416+ body .docs-ndl .banner .paragraph {
411417 display : flex;
412418 width : 100% ;
413419 padding : 0 ;
414- margin : 12 px 24 px 0 ;
420+ margin : 1 rem ;
415421 color : var (--color-white );
416422}
417423
418- body .docs-ndl .paragraph .caption2 {
419- font-family : var (--header-font-family );
420- font-size : var (--doc-font-size-h2 );
421- font-weight : var (--font-weight-normal );
424+ body .docs-ndl .banner .paragraph .description {
425+ padding-right : 2rem ;
422426}
423427
424428body .docs-ndl .paragraph .caption3 {
@@ -427,19 +431,11 @@ body.docs-ndl .paragraph.caption3 {
427431 padding : 12px 30px 12px ;
428432 margin : 0 ;
429433 color : var (--neutral-color );
430- }
431-
432- body .docs-ndl .paragraph .caption3 {
433434 font-family : var (--header-font-family );
434435 font-size : var (--doc-font-size-h2 );
435436 font-weight : var (--font-weight-normal );
436437}
437438
438- body .docs-ndl .paragraph .footer-link {
439- justify-content : flex-end;
440- padding-right : 0 ;
441- }
442-
443439/* selectable cards */
444440
445441body .docs-ndl .cards .sect2 .selectable {
@@ -462,11 +458,13 @@ body.docs-ndl .cards .sect2.selectable:hover div.description {
462458
463459/* banner */
464460
461+ body .docs-ndl .hub .banner .sectionbody ,
462+ body .docs-ndl .explainer .banner .sectionbody {
463+ justify-content : space-between;
464+ }
465+
465466body .docs-ndl .banner .sectionbody > div .openblock {
466467 flex : 0 0 50% ;
467- padding : 3px 3px 3px ;
468- border-bottom : 0 ;
469- margin-bottom : 0 ;
470468}
471469
472470body .docs-ndl .banner .sectionbody > div .icon {
@@ -478,9 +476,8 @@ body.docs-ndl .banner .sectionbody > div.icon {
478476}
479477
480478body .docs-ndl .banner .icon img {
481- width : 639px ;
482- height : 246px ;
483- padding : 0 6.7rem 0 ;
479+ height : 100% ;
480+ padding : 0 ;
484481 margin : 0 ;
485482}
486483
@@ -489,7 +486,17 @@ body.docs-ndl .banner .button {
489486 padding : 0.5em 1.5em ;
490487 font-weight : 400 ;
491488 text-align : center;
492- margin-left : 24px ;
489+ /* margin-left: 24px; */
490+ }
491+
492+ @media screen and (max-width : 1240px ) {
493+ body .docs-ndl .widget .banner .sectionbody {
494+ background-image : none !important ;
495+ }
496+
497+ body .docs-ndl .widget .banner .sectionbody > div .openblock {
498+ flex : 0 0 100% ;
499+ }
493500}
494501
495502@media screen and (min-width : 1024px ) {
@@ -519,7 +526,7 @@ body.docs-ndl .highlights .sectionbody > div.openblock {
519526}
520527
521528body .docs-ndl .highlights .sectionbody > div .icon {
522- flex : 0 1 40 % ;
529+ flex : 0 1 60 % ;
523530 padding-top : 1rem ;
524531 padding-bottom : 1rem ;
525532 padding-left : 8rem ;
@@ -613,7 +620,7 @@ body.docs-ndl .sect2 {
613620}
614621
615622body .docs-ndl .cards .sectionbody > div .sect2 {
616- flex : 0 1 29 % ;
623+ flex : 0 1 32 % ;
617624 /* margin-right: 1rem; */
618625}
619626
@@ -718,14 +725,13 @@ body.docs-ndl .sect2 a > h3 {
718725
719726body .docs-ndl .cards .sect2 .icon ,
720727body .docs-ndl .widget .icon {
721- order : 1 ;
722728 padding : 0 ;
723729 margin : 0 ;
724730 width : 100% ;
725731}
726732
727733body .docs-ndl .cards .sect2 .icon ,
728- body .docs-ndl .widget2 .icon {
734+ body .docs-ndl .widget . banner .icon {
729735 order : 1 ;
730736 padding : 0 ;
731737 margin : 0 ;
@@ -761,6 +767,16 @@ body.docs-ndl .widget.highlights .icon {
761767 padding : 2rem ;
762768}
763769
770+ /* For the 1st, 3rd etc highlights, move the image to the right */
771+ body .docs-ndl .widget .highlights : nth-of-type (odd ) .icon {
772+ order : 1 ;
773+ }
774+
775+ /* We can use this rule to apply styles to the 2nd, 4th highlights etc widget */
776+ body .docs-ndl .widget .highlights : nth-of-type (even ) .openblock {
777+ /* margin-right:40px; */
778+ }
779+
764780body .docs-ndl .widget3 .highlights .icon {
765781 padding : 2rem ;
766782}
@@ -920,14 +936,14 @@ body.docs-ndl .cards .sect2 .ulist ul li {
920936 justify-content : center;
921937 }
922938
923- body .docs-ndl .widget2 .sectionbody {
939+ body .docs-ndl .widget . banner .sectionbody {
924940 row-gap : 2rem ;
925941 }
926942
927- body .docs-ndl .widget2 .sectionbody > div {
943+ /* body.docs-ndl .widget.banner .sectionbody > div {
928944 flex: 0 1 100%;
929945 justify-content: center;
930- }
946+ } */
931947
932948 body .docs-ndl .widget3 .sectionbody {
933949 row-gap : 2rem ;
@@ -947,11 +963,6 @@ body.docs-ndl .cards .sect2 .ulist ul li {
947963 flex : 0 0 48% ;
948964 }
949965
950- body .docs-ndl .widget2 .sectionbody .sect2 ,
951- body .docs-ndl .sub .widget2 .sectionbody .sect2 {
952- flex : 0 0 48% ;
953- }
954-
955966 body .docs-ndl .widget3 .sectionbody .sect2 ,
956967 body .docs-ndl .sub .widget3 .sectionbody .sect2 {
957968 flex : 0 0 48% ;
0 commit comments