@@ -502,7 +502,6 @@ atomic-search-layout atomic-layout-section[section="search"] {
502
502
background-color : white;
503
503
border : black 1px solid;
504
504
box-shadow : 3px 3px 0px var (--color-shadow );
505
- z-index : 9999 ;
506
505
}
507
506
508
507
.product-selector p {
@@ -707,7 +706,10 @@ atomic-search-layout atomic-layout-section[section="search"] {
707
706
position : relative;
708
707
}
709
708
710
- .sidebar .sidebar-navigation .parent-collapsible-content ::before {
709
+ .sidebar
710
+ .sidebar-navigation
711
+ .parent-collapsible-content
712
+ li : not (: only-child )::before {
711
713
content : "" ;
712
714
position : absolute;
713
715
border-left : black 1px solid;
@@ -717,7 +719,11 @@ atomic-search-layout atomic-layout-section[section="search"] {
717
719
}
718
720
719
721
/* First Sidebar Nav Horizontal Lines */
720
- .sidebar .sidebar-navigation .parent-collapsible-content .parent-box ::before {
722
+ .sidebar
723
+ .sidebar-navigation
724
+ .parent-collapsible-content
725
+ li : not (: only-child )
726
+ .parent-box ::before {
721
727
content : "" ;
722
728
display : block;
723
729
border-top : black 1px solid;
767
773
.breadcrumb ol {
768
774
list-style : none;
769
775
padding : 0 ;
770
- display : flex;
776
+ display : block;
777
+
778
+ > * {
779
+ display : inline;
780
+ line-height : 25px ;
781
+ }
771
782
}
772
783
773
784
.breadcrumb li : after {
@@ -894,16 +905,33 @@ blockquote.side-callout {
894
905
}
895
906
896
907
/* Tabs */
897
-
898
908
.tabs-container {
899
- position : relative;
900
- z-index : -1 ;
901
- border-bottom : 1px solid black;
909
+ /* border-bottom: 1px solid black; */
902
910
white-space : nowrap;
903
911
904
912
/* Lines extend 1rem into gutter on both sides */
905
913
width : calc (100% + 2rem );
906
914
margin-left : -1rem ;
915
+
916
+ display : flex;
917
+ flex-direction : row;
918
+ align-items : end;
919
+
920
+ * {
921
+ flex-grow : 0 ;
922
+ }
923
+
924
+ & > : last-child {
925
+ /* Extend the last child */
926
+ flex-grow : 1 ;
927
+ }
928
+ }
929
+
930
+ .tabs-line {
931
+ display : block;
932
+ background-color : white;
933
+ border-bottom : 1px solid black;
934
+ width : 2rem ;
907
935
}
908
936
909
937
.nav-tabs {
@@ -915,7 +943,7 @@ blockquote.side-callout {
915
943
list-style : none;
916
944
display : flex;
917
945
justify-content : start;
918
- margin : 0 1 rem ;
946
+ margin : 0 ;
919
947
padding : 0 ;
920
948
921
949
> : not (: last-child ) {
@@ -925,9 +953,8 @@ blockquote.side-callout {
925
953
926
954
.nav-item {
927
955
border : 1px solid var (--color-tabs-divider );
928
- border-bottom : none ;
956
+ border-bottom : 1 px solid black ;
929
957
padding : 10px ;
930
- position : relative;
931
958
932
959
a {
933
960
text-decoration : none;
@@ -942,22 +969,12 @@ blockquote.side-callout {
942
969
/* Change the border colors of li that is has a child with a class "active" */
943
970
border-top : 1px solid black;
944
971
border-left : 1px solid black;
972
+ border-bottom : none;
945
973
946
974
/* Change the border of next child */
947
975
+ li {
948
976
border-left : 1px solid black;
949
977
}
950
-
951
- & ::after {
952
- content : "" ;
953
- position : absolute;
954
- display : block;
955
- border-bottom : 1px solid white;
956
- bottom : 0 ;
957
- left : 0 ;
958
- width : 100% ;
959
- z-index : 9999 ;
960
- }
961
978
}
962
979
963
980
.nav-item : last-child : has (.active ) {
@@ -967,10 +984,7 @@ blockquote.side-callout {
967
984
968
985
.tab-content {
969
986
border-bottom : 1px solid black;
970
-
971
- /* Lines extend 1rem into gutter on both sides */
972
- width : calc (100% + 2rem );
973
- margin-left : -1rem ;
987
+ margin-left : calc (-1 * var (--overflow-gutter-extension ));
974
988
975
989
.tab-pane {
976
990
display : none;
@@ -979,10 +993,6 @@ blockquote.side-callout {
979
993
margin-left : 1rem ;
980
994
}
981
995
982
- .tab-pane * {
983
- margin-left : 0 ;
984
- }
985
-
986
996
.active {
987
997
display : block !important ;
988
998
}
@@ -1001,22 +1011,20 @@ blockquote.side-callout {
1001
1011
}
1002
1012
1003
1013
.code-block {
1004
- grid-column : 1 ;
1014
+ position : static ;
1005
1015
}
1006
1016
1007
- .icon- code-copy {
1008
- background-color : # f2f2f2 ;
1009
- border : none ;
1010
- padding : 5 px 10 px ;
1011
- cursor : pointer;
1012
- font-family : "JetBrains Mono" , monospace;
1013
- font-size : 12 px ;
1014
- color : # 000 ;
1017
+ .code-block . code-header : not ( : has (. code-type )) {
1018
+ /* Remove margin for codeblocks without a type */
1019
+ margin-top : -1.5 rem ;
1020
+ }
1021
+
1022
+ li . code-block {
1023
+ /* For indented code blocks, move 1rem back to align code with text from heading */
1024
+ margin-left : -1 rem ;
1015
1025
}
1016
1026
1017
1027
.highlight-v2 {
1018
- padding : 0 1rem 0 0 ;
1019
- margin : 0 -1rem 1rem -1rem ;
1020
1028
border-top : 1px solid # cccccc ;
1021
1029
border-bottom : 1px solid # cccccc ;
1022
1030
overflow-x : scroll;
@@ -1026,10 +1034,8 @@ blockquote.side-callout {
1026
1034
.highlight-v2 .single-line {
1027
1035
display : flex;
1028
1036
align-items : center;
1029
- padding : 0 1rem 0 0 ;
1030
1037
border : 1px solid # cccccc ;
1031
1038
overflow-x : scroll;
1032
- width : calc (100% + (2 * var (--overflow-gutter-extension )));
1033
1039
}
1034
1040
1035
1041
.code-header {
@@ -1043,12 +1049,18 @@ blockquote.side-callout {
1043
1049
1044
1050
.code-type {
1045
1051
text-transform : uppercase;
1046
- border : 1px solid # cccccc ;
1047
- border-bottom : 1px solid white;
1048
- padding : .25rem 1rem ; /* Padding for button content */
1052
+ padding : .25rem 0.25rem ; /* Padding for button content */
1049
1053
font-size : 12px ; /* Font size */
1050
1054
z-index : 9999 ;
1051
- margin-bottom : -1px ;
1055
+ position : absolute;
1056
+ background-color : white;
1057
+ margin : -12px 0 0 1rem ;
1058
+ }
1059
+
1060
+ .code-container : hover {
1061
+ .code-copy-button {
1062
+ display : block;
1063
+ }
1052
1064
}
1053
1065
1054
1066
.code-copy-button {
@@ -1059,6 +1071,10 @@ blockquote.side-callout {
1059
1071
font-family : "JetBrains Mono" , monospace;
1060
1072
font-size : 12px ;
1061
1073
color : # 000 ;
1074
+ display : none;
1075
+ position : absolute;
1076
+ right : calc (25% + 2rem );
1077
+ margin-top : 8px ;
1062
1078
}
1063
1079
1064
1080
.code-copy-button : hover {
@@ -1081,9 +1097,11 @@ figure {
1081
1097
margin : 0 ;
1082
1098
}
1083
1099
1100
+ img ,
1084
1101
.figure-bitmap {
1085
1102
margin-bottom : 0.625rem ;
1086
1103
display : inline-block;
1104
+ width : 100% ;
1087
1105
max-width : 100% ;
1088
1106
}
1089
1107
0 commit comments