Skip to content

Commit c9d35db

Browse files
committed
add layout for kubectl reference index with search
1 parent 915c595 commit c9d35db

3 files changed

Lines changed: 477 additions & 4 deletions

File tree

assets/scss/_custom.scss

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,11 +400,11 @@ footer .row > .order-3 { flex: 0 0 16.6667%; max-width: 16.6667%; }
400400
color: $dark-text-color-1;
401401

402402
.kubeweekly-inner form p {
403-
color: $white;
403+
color: $white;
404404
}
405405

406406
a.kubeweekly-signup, a.kubeweekly-signup:hover {
407-
color: $white;
407+
color: $white;
408408
}
409409
}
410410

@@ -1113,6 +1113,25 @@ body.cid-community .community-section.community-frame .twittercol1 {
11131113
align-items: center;
11141114
}
11151115

1116+
// kubectl reference index page
1117+
#kubectl-cmd-search {
1118+
width: 50%;
1119+
}
1120+
1121+
.kubectl-reference-index {
1122+
details.kubectl-cmd-entry > summary {
1123+
cursor: pointer;
1124+
}
1125+
1126+
details.kubectl-cmd-entry:not([open]) > summary:after {
1127+
content: none;
1128+
}
1129+
1130+
.kubectl-cmd-entry.hidden {
1131+
display: none;
1132+
}
1133+
}
1134+
11161135
body.cid-community details > summary {
11171136
color: #303030;
11181137
}

0 commit comments

Comments
 (0)