Skip to content

Commit 0e1490f

Browse files
committed
Adding Neils changes to the PR
1 parent 713c765 commit 0e1490f

File tree

2 files changed

+8
-46
lines changed

2 files changed

+8
-46
lines changed

preview-src/docs-ndl.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ xref:tutorials:index.adoc[All tutorials]
199199
--
200200

201201

202-
[.bottom-cards]
202+
[.cards.bottom-cards]
203203
== Other resources
204204

205205
=== Join forums and discussions

src/css/docs-ndl.css

Lines changed: 7 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ body.docs-ndl .next-steps .sectionbody ul li div.paragraph {
352352

353353
/* explainer */
354354

355-
body.docs-ndl .bottom-cards .sectionbody > div.paragraph body.docs-ndl .cards .sectionbody > div.paragraph {
355+
body.docs-ndl .cards .sectionbody > div.paragraph {
356356
display: flex;
357357
flex: 0 1 100%;
358358
}
@@ -415,24 +415,20 @@ body.docs-ndl .banner .paragraph.description {
415415

416416
/* selectable cards */
417417

418-
body.docs-ndl .bottom-cards .sect2.selectable,
419418
body.docs-ndl .cards .sect2.selectable {
420419
cursor: pointer;
421420
}
422421

423-
body.docs-ndl .bottom-cards .sect2.selectable a,
424422
body.docs-ndl .cards .sect2.selectable a {
425423
text-decoration: none;
426424
}
427425

428-
body.docs-ndl .bottom-cards .sect2.selectable a:hover,
429426
body.docs-ndl .cards .sect2.selectable a:hover {
430427
transform: scale(1.02);
431428
transition: 0.1s linear;
432429
box-shadow: 0 4px 8px 0 rgba(12, 26, 37, 0.08);
433430
}
434431

435-
body.docs-ndl .bottom-cards .sect2.selectable:hover div.description,
436432
body.docs-ndl .cards .sect2.selectable:hover div.description {
437433
text-decoration: underline;
438434
}
@@ -587,23 +583,20 @@ body.docs-ndl .sect2 {
587583
flex-direction: column;
588584
}
589585

590-
body.docs-ndl .bottom-cards .sectionbody > div.sect2 {
591-
flex: 0 1 49%;
592-
/* margin-right: 1rem; */
593-
}
594-
595586
body.docs-ndl .cards .sectionbody > div.sect2 {
596587
flex: 0 1 32%;
597588
/* margin-right: 1rem; */
598589
}
599590

591+
body.docs-ndl .cards.bottom-cards .sectionbody > div.sect2 {
592+
flex: 0 1 49%;
593+
}
594+
/* margin-right: 1rem; */
595+
600596
body.docs-ndl.explainer .sectionbody > div.sect2 {
601597
flex: 0 1 49%;
602598
}
603599

604-
body.docs-ndl .bottom-cards .sect2 > a,
605-
body.docs-ndl .bottom-cards .sect2.not-selectable,
606-
body.docs-ndl .bottom-cards:not(.selectable) .sect2,
607600
body.docs-ndl .cards .sect2 > a,
608601
body.docs-ndl .cards .sect2.not-selectable,
609602
body.docs-ndl .cards:not(.selectable) .sect2,
@@ -654,9 +647,6 @@ body.docs-ndl .header-label-container > div.labels {
654647
margin-left: auto;
655648
}
656649

657-
body.docs-ndl .bottom-cards .sect2 > a,
658-
body.docs-ndl .bottom-cards .sect2.not-selectable,
659-
body.docs-ndl .bottom-cards:not(.selectable) .sect2,
660650
body.docs-ndl .cards .sect2 > a,
661651
body.docs-ndl .cards .sect2.not-selectable,
662652
body.docs-ndl .cards:not(.selectable) .sect2,
@@ -666,7 +656,6 @@ body.docs-ndl .widget:not(.video) {
666656
border-radius: 1rem;
667657
}
668658

669-
body.docs-ndl .bottom-cards .sect2 > a,
670659
body.docs-ndl .cards .sect2 > a {
671660
color: var(--neutral-color);
672661
font-weight: var(--font-weight-normal);
@@ -678,14 +667,11 @@ body.docs-ndl.color-docs .sect2 {
678667
background: var(--color-docs);
679668
}
680669

681-
body.docs-ndl.color-docs .bottom-cards .sect2 h3,
682-
body.docs-ndl.color-docs .bottom-cards .sect2 .description,
683670
body.docs-ndl.color-docs .cards .sect2 h3,
684671
body.docs-ndl.color-docs .cards .sect2 .description {
685672
color: rgba(var(--colors-neutral-10));
686673
}
687674

688-
body.docs-ndl .bottom-cards .sect2 .paragraph,
689675
body.docs-ndl .cards .sect2 .paragraph {
690676
margin: 0;
691677
}
@@ -694,8 +680,6 @@ body.docs-ndl .cards .sect2 .paragraph {
694680
min-height: 200px;
695681
} */
696682

697-
body.docs-ndl .bottom-cards .sect2 a > h3,
698-
body.docs-ndl .bottom-cards .sect2 a > div,
699683
body.docs-ndl .cards .sect2 a > h3,
700684
body.docs-ndl .cards .sect2 a > div {
701685
margin: 0;
@@ -708,15 +692,13 @@ body.docs-ndl .sect2 a > h3 {
708692
display: flex;
709693
}
710694

711-
body.docs-ndl .bottom-cards .sect2 .icon,
712695
body.docs-ndl .cards .sect2 .icon,
713696
body.docs-ndl .widget .icon {
714697
padding: 0;
715698
margin: 0;
716699
width: 100%;
717700
}
718701

719-
body.docs-ndl .bottom-cards .sect2 .icon,
720702
body.docs-ndl .cards .sect2 .icon,
721703
body.docs-ndl .widget.banner .icon {
722704
order: 1;
@@ -725,22 +707,19 @@ body.docs-ndl .widget.banner .icon {
725707
width: 100%;
726708
}
727709

728-
body.docs-ndl .bottom-cards .sect2 .icon p,
729710
body.docs-ndl .cards .sect2 .icon p {
730711
display: flex;
731712
width: -webkit-fill-available;
732713
justify-content: space-between;
733714
}
734715

735-
body.docs-ndl .bottom-cards .sect2 .icon p div.labels,
736716
body.docs-ndl .cards .sect2 .icon p div.labels {
737717
display: flex;
738718
flex-direction: row;
739719
gap: 0.25rem;
740720
height: min-content;
741721
}
742722

743-
body.docs-ndl .bottom-cards .icon span,
744723
body.docs-ndl .cards .icon span {
745724
display: flex;
746725
}
@@ -759,14 +738,12 @@ body.docs-ndl .widget.highlights:nth-of-type(even) .openblock {
759738
/* margin-right:40px; */
760739
}
761740

762-
body.docs-ndl body.docs-ndl .bottom-cards .sect2 .icon img,
763741
body.docs-ndl body.docs-ndl .cards .sect2 .icon img {
764742
width: 4rem;
765743
height: 4rem;
766744
padding: 0;
767745
}
768746

769-
body.docs-ndl .bottom-cards.icon-l .sect2 .icon img,
770747
body.docs-ndl .cards.icon-l .sect2 .icon img {
771748
width: 6rem;
772749
height: 6rem;
@@ -784,7 +761,6 @@ body.docs-ndl .lists .sect2 .icon img path {
784761
fill: rgba(var(--colors-baltic-30));
785762
}
786763

787-
body.docs-ndl .bottom-cards .sect2 h3,
788764
body.docs-ndl .cards .sect2 h3,
789765
body.docs-ndl .lists .sect2 h3 {
790766
/* flex-grow: 1; */
@@ -794,12 +770,10 @@ body.docs-ndl .lists .sect2 h3 {
794770
width: -webkit-fill-available;
795771
}
796772

797-
body.docs-ndl .bottom-cards .sect2 h3 .anchor::before,
798773
body.docs-ndl .cards .sect2 h3 .anchor::before {
799774
display: none;
800775
}
801776

802-
body.docs-ndl .bottom-cards .sect2 .paragraph:not(.icon),
803777
body.docs-ndl .cards .sect2 .paragraph:not(.icon) {
804778
font-size: var(--font-size-body-medium);
805779
line-height: 1.5;
@@ -817,24 +791,20 @@ body.docs-ndl .cards .sect2 .paragraph:not(.icon) {
817791
/* flex-grow: 1; */
818792
}
819793

820-
body.docs-ndl .bottom-cards .sect2.selectable .paragraph.link,
821794
body.docs-ndl .cards .sect2.selectable .paragraph.link {
822795
display: none;
823796
}
824797

825-
body.docs-ndl .bottom-cards:not(.selectable) .sect2 .paragraph.link,
826798
body.docs-ndl .cards:not(.selectable) .sect2 .paragraph.link {
827799
margin-top: auto;
828800
}
829801

830-
body.docs-ndl .bottom-cards:not(.selectable) .sect2 .paragraph.link a,
831802
body.docs-ndl .cards:not(.selectable) .sect2 .paragraph.link a {
832803
font-weight: 500;
833804
margin-right: 1rem;
834805
/* text-decoration: none; */
835806
}
836807

837-
body.docs-ndl .bottom-cards .sect2 .paragraph.category,
838808
body.docs-ndl .cards .sect2 .paragraph.category {
839809
display: none;
840810
}
@@ -852,7 +822,6 @@ body.docs-ndl .highlights a {
852822
}
853823

854824
body.docs-ndl .highlights a::after,
855-
body.docs-ndl .bottom-cards .link a::after,
856825
body.docs-ndl .cards .link a::after {
857826
margin-left: 0.5rem;
858827
content: "→";
@@ -868,7 +837,6 @@ body.docs-ndl .highlights a::after {
868837
float: right;
869838
}
870839

871-
body.docs-ndl .bottom-cards .sect2 .ulist,
872840
body.docs-ndl .cards .sect2 .ulist {
873841
display: inline-flex;
874842
order: 4;
@@ -878,12 +846,10 @@ body.docs-ndl .cards .sect2 .ulist {
878846
text-align: left;
879847
}
880848

881-
body.docs-ndl .bottom-cards .sect2 .ulist ul,
882849
body.docs-ndl .cards .sect2 .ulist ul {
883850
padding: 0;
884851
}
885852

886-
body.docs-ndl .bottom-cards .sect2 .ulist ul li,
887853
body.docs-ndl .cards .sect2 .ulist ul li {
888854
list-style-type: none;
889855
margin: 0.5rem 0 0;
@@ -910,12 +876,10 @@ body.docs-ndl .cards .sect2 .ulist ul li {
910876
z-index: 30;
911877
}
912878

913-
body.docs-ndl .bottom-cards .sectionbody > div.sect2,
914879
body.docs-ndl .cards .sectionbody > div.sect2 {
915880
flex: 0 1 49%;
916881
}
917882

918-
body.docs-ndl.explainer .bottom-cards .sect2 h3,
919883
body.docs-ndl.explainer .cards .sect2 h3 {
920884
text-align: left;
921885
}
@@ -981,18 +945,16 @@ body.docs-ndl .cards .sect2 .ulist ul li {
981945
align-items: center;
982946
}
983947

984-
body.docs-ndl.explainer .bottom-cards .sect2 > a,
985948
body.docs-ndl.explainer .cards .sect2 > a {
986949
align-items: flex-start;
987950
padding: 1rem;
988951
}
989952

990-
body.docs-ndl.explainer .bottom-cards .sect2 .paragraph:not(.icon),
991953
body.docs-ndl.explainer .cards .sect2 .paragraph:not(.icon) {
992954
text-align: left;
993955
}
994956

995-
body.docs-ndl .bottom-cards .sectionbody > div.sect2,
957+
body.docs-ndl .cards.bottom-cards .sectionbody > div.sect2,
996958
body.docs-ndl .cards .sectionbody > div.sect2 {
997959
/* min-width: 90%; */
998960
flex: 1 1 100%;

0 commit comments

Comments
 (0)