Skip to content

Commit

Permalink
updated docs section style
Browse files Browse the repository at this point in the history
Signed-off-by: Nikhil <[email protected]>
  • Loading branch information
NikhilSharma03 committed Jun 3, 2021
1 parent 2f8b264 commit 46895c7
Showing 1 changed file with 44 additions and 1 deletion.
45 changes: 44 additions & 1 deletion docs/_sass/getnighthawk.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5977,7 +5977,50 @@ div.globalFooterCard.card-environment {
color: #696969;
}

.sidebar {
.sidebar {
}

.sidebar{
font-family: 'Open Sans', sans-serif;
}

.sidebar .accordion-body{
text-align: left;
color: #aaaaaa;
padding: 1rem 0;
}

.sidebar .accordion-button{
padding: 1rem 1rem 0rem 0;
}

.sidebar .accordion-button:focus{
border-color: transparent;
box-shadow: none;
}

.sidebar .accordion-button:not(.collapsed)::after{
transform: rotate(270deg);
}

.sidebar .accordion-button:not(.collapsed){
background-color: transparent;
color: inherit;
}

.sidebar .accordion-item{
padding: 1rem 0;
&:not(:last-child){
border-bottom: 3px solid #cecece;
}
}

.sidebar .accordion-button:not(.collapsed)::after{
background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.sidebar .accordion-collapse{
border:none;
}

.doc-heading {
Expand Down

0 comments on commit 46895c7

Please sign in to comment.